Functions

iup_drvfont.h File Reference

Driver Font Management. More...

Functions

void iupdrvFontInit (void)
void iupdrvFontFinish (void)
void iupdrvFontGetCharSize (Ihandle *ih, int *charwidth, int *charheight)
int iupdrvFontGetStringWidth (Ihandle *ih, const char *str)
void iupdrvFontGetMultiLineStringSize (Ihandle *ih, const char *str, int *w, int *h)
void iupdrvFontGetTextSize (const char *font, const char *str, int *w, int *h)
char * iupdrvGetSystemFont (void)
int iupdrvSetFontAttrib (Ihandle *ih, const char *value)
char * iupGetFontValue (Ihandle *ih)
int iupGetFontInfo (const char *font, char *typeface, int *size, int *is_bold, int *is_italic, int *is_underline, int *is_strikeout)
int iupFontParsePango (const char *value, char *typeface, int *size, int *bold, int *italic, int *underline, int *strikeout)
int iupFontParseWin (const char *value, char *typeface, int *size, int *bold, int *italic, int *underline, int *strikeout)
int iupFontParseX (const char *value, char *typeface, int *size, int *bold, int *italic, int *underline, int *strikeout)
int iupSetFontStyleAttrib (Ihandle *ih, const char *value)
int iupSetFontSizeAttrib (Ihandle *ih, const char *value)
int iupSetFontFaceAttrib (Ihandle *ih, const char *value)
char * iupGetFontStyleAttrib (Ihandle *ih)
char * iupGetFontSizeAttrib (Ihandle *ih)
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)

Detailed Description

See Copyright Notice in "iup.h"


Function Documentation

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

Changes the FONT style only.

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

Changes the FONT size only.

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

Changes the FONT face only.

char* iupGetFontStyleAttrib ( Ihandle *  ih  ) 

Returns the FONT style.

char* iupGetFontSizeAttrib ( Ihandle *  ih  ) 

Returns the FONT size.

char* iupGetFontFaceAttrib ( Ihandle *  ih  ) 

Returns the FONT face.