Copy wxPerl notes from the LaTeX documentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -163,6 +163,11 @@ public:
|
||||
10) and so the call to CalcScrolledPosition(0, 10, xx, yy) will return
|
||||
0 in yy.
|
||||
|
||||
@beginWxPerlOnly
|
||||
In wxPerl this method takes two parameters and returns a
|
||||
2-element list (xx, yy).
|
||||
@endWxPerlOnly
|
||||
|
||||
@see CalcUnscrolledPosition()
|
||||
*/
|
||||
void CalcScrolledPosition(int x, int y, int* xx, int* yy) const;
|
||||
@@ -174,6 +179,11 @@ public:
|
||||
10) and so the call to CalcUnscrolledPosition(0, 0, xx, yy) will return
|
||||
10 in yy.
|
||||
|
||||
@beginWxPerlOnly
|
||||
In wxPerl this method takes two parameters and returns a
|
||||
2-element list (xx, yy).
|
||||
@endWxPerlOnly
|
||||
|
||||
@see CalcScrolledPosition()
|
||||
*/
|
||||
void CalcUnscrolledPosition(int x, int y, int* xx, int* yy) const;
|
||||
@@ -283,6 +293,11 @@ public:
|
||||
@param yUnit
|
||||
Receives the number of pixels per vertical unit.
|
||||
|
||||
@beginWxPerlOnly
|
||||
In wxPerl this method takes no parameters and returns a
|
||||
2-element list (xUnit, yUnit).
|
||||
@endWxPerlOnly
|
||||
|
||||
@see SetScrollbars(), GetVirtualSize()
|
||||
*/
|
||||
void GetScrollPixelsPerUnit(int* xUnit, int* yUnit) const;
|
||||
@@ -304,6 +319,11 @@ public:
|
||||
to pixels you will have to multiply by the number of pixels per scroll
|
||||
increment.
|
||||
|
||||
@beginWxPerlOnly
|
||||
In wxPerl this method takes no parameters and returns a
|
||||
2-element list (x, y).
|
||||
@endWxPerlOnly
|
||||
|
||||
@see SetScrollbars(), Scroll()
|
||||
*/
|
||||
void GetViewStart(int* x, int* y) const;
|
||||
@@ -327,6 +347,11 @@ public:
|
||||
@remarks Use wxDC::DeviceToLogicalX() and wxDC::DeviceToLogicalY() to
|
||||
translate these units to logical units.
|
||||
|
||||
@beginWxPerlOnly
|
||||
In wxPerl this method takes no parameters and returns a
|
||||
2-element list (xUnit, yUnit).
|
||||
@endWxPerlOnly
|
||||
|
||||
@see SetScrollbars(), GetScrollPixelsPerUnit()
|
||||
*/
|
||||
void GetVirtualSize(int* x, int* y) const;
|
||||
|
Reference in New Issue
Block a user