FoFontDesc

FoFontDesc

Functions

Types and Values

Description

Functions

fo_font_desc_error_quark ()

GQuark
fo_font_desc_error_quark (void);

Get the error quark for FoFontDesc.

If the quark does not yet exist, create it.

Returns

GQuark associated with FoFontDesc errors.


fo_font_desc_new ()

FoFontDesc *
fo_font_desc_new (void);

Creates a new FoFontDesc.

Returns

the newly created FoFontDesc.


fo_font_desc_copy ()

FoFontDesc *
fo_font_desc_copy (const FoFontDesc *font_desc);

fo_font_desc_set_family ()

void
fo_font_desc_set_family (FoFontDesc *font_desc,
                         const char *family);

fo_font_desc_set_size ()

void
fo_font_desc_set_size (FoFontDesc *font_desc,
                       gfloat size);

fo_font_desc_set_style ()

void
fo_font_desc_set_style (FoFontDesc *font_desc,
                        FoEnumEnum style);

Sets the font style of font_desc to style .

Parameters

font_desc

FoFontDesc to set

 

style

New font style

 

fo_font_desc_set_stretch ()

void
fo_font_desc_set_stretch (FoFontDesc *font_desc,
                          FoEnumEnum stretch);

fo_font_desc_set_variant ()

void
fo_font_desc_set_variant (FoFontDesc *font_desc,
                          FoEnumEnum variant);

fo_font_desc_set_weight ()

void
fo_font_desc_set_weight (FoFontDesc *font_desc,
                         gint weight);

Types and Values

FoFontDesc

typedef struct _FoFontDesc FoFontDesc;

FoFontDescClass

typedef struct _FoFontDescClass FoFontDescClass;

FO_FONT_DESC_ERROR

#define FO_FONT_DESC_ERROR fo_font_desc_error_quark ()

enum FoFontDescError

Members

FO_FONT_DESC_ERROR_FAILED