HP (Hewlett-Packard) NW280AAABA Calculator User Manual


 
538 Programming in HP PPL
Pixels and Cartesian
ARC_P
ARC Syntax; ARC(G, x, y, r [ , a1, a2, c])
ARC_P(G, x, y, r [ , a1, a2, c])
Draws an arc or circle on G, centered on point x,y, with
radius r and color c starting at angle a1 and ending on
angle a2.
G can be any of the graphics variables and is optional.
The default is G0
r is given in pixels.
c is optional and if not specified black is used. It should
be specified in this way: #RRGGBB (in the same way as
a color is specified in HTML).
a1 and a2 follow the current angle mode and are
optional. The default is a full circle.
Example:
ARC(0,0,60,0,,RGB(255,0,0)) draws a red
semicircle with center at (0,0)—using the current Plot
Setup window—and with a radius of 60 pixels. The
semicircle is drawn counterclockwise from 0 to .
BLIT_P
BLIT Syntax: BLIT([trgtGRB, dx1, dy1, dx2, dy2],
srcGRB [ ,sx1, sy1, sx2, sy2, c])
BLIT_P ([trgtGRB, dx1, dy1, dx2, dy2 ],
srcGRB [ ,sx1, sy1, sx2, sy2, c])
Copies the region of srcGRB between point sx1, sy1 and
sx2, sy2 into the region of trgtGRB between points dx1,
dy1 and dx2, dy2. Do not copy pixels from srcGRB that
are color c.
trgtGRB can be any of the graphics variables and is
optional. The default is G0.
srcGRB can be any of the graphics variables.
dx2, dy2 are optional and if not specified will be
calculated so that the destination area is the same size as
the source area.