transparency level. You can use a vector of points instead of a list; in this case, the points can be expressed as
complex numbers.
Example:
FILLPOLY_P({(20,20), (100, 20), (100, 100), (20, 100)}, #FF, 128) draws a
square, 80 pixels on a side, near the upper left of the display, using the color purple and transparency level
128.
GETPIX_P, GETPIX
Syntax: GETPIX([G], x, y)
Syntax: GETPIX_P([G], x, y)
Returns the color of the pixel G with coordinates x,y.
G can be any of the graphics variables and is optional. The default is G0, the current graphic.
GROBH_P, GROBH
Syntax: GROBH(G)
Syntax: GROBH_P(G)
Returns the height of G.
G can be any of the graphics variables and is optional. The default is G0.
GROBW_P, GROB
Syntax: GROBW(G)
Syntax: 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])
Syntax: 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 specied will be the bottom right of the graphic.
x1, y1 are optional and if not specied will be the top left of the graphic. If only one x,y pair is specied, it
refers to the top left.
LINE_P, LINE
Syntax: LINE_P([G], x1, y1, x2, y2, [color])
Syntax: 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])
Syntax: LINE_P([G],pre_rotated_points, line_definitions, [zstring])
Program commands 595
Komentarze do niniejszej Instrukcji