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

yang686526 2009-05-07 03:03 PM

【转帖】rendering With Dwgdirec
 
rendering with dwgdirect
rendering with dwgdirect
we just joined. i'm tasked with replacing a lousy in-house code library with dwgdirect. we basically just need to read and display a drawing file. ours is an mfc app, but we don't use the document/view architecture, so i think the odamfcapp example is of limited use to us. before, we read the file into our data structures and if that didn't crash, then we looped through and drew things to the window. until rendering is implemented in dwgdirect, i think we'll have to take a similar approach - traverse the database and draw what we find. does anyone know of some sample code for an mfc app that doesn't use document/view and that does do drawing? also, is there any documentation/explanations of any of the example code, like the odreadex example?
thanks.
michael

currently, the example programs in nonlibs.zip are all that we have available. we will be adding to the documentation for the sample programs in the near future.


所有的时间均为北京时间。 现在的时间是 11:38 PM.