Moving glyph-measuring code to drawing

This commit is contained in:
ehouse 2005-07-08 03:10:21 +00:00
parent c672b00afa
commit ff5ea1cb44

View file

@ -56,6 +56,16 @@ typedef struct PalmAppGlobals PalmAppGlobals;
typedef XP_UCHAR* (*GetResStringFunc)( PalmAppGlobals* globals,
XP_U16 strID );
#ifdef TALL_FONTS
typedef struct {
XP_S16 topOffset; /* how many pixels from the top of the
drawing area is the first pixel set in
the glyph */
XP_U16 height; /* How many rows tall is the image? */
} PalmFontHtInfo;
#endif
typedef struct PalmDrawCtx {
DrawCtxVTable* vtable;
PalmAppGlobals* globals;
@ -82,7 +92,7 @@ typedef struct PalmDrawCtx {
#ifdef TALL_FONTS
XP_LangCode fontLangCode;
XP_FontBounds* fontLangInfo;
PalmFontHtInfo* fontHtInfo;
#endif
union {