几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】speed Regeneration Screen And Supportpartialupdate90 (http://www.dimcax.com/hust/showthread.php?t=18646)

yang686526 2009-05-07 04:16 PM

【转帖】speed Regeneration Screen And Supportpartialupdate90
 
speed regeneration screen and supportpartialupdate()
speed regeneration screen and supportpartialupdate()
hi all!
how to use partial update screen in dwgdirect?
i find two function
code:
dwgdirect\extensions\exrender\win\exgsgdivectorizedevice.cpp
bool exgsgdivectorizedevice::supportpartialupdate() const
{
return true;
}
dwgdirect\source\gs\gsbasevectorizer.cpp
bool odgsbasevectorizedevice::supportpartialupdate() const
{
return false;
}but i don't how to use it.
i think work full redraw sсreen in default.
last edited by aziyatdinov@infrasoft.ru; 21st january 2009 at 07:10 amfff">.

the partial update functionality is completely rendering device dependent. this two overrides only instructs odgsbasevectorizedevice/view does current device support's partial update. partial update tehnique may be different in different vectorize devices.
you can see examples of partial update implementation in some dd render devices.
following dd vectorizers support partial update: windirectx, opengl and wingdi
following dd vectorizers not support partial update: winbitmap


所有的时间均为北京时间。 现在的时间是 10:04 AM.