C++
ACCORE_PORT bool acedCoordFromPixelToWorld( int windnum, CPoint ptIn, acedDwgPoint ptOut );
File
core_rxmfcapi.h
Description
Converts coordinates from AutoCAD drawing window to current active viewport's coordinates.
Returns TRUE if it successfully converts the coordinates; otherwise, it returns FALSE.
Parameters
Parameters | Description |
---|---|
windnum | Viewport number |
ptIn | AutoCAD drawing window coordinates in Windows' client coordinates. The origin is at upper left corner. |
ptOut | AutoCAD coordinates at given client coordinates. The origin is at lower left corner. The Z coordinate value is always zero. |