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:
Mattia Barbon
2009-10-18 17:47:01 +00:00
parent c06957daf1
commit 1058f65203
33 changed files with 606 additions and 4 deletions

View File

@@ -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;