From: Vadim Zeitlin Date: Wed, 3 Sep 2008 20:28:38 +0000 (+0000) Subject: better documentation of DeviceToLogicalXXX() (#9896) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/63408203cd8e062460abe046222bcbf4d82f1068 better documentation of DeviceToLogicalXXX() (#9896) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/interface/wx/dc.h b/interface/wx/dc.h index 1b4806a566..aace4a77c2 100644 --- a/interface/wx/dc.h +++ b/interface/wx/dc.h @@ -159,27 +159,27 @@ public: /** Convert device X coordinate to logical coordinate, using the current - mapping mode. + mapping mode, user scale factor, device origin and axis orientation. */ virtual wxCoord DeviceToLogicalX(wxCoord x); /** Convert device X coordinate to relative logical coordinate, using the - current mapping mode but ignoring the x axis orientation. Use this - function for converting a width, for example. + current mapping mode and user scale factor but ignoring the + axis orientation. Use this for converting a width, for example. */ virtual wxCoord DeviceToLogicalXRel(wxCoord x); /** Converts device Y coordinate to logical coordinate, using the current - mapping mode. + mapping mode, user scale factor, device origin and axis orientation. */ virtual wxCoord DeviceToLogicalY(wxCoord y); /** Convert device Y coordinate to relative logical coordinate, using the - current mapping mode but ignoring the y axis orientation. Use this - function for converting a height, for example. + current mapping mode and user scale factor but ignoring the + axis orientation. Use this for converting a height, for example. */ virtual wxCoord DeviceToLogicalYRel(wxCoord y); @@ -764,27 +764,27 @@ public: /** Converts logical X coordinate to device coordinate, using the current - mapping mode. + mapping mode, user scale factor, device origin and axis orientation. */ virtual wxCoord LogicalToDeviceX(wxCoord x); /** Converts logical X coordinate to relative device coordinate, using the - current mapping mode but ignoring the x axis orientation. Use this for - converting a width, for example. + current mapping mode and user scale factor but ignoring the + axis orientation. Use this for converting a width, for example. */ virtual wxCoord LogicalToDeviceXRel(wxCoord x); /** Converts logical Y coordinate to device coordinate, using the current - mapping mode. + mapping mode, user scale factor, device origin and axis orientation. */ virtual wxCoord LogicalToDeviceY(wxCoord y); /** Converts logical Y coordinate to relative device coordinate, using the - current mapping mode but ignoring the y axis orientation. Use this for - converting a height, for example. + current mapping mode and user scale factor but ignoring the + axis orientation. Use this for converting a height, for example. */ virtual wxCoord LogicalToDeviceYRel(wxCoord y);