mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-17 18:12:01 +01:00
Moving glyph-measuring code to drawing
This commit is contained in:
parent
58728ae00d
commit
d3249d93ae
1 changed files with 11 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue