|
Post by powersoft on Oct 24, 2015 11:15:37 GMT -8
Hi all,
I wont to use GD.cmd_text, and align the text from the left. Can't figure out how to do that. Please can you help me with this.
Cheers,
Jan
|
|
|
Post by jamesbowman on Oct 29, 2015 10:08:41 GMT -8
Yes, you can do left-justified:
GD.cmd_text(240, 136, 31, 0, "Hello world"); centered, so text is centered on (240, 136):
GD.cmd_text(240, 136, 31, OPT_CENTERX, "Hello world"); right-justified, so text is all before (240,136):
GD.cmd_text(240, 136, 31, OPT_RIGHTX, "Hello world");
|
|