GNOME Print Reference Manual |
---|
struct GnomeRFont; struct GnomeRFontClass; GnomeRFont* gnome_font_get_rfont (GnomeFont *font, const gdouble *t); #define gnome_rfont_ref (o) #define gnome_rfont_unref (o) #define gnome_rfont_render_pgl_rgb8 #define gnome_rfont_render_pgl_rgba8 #define GNOME_RFONT_RENDER_DEFAULT GnomeFont* gnome_rfont_get_font (const GnomeRFont *rfont); GnomeFontFace* gnome_rfont_get_face (const GnomeRFont *rfont); gdouble* gnome_rfont_get_matrix (const GnomeRFont *rfont, gdouble *matrix); ArtPoint* gnome_rfont_get_glyph_stdadvance (GnomeRFont *rfont, gint glyph, ArtPoint *advance); ArtDRect* gnome_rfont_get_glyph_stdbbox (GnomeRFont *rfont, gint glyph, ArtDRect *bbox); ArtPoint* gnome_rfont_get_glyph_stdkerning (GnomeRFont *rfont, gint glyph0, gint glyph1, ArtPoint *kerning); const ArtBpath* gnome_rfont_get_glyph_bpath (GnomeRFont *rfont, gint glyph); const ArtSVP* gnome_rfont_get_glyph_svp (GnomeRFont *rfont, gint glyph); PangoFont* gnome_rfont_get_closest_pango_font (const GnomeRFont *rfont, PangoFontMap *map); PangoFontDescription* gnome_rfont_get_pango_description (const GnomeRFont *rfont);
GnomeRFont* gnome_font_get_rfont (GnomeFont *font, const gdouble *t);
Creates a new RFont from font and font->raster affine matrix Matrix can be 2x2, although if read, all 2x3 values are retrieved. RFont is referenced, so you have to unref it somewhere
font : |
|
t : |
|
Returns : | the font created, NULL on error. |
GnomeFontFace* gnome_rfont_get_face (const GnomeRFont *rfont);
rfont : | |
Returns : |
|
gdouble* gnome_rfont_get_matrix (const GnomeRFont *rfont, gdouble *matrix);
rfont : | |
matrix : | |
Returns : |
|
ArtPoint* gnome_rfont_get_glyph_stdadvance (GnomeRFont *rfont, gint glyph, ArtPoint *advance);
rfont : | |
glyph : | |
advance : | |
Returns : |
|
ArtDRect* gnome_rfont_get_glyph_stdbbox (GnomeRFont *rfont, gint glyph, ArtDRect *bbox);
rfont : | |
glyph : | |
bbox : | |
Returns : |
|
ArtPoint* gnome_rfont_get_glyph_stdkerning (GnomeRFont *rfont, gint glyph0, gint glyph1, ArtPoint *kerning);
rfont : | |
glyph0 : | |
glyph1 : | |
kerning : | |
Returns : |
|
const ArtBpath* gnome_rfont_get_glyph_bpath (GnomeRFont *rfont, gint glyph);
rfont : | |
glyph : | |
Returns : |
|
const ArtSVP* gnome_rfont_get_glyph_svp (GnomeRFont *rfont, gint glyph);
rfont : | |
glyph : | |
Returns : |
|
PangoFont* gnome_rfont_get_closest_pango_font (const GnomeRFont *rfont, PangoFontMap *map);
rfont : | |
map : | |
Returns : |
|
PangoFontDescription* gnome_rfont_get_pango_description (const GnomeRFont *rfont);
rfont : | |
Returns : |
|
<<< gnome-print-unit |