高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】new to directdwg rendering questions
new to directdwg: rendering questions
new to directdwg: rendering questions
i抳e looked through the dwgdirect.chm help file and the win32 dd_nonlibs examples. the help file has some useful information, but is mostly full of prototypes that have no explanation. the examples provide some information, but i feel like i抦 reverse engineering and am left guessing on what should and shouldn抰 be done, and why. is there some other documentation that i抦 missing?
here抯 a little background. i抦 working on an application that will run on both win32 and linux. i need to render a dwg file (facility maps) for display purposes only. i will need to pan and zoom.
so far, i抳e been able to load a dwg file. that抯 the easy part. now i need to render it. the examples override a number of functions, but i抳e read in the forums that only polylinedc() and polygondc() should be overridden. is that true? does that cover fonts too? because of the platforms that i抣l be developing for, it looks like i抣l be using opengl to render. the exgsopengldevice class overrides polyline() and polygon(), not polylinedc() and polygondc(). is that what should be done for an opengl rendering device?
basically, what class functions do i need to override to render?
any help would be greatly appreciated.
last edited by jhamilton; 12th january 2004 at 04:42 pmfff">.
|