Intermec ck1 Reference Guide

Page of 390
Chapter 5 — Nano-X APIs 
CK1 SDK Programmer’s Reference Manual 
259 
GrEllipse () 
 
Purpose:  Draw the boundary of an ellipse at the specified position using the 
specified dimensions and graphics context on the specified drawable. 
 
Syntax: 
void        GrEllipse                     (GR_DRAW_ID id,
 
                                             GR_GC_ID gc
                                             GR_COORD x
                                             GR_COORD y, 
                                             GR_SIZE rx
                                             GR_SIZE ry); 
 
Parameters:  id   Identification of the drawable to draw the ellipse on  
gc   Identification of the graphics context to use when drawing the ellipse  
x  
X coordinate to draw the ellipse at relative to the drawable  
y  
Y coordinate to draw the ellipse at relative to the drawable  
rx   Radius of the ellipse on the X axis  
ry   Radius of the ellipse on the Y axis  
GrFillEllipse () 
 
Purpose:  Draw a filled ellipse at the specified position using the specified 
dimensions and graphics context on the specified drawable. 
 
Syntax: 
void        GrFillEllipse                 (GR_DRAW_ID id,
 
                                             GR_GC_ID gc
                                             GR_COORD x
                                             GR_COORD y
                                             GR_SIZE rx
                                             GR_SIZE ry); 
 
Parameters:  id   Identification of the drawable to draw the filled ellipse on  
gc   Identification of the graphics context to use when drawing the ellipse  
x  
X coordinate to draw the ellipse at relative to the drawable  
y  
Y coordinate to draw the ellipse at relative to the drawable  
rx   Radius of the ellipse on the X axis  
ry   Radius of the ellipse on the Y axis  
GrArc () 
 
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. 
 
Syntax: 
void        GrArc                         (GR_DRAW_ID id,
 
                                             GR_GC_ID gc
                                             GR_COORD x