Post Reply 
TEXTOUT_P
09-07-2017, 09:09 AM
Post: #2
RE: TEXTOUT_P
Syntax:
TEXTOUT_P(text, [G], x, y, [font], [textColor], [width], [backgroundColor])

Draws text on graphic G at position (x, y) using font and textColor. Paints the background before drawing the text using color backgroundColor. If width is specified, does not draw text more than width pixels wide. If backgroundColor is not specified, the background is not erased.

The sizes for font are:

0=current font (default)
1=font 10
2=font 12 (Small)
3=font 14 (Medium)
4=font 16 (Large)
5=font 18
6=font 20
7=font 22

Returns the X coordinate at which the next character of the string should be drawn if the string had more characters

Examples:
TEXTOUT_P("Hello HP Prime",100,100,4,RGB(255,0,0),200,RGB(0,255,255)); FREEZE
__$Demo_PISERIES_P
Arno
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
TEXTOUT_P - webmasterpdx - 09-07-2017, 08:43 AM
RE: TEXTOUT_P - Arno K - 09-07-2017 09:09 AM
RE: TEXTOUT_P - webmasterpdx - 09-07-2017, 10:10 AM
RE: TEXTOUT_P - DrD - 09-07-2017, 11:13 AM
RE: TEXTOUT_P - webmasterpdx - 09-07-2017, 11:29 PM
RE: TEXTOUT_P - toml_12953 - 09-08-2017, 12:32 AM
RE: TEXTOUT_P - DrD - 09-08-2017, 10:14 AM
RE: TEXTOUT_P - webmasterpdx - 09-08-2017, 06:10 AM
RE: TEXTOUT_P - cyrille de brébisson - 09-11-2017, 05:17 AM



User(s) browsing this thread: 1 Guest(s)