11 #ifndef HTMLXMLCTX_L_H 12 #define HTMLXMLCTX_L_H 18 #include <gwenhywfar/db.h> struct HTML_GROUP HTML_GROUP
struct GWEN_DB_NODE GWEN_DB_NODE
HTML_FONT * HtmlCtx_FindFont(const GWEN_XML_CONTEXT *ctx, const char *fontName, int fontSize, uint32_t fontFlags)
int HtmlCtx_GetTextHeight(GWEN_XML_CONTEXT *ctx, HTML_FONT *fnt, const char *s)
const char * HtmlCtx_GetCurrentTagName(const GWEN_XML_CONTEXT *ctx)
uint32_t HtmlCtx_GetColorFromName(const GWEN_XML_CONTEXT *ctx, const char *name)
int HtmlCtx_GetTextWidth(GWEN_XML_CONTEXT *ctx, HTML_FONT *fnt, const char *s)
HTML_OBJECT_TREE * HtmlCtx_GetObjects(const GWEN_XML_CONTEXT *ctx)
struct HTML_FONT HTML_FONT
int HtmlCtx_SanitizeData(GWEN_XML_CONTEXT *ctx, const char *data, GWEN_BUFFER *buf)
void HtmlCtx_SetCurrentTagName(GWEN_XML_CONTEXT *ctx, const char *s)
struct GWEN_BUFFER GWEN_BUFFER
A dynamically resizeable text buffer.
HTML_GROUP * HtmlCtx_GetCurrentGroup(const GWEN_XML_CONTEXT *ctx)
HTML_OBJECT_TREE * HtmlCtx_TakeObjects(const GWEN_XML_CONTEXT *ctx)
GWEN_DB_NODE * HtmlCtx_GetCurrentAttributes(const GWEN_XML_CONTEXT *ctx)
struct GWEN_XML_CONTEXT GWEN_XML_CONTEXT
void HtmlCtx_SetCurrentGroup(GWEN_XML_CONTEXT *ctx, HTML_GROUP *g)