Intermec ck1 Reference Guide
Chapter 5 — Nano-X APIs
CK1 SDK Programmer’s Reference Manual
269
linetable Lines to draw
count
Number of lines contained in the line table
solid
Points for each dash
invis
Spacing for every dash; 0 for solid lines
GrDrawLines ()
Purpose: Draw lines using the specified graphics context on the specified drawable
from the points with coordinates given relative to the drawable. This
function is a utility function using GrLine to finish the drawing. It draws
lines from the first point to the last point. Recommend using GrPoly or
GrLines instead.
function is a utility function using GrLine to finish the drawing. It draws
lines from the first point to the last point. Recommend using GrPoly or
GrLines instead.
Syntax:
void GrDrawLines (GR_DRAW_ID id,
GR_GC_ID gc,
GR_POINT *points
GR_COUNT count);
GR_POINT *points
GR_COUNT count);
Parameters: id
Identification of the drawable to draw the line on
gc
Identification of the graphics context to use when drawing the line
points Points for the lines
count Number of lines contained in the line table
Events API
The name of this API is:
events —
Synopsis
void GrSelectEvents (GR_WINDOW_ID wid,
GR_EVENT_MASK eventmask);
void GrGetNextEvent (GR_EVENT *ep);
void GrGetNextEventTimeout (GR_EVENT *ep,
GR_TIMEOUT timeout);
void GrCheckNextEvent (GR_EVENT *ep);
int GrPeekEvent (GR_EVENT *ep);
GR_EVENT_MASK eventmask);
void GrGetNextEvent (GR_EVENT *ep);
void GrGetNextEventTimeout (GR_EVENT *ep,
GR_TIMEOUT timeout);
void GrCheckNextEvent (GR_EVENT *ep);
int GrPeekEvent (GR_EVENT *ep);
GrSelectEvents ()
Purpose: Select the event types that should be returned for the specified window.
Syntax:
void GrSelectEvents (GR_WINDOW_ID wid,
GR_EVENT_MASK eventmask);
Parameters: wid
Identification of the window to set the event mask of
eventmask Bit field specifying the desired event mask