高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】newbie zooming to world coordinates
newbie : zooming to world coordinates
newbie : zooming to world coordinates
all
i have recently downloaded the dd 1.13 and i am starting to use. i used the opendwg libraries before and wrote most of the viewing code myself. using the latest version seem great, but i need some additional information.
i would like to implement a zoomtorectangle function that will take world coordinates and then zoom to those. i have managed to implemement a version of the function getworldpoint as part of the odmfcapp sample to convert screen coordinates to world coordinates. the zoom function in the sample takes two screen points and the zooms to that. what i need is a function that will take world coordinates and then zoom to that. i am sure it is available, but just cannot find it.
regards
anton heymann
please ignore this post. i was being thick. there are a number of methods possible to achieve what i want e.g. setview etc.
thanks
|