几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】ell The Renderer The World Clip-limits (http://www.dimcax.com/hust/showthread.php?t=18708)

yang686526 2009-05-07 04:38 PM

【转帖】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.