Driver Font Interface
[Driver Interface]
Detailed Description
- Each driver must export the symbols defined here.
- See iup_drvfont.h
Functions | |
void | iupdrvGetCharSize (Ihandle *ih, int *charwidth, int *charheight) |
void | iupdrvStringSize (Ihandle *ih, const char *str, int *w, int *h) |
void | iupdrvMultiLineStringSize (Ihandle *ih, const char *str, int *w, int *h) |
char * | iupdrvGetSystemFont (void) |
int | iupdrvSetNativeFontAttrib (Ihandle *ih, const char *value) |
char * | iupGetFontAttrib (Ihandle *ih) |
int | iupSetFontAttrib (Ihandle *ih, const char *value) |
int | iupFontParsePango (const char *value, char *typeface, int *size, int *bold, int *italic, int *underline, int *strikeout) |
int | iupFontParseWin (const char *value, char *fontname, int *height, int *bold, int *italic, int *underline, int *strikeout) |
int | iupFontParseX (const char *value, char *fontname, int *height, int *bold, int *italic, int *underline, int *strikeout) |
Function Documentation
|
Retrieve the character size for the selected font. |
|
Retrieve the string size for the selected font. |
|
Retrieve the multi-lined string size for the selected font. |
|
Returns the System default font. |
|
NATIVEFONT attribute set function. |
|
FONT attribute get function. |
|
FONT attribute set function. |
|
Parse the common font format description. Returns a non zero value if successful. |
|
Parse the old IUP Windows font format description. Returns a non zero value if successful. |
|
Parse the X-Windows font format description. Returns a non zero value if successful. |