Manual

540 Programming in HP PPL
GROBW_P
GROBW Syntax: GROBW(G)
GROBW_P(G)
Returns the width of G.
G can be any of the graphics variables and is optional.
The default is G0.
INVERT_P
INVERT Syntax: INVERT([G, x1, y1, x2, y2])
INVERT_P([G, x1, y1, x2, y2])
Executes a reverse video of the selected region. G can be
any of the graphics variables and is optional. The default
is G0.
x2, y2 are optional and if not specified will be the bottom
right of the graphic.
x1, y1 are optional and if not specified will be the top left
of the graphic. If only one x,y pair is specified, it refers to
the top left.
LINE_P
LINE Syntax: LINE(G, x1, y1, x2, y2, c)
LINE_P(G, x1, y1, x2, y2, c)
Draws a line of color c on G between points x1,y1 and
x2,y2.
G can be any of the graphics variables and is optional.
The default is G0.
c can be any color specified as #RRGGBB. The default is
black.
PIXOFF_P
PIXOFF Syntax: PIXOFF([G], x, y)
PIXOFF_P([G], x, y)
Sets the color of the pixel G with coordinates x,y to white.
G can be any of the graphics variables and is optional.
The default is G0, the current graphic