高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】size Of Autocad Data1
size of autocad data!
size of autocad data!
hello,
i have a conceptual problem. i am using the odvectorizeex example.
first, i need the autocad data as it is. for example, a line that is drawn 1 meter long in autocad, i want it drawn 1 meter long in my application. how can i get the autocad data as it is.
1) what is the role of different co-ordinate systems (paper space, model space, wcs, eye co-ordinate systems and others?)
2) what is the role of different transformations done in the exsimpleview::update method of the essimpledevice.cpp file.
3) what is the role of the p-device->onsize() method ? different values of rectangle sizes passed to this method results in different co-ordinates of the returned geometry and hence change the basic size of the autocad objects.
secondly, the size of the window in my application is much smaller than autocad. for example, if the x-co-ordinates range from 0 to 100 in autocad then in my application they range from 0 to 20. how can i map the autocad data to this smaller area but still retains the basic sizes of the geometery?
i would be highly grateful to any reply.
with best regards,
faisal.
|