查看单个帖子
旧 2009-05-07, 04:38 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】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...
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)