Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

cr-fonts.c File Reference

#include "cr-fonts.h"
#include <string.h>

Go to the source code of this file.

Functions

CRFontFamilycr_font_family_new (enum CRFontFamilyType a_type, guchar *a_name)
guchar * cr_font_family_to_string (CRFontFamily *a_this, gboolean a_walk_font_family_list)
enum CRStatus cr_font_family_set_name (CRFontFamily *a_this, guchar *a_name)
CRFontFamilycr_font_family_append (CRFontFamily *a_this, CRFontFamily *a_family_to_append)
CRFontFamilycr_font_family_prepend (CRFontFamily *a_this, CRFontFamily *a_family_to_prepend)
enum CRStatus cr_font_family_destroy (CRFontFamily *a_this)
CRFontSizecr_font_size_new (void)
enum CRStatus cr_font_size_clear (CRFontSize *a_this)
enum CRStatus cr_font_size_copy (CRFontSize *a_dst, CRFontSize *a_src)
void cr_font_size_destroy (CRFontSize *a_font_size)
CRFontSizeAdjustcr_font_size_adjust_new (void)
void cr_font_size_adjust_destroy (CRFontSizeAdjust *a_this)


Function Documentation

CRFontFamily* cr_font_family_append CRFontFamily a_this,
CRFontFamily a_family_to_append
 

Definition at line 181 of file cr-fonts.c.

References _CRFontFamily::next, and _CRFontFamily::prev.

enum CRStatus cr_font_family_destroy CRFontFamily a_this  ) 
 

Definition at line 222 of file cr-fonts.c.

References CR_BAD_PARAM_ERROR, CR_OK, _CRFontFamily::next, and _CRFontFamily::prev.

CRFontFamily* cr_font_family_new enum CRFontFamilyType  a_type,
guchar *  a_name
 

Definition at line 101 of file cr-fonts.c.

References cr_font_family_set_name(), cr_utils_trace_info, and _CRFontFamily::type.

CRFontFamily* cr_font_family_prepend CRFontFamily a_this,
CRFontFamily a_family_to_prepend
 

Definition at line 205 of file cr-fonts.c.

References CR_OK, and _CRFontFamily::prev.

enum CRStatus cr_font_family_set_name CRFontFamily a_this,
guchar *  a_name
 

Definition at line 156 of file cr-fonts.c.

References CR_BAD_PARAM_ERROR, CR_OK, FONT_FAMILY_NON_GENERIC, _CRFontFamily::name, and _CRFontFamily::type.

Referenced by cr_font_family_new().

guchar* cr_font_family_to_string CRFontFamily a_this,
gboolean  a_walk_font_family_list
 

Definition at line 123 of file cr-fonts.c.

References CR_OK, and CRStatus.

Referenced by cr_style_to_pango_font_attributes().

void cr_font_size_adjust_destroy CRFontSizeAdjust a_this  ) 
 

Definition at line 372 of file cr-fonts.c.

References cr_num_destroy(), FONT_SIZE_ADJUST_NUMBER, _CRFontSizeAdjust::num, and _CRFontSizeAdjust::type.

CRFontSizeAdjust* cr_font_size_adjust_new void   ) 
 

Definition at line 356 of file cr-fonts.c.

References cr_utils_trace_info.

enum CRStatus cr_font_size_clear CRFontSize a_this  ) 
 

Definition at line 277 of file cr-fonts.c.

References ABSOLUTE_FONT_SIZE, CR_BAD_PARAM_ERROR, cr_num_destroy(), CR_OK, CR_UNKNOWN_TYPE_ERROR, INHERITED_FONT_SIZE, PREDEFINED_ABSOLUTE_FONT_SIZE, RELATIVE_FONT_SIZE, _CRFontSize::type, and _CRFontSize::value.

Referenced by cr_font_size_copy().

enum CRStatus cr_font_size_copy CRFontSize a_dst,
CRFontSize a_src
 

Definition at line 305 of file cr-fonts.c.

References ABSOLUTE_FONT_SIZE, CR_BAD_PARAM_ERROR, cr_font_size_clear(), cr_num_copy(), cr_num_new(), CR_OK, CR_UNKNOWN_TYPE_ERROR, INHERITED_FONT_SIZE, PREDEFINED_ABSOLUTE_FONT_SIZE, RELATIVE_FONT_SIZE, _CRFontSize::type, and _CRFontSize::value.

void cr_font_size_destroy CRFontSize a_font_size  ) 
 

Definition at line 339 of file cr-fonts.c.

References ABSOLUTE_FONT_SIZE, cr_num_destroy(), _CRFontSize::type, and _CRFontSize::value.

CRFontSize* cr_font_size_new void   ) 
 

Definition at line 261 of file cr-fonts.c.

References cr_utils_trace_info.


Generated on Wed Oct 1 01:36:50 2003 for Libcroco by doxygen 1.3.3