Two functions in one, and relative to 0,0

0 views
Skip to first unread message

John Bridges

unread,
Mar 18, 2008, 1:52:29 PM3/18/08
to after...@googlegroups.com
New build of AfterGRASP is up for download:

http://www.aftergrasp.com/download/agsetup_20080318.exe

----------------------------------------------------------------------------
Tue, 18 March 2008

New commands TEXTLINESXYFROM and TEXTSTRPOSITIONXYFROM. They are identical
to TEXTLINESFROM and TEXTSTRPOSITIONFROM except they also return a
character XY position array exactly like TEXTLINESXY and TEXTSTRPOSITIONXY.
The XY positions in the result are relative to the current drawregion.
This makes the results identical to those provided by TEXTLINESXY and
TEXTSTRPOSITIONXY which have no idea of window coordinates since they
do not draw anything, just calculate text positions relative to a starting
point of 0,0.


XYARRAY = TEXTLINESXYFROM(TEXTSTRING, STARTLINE)
XYARRAY = TEXTLINESXYFROM(TEXTSTRING, STARTLINE, LINECOUNT)
XYARRAY = TEXTSTRPOSITIONXYFROM(TEXTSTRING, STARTSTRPOSITION)
XYARRAY = TEXTSTRPOSITIONXYFROM(TEXTSTRING, STARTSTRPOSITION, ENDSTRPOSITION)

----------------------------------------------------------------------------

Reply all
Reply to author
Forward
0 new messages