Intermec ck1 Reference Guide

Page of 390
Chapter 5 — Nano-X APIs 
CK1 SDK Programmer’s Reference Manual 
273 
 
Syntax: 
void        GrGetFontInfo               (GR_FONT_ID font,
 
                                      GR_FONT_INFO *fip); 
 
Parameters:  font   Specified font 
fip  
Pointer to a GR_FONT_INFO structure 
GrFontSetCFontSize () 
 
Purpose:  Change the double-byte font size of the specified font to the specified size. 
Since the text mixes with single-byte and double-byte characters, different 
fonts are used to draw. The Nano-X system automatically selects one more 
suitable font for the double-byte characters. You can override the selection. 
 
Syntax: 
void        GrFontSetCFontSize        (GR_FONT_ID fontid,
 
                                          GR_COORD size); 
 
Parameters:  fontid   Identification number of the font that you want to change  
size  
New double byte font size for the fontid 
Pointer API 
The name of this API is: 
pointer —  
Synopsis 
void        GrSetCursor                     (GR_WINDOW_ID wid, 
                                             GR_SIZE width, 
                                             GR_SIZE height, 
                                             GR_COORD hotx, 
                                             GR_COORD hoty, 
                                             GR_COLOR foreground, 
                                             GR_COLOR background, 
                                             GR_BITMAP *fbbitmap, 
                                             GR_BITMAP *bgbitmap); 
void        GrMoveCursor                    (GR_COORD x, 
                                             GR_COORD y); 
void        GrInjectPointerEvent            (MWCOORD x, 
                                             MWCOORD y, 
                                             int button, 
                                             int visible); 
GrSetCursor () 
 
Purpose:  Specify a cursor (mouse pointer graphic) to display when the mouse 
pointer is over the specified window and subsequently created children. 
Points in the bitmap that have neither the foreground or background bits 
set are not painted. 
 
Syntax: 
void        GrSetCursor                (GR_WINDOW_ID wid,