Gnome2::Print::FontFace.3pm

Langue: en

Version: 2010-05-12 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Gnome2::Print::FontFace

HIERARCHY

   Glib::Object
   +----Gnome2::Print::FontFace
 
 

METHODS

double = $face->get_ascender

double = $face->get_descender

uchar = $face->get_family_name

fontface = Gnome2::Print::FontFace->find ($name)

*
$name (Glib::UChar)

fontface = Gnome2::Print::FontFace->find_closest ($name)

*
$name (Glib::UChar)

fontface = Gnome2::Print::FontFace->find_closest_from_pango_description ($desc)

*
$desc (Gtk2::Pango::FontDescription)

fontface = Gnome2::Print::FontFace->find_closest_from_pango_font ($pfont)

*
$pfont (Gtk2::Pango::Font)

fontface = Gnome2::Print::FontFace->find_closest_from_weight_slant ($family, $weight, $italic)

*
$family (Glib::UChar)
*
$weight (integer)
*
$italic (boolean)

fontface = Gnome2::Print::FontFace->find_from_family_and_style ($family, $style)

*
$family (Glib::UChar)
*
$style (Glib::UChar)

font = $face->get_font_default ($size)

*
$size (double)

font = $face->get_font ($size, $xres, $yres)

*
$size (double)
*
$xres (double)
*
$yres (double)

uchar = $face->get_glyph_ps_name ($glyph)

*
$glyph (integer)

($x, $y) = $face->get_glyph_stdadvance ($glyph)

*
$glyph (integer)

($x0, $y0, $x1, $y1) = $face->get_glyph_stdbbox ($glyph)

*
$glyph (integer)

($x, $y) = $face->get_glyph_stdkerning ($glyph0, $glyph1)

*
$glyph0 (integer)
*
$glyph1 (integer)

double = $face->get_glyph_width ($glyph)

*
$glyph (integer)

boolean = $face->is_fixed_width

boolean = $face->is_italic

uchar = $face->get_name

integer = $face->get_num_glyphs

uchar = $face->get_ps_name

uchar = $face->get_species_name

($x0, $y0, $x1, $y1) = $face->get_stdbbox

double = $face->get_underline_position

double = $face->get_underline_thickness

PROPERTIES

'Ascender' (double : readable)
'CapHeight' (double : readable)
'Descender' (double : readable)
'FamilyName' (string : readable)
'FontBBox' (gpointer : readable)
'FontName' (string : readable)
'FullName' (string : readable)
'IsFixedPitch' (boolean : readable)
'ItalicAngle' (double : readable)
'UnderlinePosition' (double : readable)
'UnderlineThickness' (double : readable)
'Version' (string : readable)
'Weight' (string : readable)
'XHeight' (double : readable)

SEE ALSO

Gnome2::Print, Glib::Object Copyright (C) 2003-2006 by the gtk2-perl team.

This software is licensed under the LGPL. See Gnome2::Print for a full notice.