FoFontDesc

FoFontDesc

Synopsis

                    FoFontDesc;
                    FoFontDescClass;
#define             FO_FONT_DESC_ERROR
GQuark              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,
                                                         FoEnumEnum style);
void                fo_font_desc_set_stretch            (FoFontDesc *font_desc,
                                                         FoEnumEnum stretch);
void                fo_font_desc_set_variant            (FoFontDesc *font_desc,
                                                         FoEnumEnum variant);
void                fo_font_desc_set_weight             (FoFontDesc *font_desc,
                                                         gint weight);

Description

Details

FoFontDesc

typedef struct _FoFontDesc FoFontDesc;


FoFontDescClass

typedef struct _FoFontDescClass FoFontDescClass;


FO_FONT_DESC_ERROR

#define FO_FONT_DESC_ERROR fo_font_desc_error_quark ()


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.

enum FoFontDescError

typedef enum
{
  FO_FONT_DESC_ERROR_FAILED
} FoFontDescError;


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);

font_desc :

Returns :


fo_font_desc_set_family ()

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

font_desc :

family :


fo_font_desc_set_size ()

void                fo_font_desc_set_size               (FoFontDesc *font_desc,
                                                         gfloat size);

font_desc :

size :


fo_font_desc_set_style ()

void                fo_font_desc_set_style              (FoFontDesc *font_desc,
                                                         FoEnumEnum style);

font_desc :

style :


fo_font_desc_set_stretch ()

void                fo_font_desc_set_stretch            (FoFontDesc *font_desc,
                                                         FoEnumEnum stretch);

font_desc :

stretch :


fo_font_desc_set_variant ()

void                fo_font_desc_set_variant            (FoFontDesc *font_desc,
                                                         FoEnumEnum variant);

font_desc :

variant :


fo_font_desc_set_weight ()

void                fo_font_desc_set_weight             (FoFontDesc *font_desc,
                                                         gint weight);

font_desc :

weight :