![]() |
【转帖】ell The Renderer The World Clip-limits
tell the renderer the world clip-limits
tell the renderer the world clip-limits hello, i have been experimenting with the wingdi module, and i'm sure i will be able to get the libraries to draw on my own offscreen dc (see my earlier messages). i wonder however how i can tell the vectorizer what the world-clipping limits are. i sometimes need only to redraw a small rectangle (in pixel space) of the intire (only 2d) dwg. because of a change in dredge colors in a small rectange, only that small part of the dwg needs to be redrawn. it would be much more efficient if only the part of the drawing mapping to the rectangle in pixel space mentioned above is vectorized. looking through the documentation i could not find the function i need. any suggestions? regards, jeroen. hi, unfortunately, appropriate functions for that in wingdi.gs - void odgsdevice::invalidate(const odgsdcrect& rect), void odgsview::invalidate(const odgsdcrect &rect) are implemented to invalidate (and redraw then) only entire view area. world clip limits does this mean that it is implemented in other vectorizer (like winbitmap, winopengl or windirectx)? no, this functionality is common for any rasterizer gs and it is not implemented in general... |
所有的时间均为北京时间。 现在的时间是 05:22 AM. |