Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ Beta testing
➜ TextRectangle coordinates
TextRectangle coordinates
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| WillFa
USA (525 posts) Bio
|
Date
| Sun 31 Aug 2008 08:41 AM (UTC) |
Message
| 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. | Top |
|
Posted by
| Nick Gammon
Australia (23,158 posts) Bio
Forum Administrator |
Date
| Reply #1 on Mon 01 Sep 2008 06:08 AM (UTC) |
Message
| My measuring seemed to show it was accurate. Did you have a border offset of 7? |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| WillFa
USA (525 posts) Bio
|
Date
| Reply #2 on Mon 01 Sep 2008 06:24 AM (UTC) |
Message
| 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.
| Top |
|
Posted by
| Nick Gammon
Australia (23,158 posts) Bio
Forum Administrator |
Date
| Reply #3 on Mon 01 Sep 2008 06:28 AM (UTC) |
Message
| The text rectangle coordinates are literally the amount of room allocated to the text. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
14,915 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top