![]() |
【转帖】odgsbasevectorizeviewupdate90 and modelspace
odgsbasevectorizeview::update() and modelspace
odgsbasevectorizeview::update() and modelspace hi, i'm in cworlddraw::update() and cworlddraw derives from odgsbasevectorizeview. how can i get information if it's modelspace drawing or paperspace or viewport embeded in paperspace? i wanted to disable clipping when drawing anything but viewport embeded in paperspace. now (as in odvectoriseex) while drawing modelspace it is clipped to *active view... tia best regards, michał Śliwka last edited by sliwka; 29th december 2005 at 03:55 amfff">. quote: how can i get information if it's modelspace drawing or paperspace or viewport embeded in paperspace? there is no such way. quote: i wanted to disable clipping when drawing anything but viewport embeded in paperspace. now (as in odvectoriseex) while drawing modelspace it is clipped to *active view... 1) remove lines code: pushclipboundary(&m_eyeclip); popclipboundary(); from your update function. these lines exists in exsimpleview::update(). then you can apply viewport-clipping in some device-dependent manner (stencil, etc). 2) if you want to disable applying the xclips also, you should override odgsbasevectorizeview::pushclipboundary and odgsbasevectorizeview::popclipboundary by function with empty body. sincerely yours, george udov last edited by george udov; 29th december 2005 at 07:12 amfff">. |
| 所有的时间均为北京时间。 现在的时间是 06:36 AM. |