查看单个帖子
旧 2009-05-06, 09:36 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】panning problem

panning problem
panning problem
i've written a program using dwgdirect. it displays dxf/dwg files and can pan and zoom. it has worked fine with many, many files.
now i've got this file: i try to pan down and the image shifts left. i try to pan left and the image shifts up. pan up, shifts right. pan right, shifts down.
as far as i can tell my code is doing what i expect it to and, as i said, the program works correctly on many other files. so, i expect there's something goofy about this file.
can anyone take a look at this file or point me toward a tool to figure out if there's anything odd about this file?
thanks!
phil
model space viewport has non-zero twist angle (rotated about 270 degrees). your program does not take it into consideration.
btw, odamfcapp pans this drawing correctly.
sergey slezkin
quote:
originally posted by sergey slezkin
model space viewport has non-zero twist angle (rotated about 270 degrees). your program does not take it into consideration.
btw, odamfcapp pans this drawing correctly.
great, that's exactly what i was looking for - thanks!
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)