beautypg.com

HP Prime Graphing Wireless Calculator User Manual

Page 285

background image

Programming in HP PPL

281

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_P([G], x1, y1, x2, y2, [color])

LINE_P([G],points_definition, lines_definitions,

otation_matrix or {rotation_matrix or -1, ["N"],
[{eye_x, eye_y, eye_z} or -1], [{3Dxmin, 3Dxmax,
3Dymin, 3Dymax, 3Dzmin, 3Dzmax}]}, [zstring])
LINE_P([G],pre_rotated_points, line_definitions,

[zstring])

LINE([G], x1, y1, x2, y2, [color])

LINE([G],points_definition, lines_definitions,

otation_matrix or {rotation_matrix or -1, ["N"],
[{eye_x, eye_y, eye_z} or -1], [{3Dxmin, 3Dxmax,
3Dymin, 3Dymax, 3Dzmin, 3Dzmax}]}, [zstring])

LINE([G],pre_rotated_points, line_definitions,

[zstring])

The basic form of LINE_P draws one line between
specified pixel coordinates in the graphic using the
specified color.