Text.Locate by Pixels?
Author |
Message |
Daavii
|
Posted: Fri Jan 16, 2009 9:24 am Post subject: Text.Locate by Pixels? |
|
|
Any possible way to locate text using pixels! PLEASE???? |
|
|
|
|
|
Sponsor Sponsor
|
|
|
DemonWasp
|
Posted: Fri Jan 16, 2009 10:02 am Post subject: RE:Text.Locate by Pixels? |
|
|
Not using Text.Locate, which is only for rows/columns. If you want pixel-aligned programmatic text, you'll need to look into the Font package. The Font package operates similarly to the Pic package: you create a font with Font.New or similar, which returns an id number; subsequently, you can use that Font to draw whatever text wherever you want. |
|
|
|
|
|
Euphoracle
|
Posted: Fri Jan 16, 2009 4:09 pm Post subject: RE:Text.Locate by Pixels? |
|
|
Turing: | locatexy(24, 67) % Using this
put "Delicious cake!"
|
|
|
|
|
|
|
DanielG
|
Posted: Fri Jan 16, 2009 6:58 pm Post subject: RE:Text.Locate by Pixels? |
|
|
the above works, however, it doesn't point to the exact one, it rounds and places in the nearest row and column. if you really want to get it to be perfect based on x and y coordinates then you should probably be using turing "font" (look it up F10) |
|
|
|
|
|
|
|