Functions

iup_drvfont.h File Reference

Driver Font Management. More...

Functions

void iupdrvFontInit (void)
void iupdrvFontFinish (void)
IUP_SDK_API void iupdrvFontGetCharSize (Ihandle *ih, int *charwidth, int *charheight)
IUP_SDK_API int iupdrvFontGetStringWidth (Ihandle *ih, const char *str)
IUP_SDK_API void iupdrvFontGetMultiLineStringSize (Ihandle *ih, const char *str, int *w, int *h)
IUP_SDK_API void iupdrvFontGetTextSize (const char *font, const char *str, int len, int *w, int *h)
IUP_SDK_API void iupdrvFontGetFontDim (const char *font, int *max_width, int *line_height, int *ascent, int *descent)
IUP_SDK_API char * iupdrvGetSystemFont (void)
IUP_SDK_API int iupdrvSetFontAttrib (Ihandle *ih, const char *value)
IUP_SDK_API char * iupGetFontValue (Ihandle *ih)
IUP_SDK_API int iupGetFontInfo (const char *font, char *typeface, int *size, int *is_bold, int *is_italic, int *is_underline, int *is_strikeout)
IUP_SDK_API int iupFontParsePango (const char *value, char *typeface, int *size, int *bold, int *italic, int *underline, int *strikeout)
IUP_SDK_API int iupFontParseWin (const char *value, char *typeface, int *size, int *bold, int *italic, int *underline, int *strikeout)
IUP_SDK_API int iupFontParseX (const char *value, char *typeface, int *size, int *bold, int *italic, int *underline, int *strikeout)
IUP_SDK_API int iupSetFontStyleAttrib (Ihandle *ih, const char *value)
IUP_SDK_API int iupSetFontSizeAttrib (Ihandle *ih, const char *value)
IUP_SDK_API int iupSetFontFaceAttrib (Ihandle *ih, const char *value)
IUP_SDK_API char * iupGetFontStyleAttrib (Ihandle *ih)
IUP_SDK_API char * iupGetFontSizeAttrib (Ihandle *ih)
IUP_SDK_API char * iupGetFontFaceAttrib (Ihandle *ih)
void iupSetDefaultFontSizeGlobalAttrib (const char *value)
char * iupGetDefaultFontSizeGlobalAttrib (void)
int iupSetDefaultFontStyleGlobalAttrib (const char *value)
char * iupGetDefaultFontStyleGlobalAttrib (void)
int iupSetDefaultFontFaceGlobalAttrib (const char *value)
char * iupGetDefaultFontFaceGlobalAttrib (void)
void iupUpdateFontAttrib (Ihandle *ih)
const char * iupFontGetWinName (const char *typeface)
const char * iupFontGetXName (const char *typeface)
const char * iupFontGetPangoName (const char *typeface)
const char * iupFontGetMacName (const char *typeface)

Detailed Description

See Copyright Notice in "iup.h"


Function Documentation

IUP_SDK_API int iupSetFontStyleAttrib ( Ihandle *  ih,
const char *  value 
)

Changes the FONT style only.

IUP_SDK_API int iupSetFontSizeAttrib ( Ihandle *  ih,
const char *  value 
)

Changes the FONT size only.

IUP_SDK_API int iupSetFontFaceAttrib ( Ihandle *  ih,
const char *  value 
)

Changes the FONT face only.

IUP_SDK_API char* iupGetFontStyleAttrib ( Ihandle *  ih  ) 

Returns the FONT style.

IUP_SDK_API char* iupGetFontSizeAttrib ( Ihandle *  ih  ) 

Returns the FONT size.

IUP_SDK_API char* iupGetFontFaceAttrib ( Ihandle *  ih  ) 

Returns the FONT face.