| xmlroff Reference Manual |
|---|
FoFontDesc —
struct FoFontDesc; struct FoFontDescClass; #define FO_FONT_DESC_ERRORGQuark fo_font_desc_error_quark (void); enum FoFontDescError; FoFontDesc* fo_font_desc_new (void); FoFontDesc* fo_font_desc_copy (const FoFontDesc *font_desc); void fo_font_desc_set_family (FoFontDesc *font_desc, const char *family); void fo_font_desc_set_size (FoFontDesc *font_desc,gfloat size); void fo_font_desc_set_style (FoFontDesc *font_desc,FoEnumFontStyle style); void fo_font_desc_set_stretch (FoFontDesc *font_desc,FoEnumFontStretch stretch); void fo_font_desc_set_variant (FoFontDesc *font_desc,FoEnumFontVariant variant); void fo_font_desc_set_weight (FoFontDesc *font_desc,gint weight);
GQuark fo_font_desc_error_quark (void);
Get the error quark for FoFontDesc.
If the quark does not yet exist, create it.
| Returns : | |
FoFontDesc* fo_font_desc_new (void);
Creates a new FoFontDesc.
| Returns : | the newly created FoFontDesc. |
FoFontDesc* fo_font_desc_copy (const FoFontDesc *font_desc);
| font_desc : | |
| Returns : |
void fo_font_desc_set_family (FoFontDesc *font_desc, const char *family);
| font_desc : | |
| family : |
void fo_font_desc_set_size (FoFontDesc *font_desc,gfloat size);
| font_desc : | |
| size : |
void fo_font_desc_set_style (FoFontDesc *font_desc,FoEnumFontStyle style);
| font_desc : | |
| style : |
void fo_font_desc_set_stretch (FoFontDesc *font_desc,FoEnumFontStretch stretch);
| font_desc : | |
| stretch : |
void fo_font_desc_set_variant (FoFontDesc *font_desc,FoEnumFontVariant variant);
| font_desc : | |
| variant : |
void fo_font_desc_set_weight (FoFontDesc *font_desc,gint weight);
| font_desc : | |
| weight : |
| << FoDocPDFlib | FoLayout >> |