55 typedef struct FontObject FontObject;
60 #define FONT_OBJECT_SIZE 1040
65 #define TEXT_SIZE(font_object, string, ptr_x, ptr_y) GetTextSize(font_object, string, strlen(string), &ptr_x, &ptr_y); ptr_x /= magnification; ptr_y /= magnification;
68 #define TEXT_SIZE_2(font_object, string, string_length, ptr_x, ptr_y) GetTextSize(font_object, string, string_length, &ptr_x, &ptr_y); ptr_x /= magnification; ptr_y /= magnification;
71 #define TEXT_WIDTH(font_object, string) (GetTextWidth(font_object, string) / magnification)
74 #define TEXT_HEIGHT(font_object, string) (GetTextHeight(font_object, string) / magnification)
77 #define TEXT_WIDTH_2(font_object, string, string_length) (GetTextWidth(font_object, string, string_length) / magnification)
80 #define TEXT_HEIGHT_2(font_object, string, string_length) (GetTextHeight(font_object, string, string_length) / magnification)
83 #define TEXT_WIDTH_2S(font_object, string) (GetTextWidth(font_object, string, strlen(string)) / magnification)
86 #define TEXT_HEIGHT_2S(font_object, string) (GetTextHeight(font_object, string, strlen(string)) / magnification)
89 #define FONT_ASCII_HEIGHT(font_object) (GetTextHeight(font_object, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789") / magnification)
94 #define UI_TEXT_SIZE(font_object, string, ptr_x, ptr_y) GetTextSize(font_object, string, strlen(string), &ptr_x, &ptr_y); ptr_x /= CSM_GetUIMagnificationLevel(); ptr_y /= CSM_GetUIMagnificationLevel();
97 #define UI_TEXT_SIZE_2(font_object, string, string_length, ptr_x, ptr_y) GetTextSize(font_object, string, string_length, &ptr_x, &ptr_y); ptr_x /= CSM_GetUIMagnificationLevel(); ptr_y /= CSM_GetUIMagnificationLevel();
100 #define UI_TEXT_WIDTH(font_object, string) (GetTextWidth(font_object, string) / CSM_GetUIMagnificationLevel())
103 #define UI_TEXT_HEIGHT(font_object, string) (GetTextHeight(font_object, string) / CSM_GetUIMagnificationLevel())
106 #define UI_TEXT_WIDTH_2(font_object, string, string_length) (GetTextWidth(font_object, string, string_length) / CSM_GetUIMagnificationLevel())
109 #define UI_TEXT_HEIGHT_2(font_object, string, string_length) (GetTextHeight(font_object, string, string_length) / CSM_GetUIMagnificationLevel())
112 #define UI_TEXT_WIDTH_2S(font_object, string) (GetTextWidth(font_object, string, strlen(string)) / CSM_GetUIMagnificationLevel())
115 #define UI_TEXT_HEIGHT_2S(font_object, string) (GetTextHeight(font_object, string, strlen(string)) / CSM_GetUIMagnificationLevel())
118 #define UI_FONT_ASCII_HEIGHT(font_object) (GetTextHeight(font_object, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789") / CSM_GetUIMagnificationLevel())
123 #define CUSTOMMAG_TEXT_SIZE(INPUT_MAG, font_object, string, ptr_x, ptr_y) GetTextSize(font_object, string, strlen(string), &ptr_x, &ptr_y); ptr_x /= INPUT_MAG; ptr_y /= INPUT_MAG;
126 #define CUSTOMMAG_TEXT_SIZE_2(INPUT_MAG, font_object, string, string_length, ptr_x, ptr_y) GetTextSize(font_object, string, string_length, &ptr_x, &ptr_y); ptr_x /= INPUT_MAG; ptr_y /= INPUT_MAG;
129 #define CUSTOMMAG_TEXT_WIDTH(INPUT_MAG, font_object, string) (GetTextWidth(font_object, string) / INPUT_MAG)
132 #define CUSTOMMAG_TEXT_HEIGHT(INPUT_MAG, font_object, string) (GetTextHeight(font_object, string) / INPUT_MAG)
135 #define CUSTOMMAG_TEXT_WIDTH_2(INPUT_MAG, font_object, string, string_length) (GetTextWidth(font_object, string, string_length) / INPUT_MAG)
138 #define CUSTOMMAG_TEXT_HEIGHT_2(INPUT_MAG, font_object, string, string_length) (GetTextHeight(font_object, string, string_length) / INPUT_MAG)
141 #define CUSTOMMAG_TEXT_WIDTH_2S(INPUT_MAG, font_object, string) (GetTextWidth(font_object, string, strlen(string)) / INPUT_MAG)
144 #define CUSTOMMAG_TEXT_HEIGHT_2S(INPUT_MAG, font_object, string) (GetTextHeight(font_object, string, strlen(string)) / INPUT_MAG)
147 #define CUSTOMMAG_FONT_ASCII_HEIGHT(INPUT_MAG, font_object) (GetTextHeight(font_object, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789") / INPUT_MAG)
285 extern CAVESTORY_MOD_API void DrawNormalText(FontObject* font_object,
unsigned char* bitmap_buffer,
size_t bitmap_pitch,
int bitmap_width,
int bitmap_height,
int x,
int y,
unsigned long colour,
const char*
string,
size_t string_length);
307 extern CAVESTORY_MOD_API void DrawClippedText(FontObject* font_object,
unsigned char* bitmap_buffer,
size_t bitmap_pitch,
int bitmap_width,
int bitmap_height,
int x,
int y,
unsigned long colour,
const char*
string,
size_t string_length,
int clipLEFT,
int clipTOP,
int clipRIGHT,
int clipBOTTOM,
float iOutAlpha = 1.f);
429 bool Parse(FontObject* pFont,
const char* pString,
int iLength = -1,
unsigned long iColor = 0xFFFFFFFF,
int iDestWidth = 0);
445 BMPBOX_TYPE_WIDTH = 0,
683 static void DrawPixels(
GUI_POINT* pPointList,
unsigned int iPointCount,
unsigned long color,
bool bAbsolutePos =
false);
882 static void DrawClippedText(
GUI_POINT p, FontObject* font,
const char* text,
unsigned long color,
int iStringLength = -1,
bool bWrap =
false,
GUI_POINT* pDrawSize = NULL,
int iShadowSize = 0,
unsigned long iShadowColor = 0);
954 static void DebugShow();
1212 unsigned long iColor
Surface_Ids
List of surface IDs.
Definition: CSMAPI_enums.h:714
@ SURFACE_ID_MAX
Number of surfaces.
Definition: CSMAPI_enums.h:866
A handle for fonts.
Definition: CSMAPI_types.h:357
Manages fonts.
Definition: CSMAPI_types.h:255
An editable texture API.
Definition: VideoTexture.h:51
CAVESTORY_MOD_API FontObject * LoadFontFromFile(const char *pFileName, unsigned int cell_width, unsigned int cell_height, VideoTexture *pTexture=NULL, FontManager *pManager=NULL)
Load a font object from a file.
CAVESTORY_MOD_API int GetFontHeight(FontObject *font_object)
Get the general render height of a font.
CAVESTORY_MOD_API void SetFontTexture(FontObject *pFont, VideoTexture *pTexture)
Link a font to a texture.
CAVESTORY_MOD_API unsigned int GetTextHeight(FontObject *font_object, const char *string, size_t string_length=size_t(-1))
Get the rendered height of text.
CAVESTORY_MOD_API void UnloadFont(FontObject *font_object)
Unload a font object.
CAVESTORY_MOD_API void DrawClippedText(FontObject *font_object, unsigned char *bitmap_buffer, size_t bitmap_pitch, int bitmap_width, int bitmap_height, int x, int y, unsigned long colour, const char *string, size_t string_length, int clipLEFT, int clipTOP, int clipRIGHT, int clipBOTTOM, float iOutAlpha=1.f)
Draw clipped text onto a bitmap.
CAVESTORY_MOD_API void DrawNormalText(FontObject *font_object, unsigned char *bitmap_buffer, size_t bitmap_pitch, int bitmap_width, int bitmap_height, int x, int y, unsigned long colour, const char *string, size_t string_length)
Draw normal text onto a bitmap.
CAVESTORY_MOD_API int CSM_GetChatMagnificationLevel()
Get the current chat magnification.
CAVESTORY_MOD_API unsigned int GetTextWidth(FontObject *font_object, const char *string, size_t string_length=size_t(-1))
Get the rendered width of text.
CAVESTORY_MOD_API int GetFontMagnification(FontObject *font_object)
Get the magnification level of a font object.
CAVESTORY_MOD_API void DeInitFont()
Do not use.
CAVESTORY_MOD_API void SetFontCharacterWhitelist(const unsigned char *pWhitelist)
Set a whitelist for the rendering system.
CAVESTORY_MOD_API FontObject * LoadFontFromData(const unsigned char *data, size_t data_size, unsigned int cell_width, unsigned int cell_height, VideoTexture *pTexture=NULL, FontManager *pManager=NULL)
Load a font object from data.
CAVESTORY_MOD_API const unsigned char * GetFontCharacterWhitelist()
Get the current font whitelist.
CAVESTORY_MOD_API void SetFontWhitelistEnabled(bool bEnabled)
Set whether the whitelist is active or not.
CAVESTORY_MOD_API void InitFont()
Do not use.
CAVESTORY_MOD_API void GetTextSize(FontObject *font_object, const char *string, size_t string_length, int *size_x, int *size_y)
Get the rendered size of text.
CAVESTORY_MOD_API int CSM_GetUIMagnificationLevel()
Get the current UI magnification.
CAVESTORY_MOD_API BOOL IsFontLinkedToTexture(FontObject *font_object, VideoTexture *pTexture)
Check to see if a font is linked with a texture.
CAVESTORY_MOD_API unsigned long UTF8ToUnicode(const unsigned char *string, unsigned int *bytes_read)
Convert UTF8 to unicode.
CAVESTORY_MOD_API FontObject * LoadFont(const char *font_filename, unsigned int cell_width, unsigned int cell_height, VideoTexture *pTexture=NULL, FontManager *pManager=NULL)
Load a font from Windows.
CAVESTORY_MOD_API void PutBitmap15(RECT *pDstRect, RECT *pSrcRect, Surface_Ids iSurfaceNo)
Draw a surface directly to the screen.
CAVESTORY_MOD_API void CSM_QSA_Begin(Surface_Ids sid, GUI_RECT *rect, CSM_QSA_Data *out)
Begin the quick surface access.
CAVESTORY_MOD_API void PutBitmap3(RECT *rcView, int x, int y, RECT *rect, Surface_Ids surf_no)
Draw bitmap to the screen with transparency.
CAVESTORY_MOD_API void PutBitmap13(RECT *rcView, Surface_Ids dst_surf_no, int x, int y, RECT *src_rect, Surface_Ids src_surf_no, int r, int g, int b, bool async=false)
Draw bitmap to the screen with transparency & color modulation.
CAVESTORY_MOD_API void PutNumber4(int x, int y, int value, BOOL bZero)
Draw a number to the screen.
CAVESTORY_MOD_API void PutFramePerSecound()
Draw FPS in the top-right corner.
CAVESTORY_MOD_API void PutBitmap5(RECT *rcView, int x, int y, RECT *rect, Surface_Ids surf_no, int scalar)
Draw bitmap to the screen.
CAVESTORY_MOD_API void PutBitmap16(RECT *rcView, int x, int y, RECT *rect, Surface_Ids surf_no, float angle, int center_x, int center_y)
Draw a bitmap that's rotated around a center point.
CAVESTORY_MOD_API void PutBitmap9(RECT *rcView, int x, int y, RECT *rect, Surface_Ids surf_no, int alpha)
Draw bitmap to the screen.
CAVESTORY_MOD_API void PutBitmap17(RECT *pDstRect, RECT *pSrcRect, Surface_Ids iSurfaceNo)
Draw a surface directly to the screen, with magnified support.
CAVESTORY_MOD_API void PutBitmap10(int x, int y, RECT *rect, Surface_Ids surf_no)
Draw bitmap to the screen.
CAVESTORY_MOD_API void PutBitmap4(RECT *rcView, int x, int y, RECT *rect, Surface_Ids surf_no)
Draw bitmap to the screen.
CAVESTORY_MOD_API void PutBitmap11(int x, int y, RECT *rect, Surface_Ids surf_no, int r, int g, int b)
Draw bitmap to the screen.
CAVESTORY_MOD_API void PutBitmap7(RECT *rcView, int x, int y, RECT *rect, Surface_Ids surf_no)
Draw bitmap to the screen.
CAVESTORY_MOD_API void PutBitmap14(int x, int y, int w, int h, RECT *rect, Surface_Ids surf_no, int r, int g, int b)
Draw a stretched colored bitmap to the screen.
CAVESTORY_MOD_API int ghWnd
Placeholder until we restore the WinAPI code.
CAVESTORY_MOD_API void PutNumber3(int x, int y, int value)
Draw a number to the screen.
CAVESTORY_MOD_API BOOL Flip_SystemTask(int hWnd)
Flip the renderer.
CAVESTORY_MOD_API void CSM_QSA_Free(CSM_QSA_Data *qsaptr)
Free QSA access.
CAVESTORY_MOD_API void ModBitmap(Surface_Ids iSurfNo, unsigned long iColor)
Set the color modulation of a surface.
CAVESTORY_MOD_API void PutSpecificNpChar(NPCHAR *npc, int fx, int fy, bool bIgnorePutFunc=false, int *iDrawX=NULL, int *iDrawY=NULL)
Draw an NPC to the screen.
CAVESTORY_MOD_API void PutBitmap12(RECT *rcView, Surface_Ids dst_surf_no, int x, int y, RECT *src_rect, Surface_Ids src_surf_no, bool async=false)
Draw bitmap to the screen with transparency.
CAVESTORY_MOD_API void PutBitmap6(RECT *rcView, int x, int y, RECT *rect, Surface_Ids surf_no, int scalar)
Draw bitmap to the screen.
CAVESTORY_MOD_API void PutBitmap8(RECT *rcView, int x, int y, RECT *rect, Surface_Ids surf_no, int r, int g, int b)
Draw bitmap to the screen.
CAVESTORY_MOD_API void PutBitmap18(RECT *pDstRect, RECT *pSrcRect, Surface_Ids iSurfaceNo, Surface_Ids iDestSurfaceNo)
Draw a surface directly to another surface, with magnified support.
CAVESTORY_MOD_API void ClearBitmapMod(Surface_Ids iSurfNo)
Clear the color modulation of a surface.
#define CAVESTORY_MOD_API
Exports / imports Cavestory Mod API functions & classes.
Definition: CSMAPI_begincode.h:30
Quick Surface Access data.
Definition: CSMAPI_types.h:7345
Rendering pipeline for Cavestory Multiplayer.
Definition: CSMAPI_drawing.h:439
static VideoTexture * GetCurrentVideoTexture()
Get the currently selected video texture.
static void DrawRect(GUI_RECT *r, unsigned long color, bool bAbsolutePos=false)
Outline a given rect.
static void DrawTransparentBitmapBox(GUI_RECT *out_rect, GUI_RECT *bmp_rects, BitmapBoxType type, Surface_Ids bmp_id, int iAlpha)
Draw a transparent bitmap box.
static BOOL SelectRendererSurfaceAndRememberPrevious(int iCustomMagnification=0)
Alias of SetSurfaceID, handles selecting SURFACE_ID_RENDERER with a custom magnification.
static bool LoadFileToSurface(const char *pFileName, Surface_Ids iSurfId=SURFACE_ID_MAX, bool bAsync=false, unsigned int iMagnification=0)
Load an image from a file into the selected surface ID.
static GUI_POINT DrawColoredBitmap(GUI_POINT p, GUI_RECT *srcRect, Surface_Ids sid, GUI_COLOR color, bool bAbsolutePos=false)
Draw a colored image.
static GUI_POINT DrawBitmap(GUI_POINT p, GUI_RECT *srcRect, Surface_Ids sid, bool bAbsolutePos=false)
Draw an image.
static void DrawClippedTextNoMagnification(GUI_POINT p, FontObject *font, const char *text, unsigned long color, int iStringLength=-1, bool bWrap=false, GUI_POINT *pDrawSize=NULL, int iShadowSize=0, unsigned long iShadowColor=0)
Draw clipped text.
static void DrawCircle(GUI_POINT p, int size, unsigned long color)
Draw a circle.
static void FreeSurfaceID(Surface_Ids sid)
Free a surface ID.
static GUI_POINT GetTextSize(FontObject *pFont, const char *pText, int iTextLen=-1)
Get the size of a string of text w/ a font.
static void GetClipRect(GUI_RECT *r)
Get the current clip rect.
static BOOL SetSurfaceIDAndRememberPrevious(Surface_Ids sid)
Set the surface ID that we're editing.
static GUI_POINT DrawFilledBitmapRect(GUI_RECT *drawRect, GUI_RECT *srcRect, Surface_Ids sid, GUI_POINT drawPadding=GUI_POINT(0, 0))
Draw a filled bitmap rect.
static void DrawFilledRectTransparent(GUI_RECT *r, unsigned long color, bool bAbsolutePos=false)
Fill a given rect.
static void DrawFilledTriangle(GUI_POINT *points, unsigned long color)
Draw a filled triangle.
static void DrawBitmapBox(GUI_RECT *out_rect, GUI_RECT *bmp_rects, BitmapBoxType type, Surface_Ids bmp_id)
Draw a bitmap box.
static BOOL SetSurfaceID(Surface_Ids sid)
Set the surface ID that we're editing.
static void DrawPixels(GUI_POINT *pPointList, unsigned int iPointCount, unsigned long color, bool bAbsolutePos=false)
Draw pixels.
static void DrawRectTransparent(GUI_RECT *r, unsigned long color, bool bAbsolutePos=false)
Outline a given rect.
static void DrawPixel(GUI_POINT pPoint, unsigned long color, bool bAbsolutePos=false)
Draw a pixel.
BitmapBoxType
Bitmap box type for CacheSurface::GetBitmapBoxSize and CacheSurface::DrawBitmapBox.
Definition: CSMAPI_drawing.h:443
@ BMPBOX_TYPE_HEIGHT
Dynamic height (requires 3 'bmp_rects' elements) – Top, mid-loop, bottom.
Definition: CSMAPI_drawing.h:448
static BOOL SelectRendererSurface(int iCustomMagnification=0)
Alias of SetSurfaceID, handles selecting SURFACE_ID_RENDERER with a custom magnification.
static void Put(GUI_POINT out_pos, Surface_Ids sid=SURFACE_ID_MAX, bool bAbsolutePos=false)
Draw a surface to the screen.
static void UnlockSurfaceID(Surface_Ids sid)
Free a surface ID and set it as non-async.
static void SetNeedsUpdating()
Force an update for this surface internally.
static bool TryClipPoint(GUI_POINT &p)
Try to contain a point inside of the clip rect.
static Surface_Ids GetSurfaceID()
Get the surface ID that we're currently editing.
static void DrawText(GUI_POINT p, FontObject *font, const char *text, unsigned long color)
Draw text.
static void DrawLine(GUI_POINT start, GUI_POINT end, unsigned long color, bool bUseMagnification=true)
Draw a line.
static Surface_Ids GetNextFreeSurfaceID(int iSkipCount=0, bool bAsyncUse=false, bool bLockMutex=true)
Get the next free Dynamic Surface ID.
static bool IsInClipRect(GUI_POINT p)
Check to see if a point is inside the current clip rect.
static void PutAlpha(GUI_POINT out_pos, Surface_Ids sid=SURFACE_ID_MAX, unsigned char Alpha=255, bool bAbsolutePos=false)
Draw a transparent surface to the screen.
static bool AllocateSurface(int w, int h, Surface_Ids iSurfId=SURFACE_ID_MAX, unsigned int iMagnification=0)
Allocate a surface ID.
static void DrawFilledCircle(GUI_POINT p, int size, unsigned long color, bool invert=false)
Draw a filled circle.
static GUI_POINT GetBitmapBoxSize(GUI_POINT *desired_extent, GUI_RECT *bmp_rects, BitmapBoxType type)
Get the size of a bitmap box.
static BOOL SetCurrentTexture(VideoTexture *pTexture)
Set the texture that should be used when rendering stuff.
static bool IsInClipRectWithCustomMag(GUI_RECT r, int customMagnification)
Check to see if a rect is inside the current clip rect.
static bool IsSurfaceAllocated(Surface_Ids sid)
Checks whether the specified surface is allocated or not.
static void InitMemory()
Only called once upon engine init.
static bool SaveSurfaceToFile(const char *pFileName, Surface_Ids iSurfId=SURFACE_ID_MAX)
Save an image from a surface to a file.
static BOOL RememberSurfaceID()
Remember the currently selected SurfaceID.
static GUI_POINT GetSurfaceIDSize(Surface_Ids sid)
Get the surface size of a surface.
static void DrawTriangle(GUI_POINT *points, unsigned long color)
Draw a triangle.
static void DrawStripedRect(GUI_RECT *pRect, unsigned long iColor)
Draw a striped rect.
static void ClearClipRectList()
Clear the clip rect.
static int GetFreeSurfaceCount()
Self-explanatory.
static int GetSurfaceIDMagnification(Surface_Ids sid)
Get the surface magnification level of a surface.
static void DrawFilledRect(GUI_RECT *r, unsigned long color, bool bAbsolutePos=false)
Fill a given rect.
static void DrawClippedText(GUI_POINT p, FontObject *font, const char *text, unsigned long color, int iStringLength=-1, bool bWrap=false, GUI_POINT *pDrawSize=NULL, int iShadowSize=0, unsigned long iShadowColor=0)
Draw clipped text.
static void SetClipRect(GUI_RECT *r, bool bAbsoluteRect=false)
Add a new clip rect.
static void DrawStripedLine(GUI_POINT start, GUI_POINT end, unsigned long color)
Draw a striped line.
static GUI_POINT DrawStretchedBitmap(GUI_RECT *r, GUI_RECT *srcRect, Surface_Ids sid, GUI_COLOR color, bool bAbsolutePos=false)
Draw an image.
static void DrawGradientLine(GUI_POINT start, GUI_POINT end, unsigned long *colors, int colorcount)
Draw a line with color gradient.
static void DrawSpecialText(GUI_POINT p, SpecialTextCache *pCache)
Draw clipped special text.
static void DrawClearRect(GUI_RECT *r)
Clear a given rect.
static bool IsInClipRect(GUI_RECT r)
Check to see if a rect is inside the current clip rect.
static BOOL RestoreSurfaceID()
Return the current SurfaceID selection to the last one stored with RememberSurfaceID().
Manages colors.
Definition: CSMAPI_types.h:497
Manages points.
Definition: CSMAPI_types.h:546
Definition: CSMAPI_types.h:842
Definition: CSMAPI_drawing.h:40
NPC object.
Definition: CSMAPI_types.h:2021
Rect structure.
Definition: CSMAPI_types.h:125
A cache object to store parsed special text.
Definition: CSMAPI_drawing.h:393
char * mFullText
The full text for this cache.
Definition: CSMAPI_drawing.h:408
~SpecialTextCache()
Deconstructor.
List< SpecialTextNode * > mTextList
Node list for this cache.
Definition: CSMAPI_drawing.h:404
GUI_RECT rect
The draw rect.
Definition: CSMAPI_drawing.h:396
SpecialTextCache()
Constructor.
void Free()
Free this object's cache.
bool Parse(FontObject *pFont, const char *pString, int iLength=-1, unsigned long iColor=0xFFFFFFFF, int iDestWidth=0)
Parse a string.
GUI_POINT mTotalSize
The total size of the text, including font changes, new lines, etc.
Definition: CSMAPI_drawing.h:400
A node for SpecialTextCache.
Definition: CSMAPI_drawing.h:340
int tab_group
Line position.
Definition: CSMAPI_drawing.h:387
int length
The length of this node's text.
Definition: CSMAPI_drawing.h:363
int caret_pos
Caret position.
Definition: CSMAPI_drawing.h:379
unsigned long color
The text color.
Definition: CSMAPI_drawing.h:355
int tab_num
The tab number for this node.
Definition: CSMAPI_drawing.h:347
char * start
A pointer to the start of the string.
Definition: CSMAPI_drawing.h:359
GUI_POINT draw_offset
The drawing offset for this node.
Definition: CSMAPI_drawing.h:343
int line_no
Line position.
Definition: CSMAPI_drawing.h:383
Surface_Ids surf_id
Bitmap surface ID.
Definition: CSMAPI_drawing.h:371
GUI_RECT src_rect
Bitmap rect.
Definition: CSMAPI_drawing.h:375
FontHandle FO
The font object to use.
Definition: CSMAPI_drawing.h:351
GUI_POINT bmp_offset
The drawing offset for this node's bitmap.
Definition: CSMAPI_drawing.h:367