Intermec ck1 Reference Guide
Chapter 5 — Nano-X APIs
260
CK1 SDK Programmer’s Reference Manual
GrArc () (continued)
GR_COORD y,
GR_SIZE rx,
GR_SIZE ry,
GR_COORD ax,
GR_COORD ay,
GR_COORD bx,
GR_COORD by,
int type);
GR_SIZE rx,
GR_SIZE ry,
GR_COORD ax,
GR_COORD ay,
GR_COORD bx,
GR_COORD by,
int type);
Parameters: id
Identification of the drawable to draw the arc on
gc
Graphics context to use when drawing the arc
x
X coordinate to draw the arc at relative to the drawable
y
Y coordinate to draw the arc at relative to the drawable
rx
Radius of the arc on the X axis
ry
Radius of the arc on the Y axis
ax
X coordinate of the start of the arc relative to the drawable
ay
Y coordinate of the start of the arc relative to the drawable
bx
X coordinate of the end of the arc relative to the drawable
by
Y coordinate of the end of the arc relative to the drawable
type Fill style to use when drawing the arc
GrArcAngle ()
Purpose: Draw an arc with the specified dimensions at the specified position on the
specified drawable using the specified graphics context. The type specifies
the fill type. Possible values include GR_ARC and GR_PIE. This function
requires floating point support and is slightly slower than the GrArc()
function, which does not require floating point support.
the fill type. Possible values include GR_ARC and GR_PIE. This function
requires floating point support and is slightly slower than the GrArc()
function, which does not require floating point support.
Syntax:
void GrArcAngle (GR_DRAW_ID id,
GR_GC_ID gc,
GR_COORD x,
GR_COORD y,
GR_SIZE rx,
GR_SIZE ry,
GR_COORD angle1,
GR_COORD angle2,
int type);
GR_COORD x,
GR_COORD y,
GR_SIZE rx,
GR_SIZE ry,
GR_COORD angle1,
GR_COORD angle2,
int type);
Parameters: id
Identification of the drawable to draw the arc on
gc
Graphics context to use when drawing the arc
x
X coordinate to draw the arc at relative to the drawable
y
Y coordinate to draw the arc at relative to the drawable
rx
Radius of the arc on the X axis