![]() |
![]() |
![]() |
Conglomerate Programmer's Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
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
|
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
.
|
a CongFont |
|
a string to render |
Returns : |
height, in pixels, of text rendered in font
|
PangoFontDescription * cong_font_get_pango_description (CongFont *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