| Conglomerate Programmer's Reference Manual |
|---|
cong-font —
CongFont* cong_font_load (const gchar *font_name); void cong_font_delete (CongFont *font); gint cong_font_get_height (CongFont *font, const gchar *text); PangoFontDescription* cong_font_get_pango_description (CongFont *font); void cong_font_draw_string_slow (GdkDrawable *drawable, CongFont *font, GdkGC *gc, const gchar *text, gint x, gint y, CongFontYPos y_pos); gint cong_font_string_width_slow (CongFont *font, const gchar *text);
CongFont* cong_font_load (const gchar *font_name);
Loads a font named font_name
| font_name : | The name of the font to load |
| Returns : | The CongFont |
gint cong_font_get_height (CongFont *font,
const gchar *text);Computes the height, in pixels, of text rendered in font.
| font : | a CongFont |
| text : | a string to render |
| Returns : | height, in pixels, of text rendered in font |
PangoFontDescription* cong_font_get_pango_description
(CongFont *font);
| font : | a CongFont |
| Returns : | the PangoFontDescription for font |
void cong_font_draw_string_slow (GdkDrawable *drawable,
CongFont *font,
GdkGC *gc,
const gchar *text,
gint x,
gint y,
CongFontYPos y_pos);TODO: Write me
| drawable : | a GdkDrawable |
| font : | a CongFont |
| gc : | a GdkGC |
| text : | a string |
| x : | a gint |
| y : | a gint |
| y_pos : |
| << Part VIII. Miscellaneous | cong-graph >> |