几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】are odgsviewfieldwidth90 and odgsviewfieldheight90 ok (http://www.dimcax.com/hust/showthread.php?t=15126)

yang686526 2009-05-04 04:09 PM

【转帖】are odgsviewfieldwidth90 and odgsviewfieldheight90 ok
 
are odgsview::fieldwidth() and odgsview::fieldheight() ok?
are odgsview::fieldwidth() and odgsview::fieldheight() ok?
it seems to me that the fieldheight() method returns the actual width and fieldwidth() method returns the height?
sorry if it is me that has the error and the software is ok.
i just want to know if someone else has similar problem?
regards
chudomir
i made my window very wide ...and my height very small and ran
const odgsview* pfrom = m_pdevice->viewat( 0 );
double ht = pfrom->fieldheight();
double wd = pfrom->fieldwidth();
with results of
width: 76.170731707317
height: 9.0
thank you for your reply.
now i receive the actual view width and height by other way; may be its my problem with onsize or similar. anyway, sorry if losed your time.
best regards
chudomir


所有的时间均为北京时间。 现在的时间是 06:48 AM.