![]() |
【转帖】i need to know the way on how to set up clipping region
i need to know the way on how to set up clipping region .
i need to know the way on how to set up clipping region . i use the program of dwgdirect 1.10 at present. i hope to update of the odgsbasevectorizeview after set up of the clipping region in a function as the exgdivectorizeview::update() of the [dd_nonlibs\exrender]. but the example file(exgdivectorizeview::update()) get to be updated with don't set up of the clipping region because this example file fix as the m_pviewportclip->set(0, 0, false, 0.0, false, 0.0);. so i modified the above problem to the followings. /////////////////////////////////////////////////////////////////// // test rectangular & polygonal clip boundaries. odgepoint2darray pts; pts.resize(2); pts[0] = odgepoint2d(0, 0); pts[1] = odgepoint2d(600, 800); m_pviewportclip->set(pts, false, 0.0, false, 0.0); /////////////////////////////////////////////////////////////////// there is error at the odgsbasevectorizeview::update(); after modification. therefore i need to know the way on how to set up clipping region . you'd fogotten m_pviewportclip->setdrawcontext(drawcontext()); |
所有的时间均为北京时间。 现在的时间是 03:39 AM. |