TextRectangle coordinates

Posted by WillFa on Sun 31 Aug 2008 08:41 AM — 4 posts, 18,421 views.

USA #0
Where does TextRectangle measure from?

createwindow with position=8
TextRectangle(0,0, -1* miniwindowWidth, -1 * miniwindowHeight , ......)

seems to be off by about +7 pixels underlapping (? the opposite of overlap :)) the miniwindow.
Australia Forum Administrator #1
My measuring seemed to show it was accurate. Did you have a border offset of 7?
USA #2
Ahh, yea. thanks.
I was expecting top,left,width,height to denote the coordinates of the border, not the text placement.

i.e. 10,10,-10,-10, 5 would have 10 pixels of fill desktop, and text starting at 15,15. Not 5 pixels with text at 10,10.

Australia Forum Administrator #3
The text rectangle coordinates are literally the amount of room allocated to the text.