Intermec ck1 参照ガイド

ページ / 390
Chapter 5 — Nano-X APIs 
268 
CK1 SDK Programmer’s Reference Manual 
GrText () (continued) 
y  
Y coordinate to draw the string at relative to the drawable  
str  
Text string to draw  
count   Number of characters (not bytes) in the string  
flags   Flags specifying text encoding, alignment, etc.  
GrDashLine () 
 
Purpose:  Draw a dash line using the specified graphics context on the specified 
drawable from (x1, y1) to (x2, y2) with coordinates given relative to the 
drawable. The line draws solid points with invisible points separated. 
 
Syntax: 
void        GrDashLine                    (GR_DRAW_ID id,
 
                                             GR_GC_ID gc
                                             GR_COORD x1
                                             GR_COORD y1
                                             GR_COORD x2
                                             GR_COORD y2 
                                             int solid
                                             int invis); 
 
Parameters:  id  
Identification of the drawable to draw the line on  
gc  
Identification of the graphics context to use when drawing the line  
x1  
X coordinate of the start of the line relative to the drawable  
y1  
Y coordinate of the start of the line relative to the drawable  
x2  
X coordinate of the end of the line relative to the drawable  
y2  
Y coordinate of the end of the line relative to the drawable  
solid  Points for each dash 
invis  Spacing for every dash; 0 for solid lines 
GrLines () 
 
Purpose:  Draw lines or dash lines using the specified graphics context on the 
specified drawable from the line table with coordinates given relative to the 
drawable. The lines draw solid points with invisible points separated. 
 
Syntax: 
void        GrLines                       (GR_DRAW_ID id,
 
                                       GR_GC_ID gc
                                       GR_LINE *linetable 
                                       GR_COUNT count
                                       int solid
                                       int invis); 
 
Parameters:  id  
Identification of the drawable to draw the line on  
gc  
Identification of the graphics context to use when drawing the 
line