![]() |
【转帖】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! |
所有的时间均为北京时间。 现在的时间是 11:30 PM. |