Intermec ck1 Reference Guide
Chapter 5 — Nano-X APIs
258
CK1 SDK Programmer’s Reference Manual
GrFillRect () (continued)
y
Y coordinate of the rectangle relative to the drawable
width
Width of the rectangle
height
Height of the rectangle
GrPoly ()
Purpose: Draw an unfilled polygon on the specified drawable using the specified
graphics context. The polygon is specified by an array of point structures.
The polygon is not automatically closed. If a closed polygon is desired, the
last point must be the same as the first.
The polygon is not automatically closed. If a closed polygon is desired, the
last point must be the same as the first.
Syntax:
void GrPoly (GR_DRAW_ID id,
GR_GC_ID gc,
GR_COUNT count,
GR_POINT *pointtable);
GR_COUNT count,
GR_POINT *pointtable);
Parameters: id
Identification of the drawable to draw the polygon on
gc
Identification of the graphics context to use when drawing
the polygon
the polygon
count
Number of points in the point array
pointtable
Pointer to an array of points describing the polygon
GrFillPoly ()
Purpose: Draw a filled polygon on the specified drawable using the specified
graphics context. The polygon is specified by an array of point structures.
The polygon is automatically closed. The last point need not be the same
as the first in order for the polygon to be closed.
The polygon is automatically closed. The last point need not be the same
as the first in order for the polygon to be closed.
Syntax:
void GrFillPoly (GR_DRAW_ID id,
GR_GC_ID gc,
GR_COUNT count,
GR_POINT *pointtable);
GR_COUNT count,
GR_POINT *pointtable);
Parameters: id
Identification of the drawable to draw the polygon on
gc
Identification of the graphics context to use when drawing the
polygon
polygon
count
Number of points in the point array
pointtable Pointer to an array of points describing the polygon