Next:
Gnome2::Print::Font::Constants
Previous:
Gnome2::Print::Dialog
 [Gtk2-Perl - Table of Contents][Gtk2-Perl - Index]

Gnome2::Print::Font



NAME

Gnome2::Print::Font

HIERARCHY

  Glib::Object
  +----Gnome2::Print::Font

METHODS

double = $font->get_ascender

integer = Gnome2::Print::Font->black

integer = Gnome2::Print::Font->bold

integer = Gnome2::Print::Font->book

integer = Gnome2::Print::Font->constants

integer = Gnome2::Print::Font->demi

double = $font->get_descender

integer = Gnome2::Print::Font->extra_light

integer = Gnome2::Print::Font->extrablack

integer = Gnome2::Print::Font->extrabold

fontface = $font->get_face

list = Gnome2::Print::Font->family_list

This method returns a list of strings, each one containing a font family present on this system.

uchar = $font->get_family_name

font = Gnome2::Print::Font->find ($name, $size)

font = Gnome2::Print::Font->find_closest ($name, $size)

font = Gnome2::Print::Font->find_closest_from_full_name ($string)

font = $family->find_closest_from_weight_slant ($weight, $italic, $size)

font = Gnome2::Print::Font->find_from_full_name ($string)

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

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

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

double = $font->get_glyph_width ($glyph)

integer = Gnome2::Print::Font->heaviest

integer = Gnome2::Print::Font->heavy

integer = Gnome2::Print::Font->ligh

integer = Gnome2::Print::Font->lightest

list = Gnome2::Print::Font->list

This method returns a list of strings, each one containing a font name present on this system.

integer = $font->lookup_default ($unicode)

integer = Gnome2::Print::Font->medium

uchar = $font->get_name

uchar = $font->get_ps_name

integer = Gnome2::Print::Font->regular

integer = Gnome2::Print::Font->semi

double = $font->get_size

uchar = $font->get_species_name

list = Gnome2::Print::Font->style_list ($family)

This method returns a list of strings, each one containing a style for the given font family.

integer = Gnome2::Print::Font->thin

double = $font->get_underline_position

double = $font->get_underline_thickness

double = $font->get_width_utf8 ($s)

double = $font->get_width_utf8_sized ($s, $n)

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)
'Size' (double : readable)
'UnderlinePosition' (double : readable)
'UnderlineThickness' (double : readable)
'Version' (string : readable)
'Weight' (string : readable)
'XHeight' (double : readable)

SEE ALSO

Gnome2::Print, Glib::Object

COPYRIGHT

Copyright (C) 2003-2004 by the gtk2-perl team.

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


[Top] Generated by Marek::Pod::HTML 0.49 on Wed Dec 16 22:58:53 2009