Gtk2::Pango::Renderer.3pm

Langue: en

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

Section: 3 (Bibliothèques de fonctions)

NAME

Gtk2::Pango::Renderer

HIERARCHY

   Glib::Object
   +----Gtk2::Pango::Renderer
 
 

METHODS

$renderer->activate

Since: pango 1.8

color or undef = $renderer->get_color ($part)

*
$part (Gtk2::Pango::RenderPart)

Since: pango 1.8

$renderer->set_color ($part, $color)

*
$part (Gtk2::Pango::RenderPart)
*
$color (Gtk2::Pango::Color or undef)

Since: pango 1.8

$renderer->deactivate

Since: pango 1.8

$renderer->draw_error_underline ($x, $y, $width, $height)

*
$x (integer)
*
$y (integer)
*
$width (integer)
*
$height (integer)

Since: pango 1.8

$renderer->draw_glyph ($font, $glyph, $x, $y)

*
$font (Gtk2::Pango::Font)
*
$glyph (integer)
*
$x (double)
*
$y (double)

Since: pango 1.8

$renderer->draw_layout ($layout, $x, $y)

*
$layout (Gtk2::Pango::Layout)
*
$x (integer)
*
$y (integer)

Since: pango 1.8

$renderer->draw_layout_line ($line, $x, $y)

*
$line (Gtk2::Pango::LayoutLine)
*
$x (integer)
*
$y (integer)

Since: pango 1.8

$renderer->draw_rectangle ($part, $x, $y, $width, $height)

*
$part (Gtk2::Pango::RenderPart)
*
$x (integer)
*
$y (integer)
*
$width (integer)
*
$height (integer)

Since: pango 1.8

$renderer->draw_trapezoid ($part, $y1_, $x11, $x21, $y2, $x12, $x22)

*
$part (Gtk2::Pango::RenderPart)
*
$y1_ (double)
*
$x11 (double)
*
$x21 (double)
*
$y2 (double)
*
$x12 (double)
*
$x22 (double)

Since: pango 1.8

layout = $renderer->get_layout

Since: pango 1.20

layoutline = $renderer->get_layout_line

Since: pango 1.20

matrix or undef = $renderer->get_matrix

Since: pango 1.8

$renderer->set_matrix ($matrix)

*
$matrix (Gtk2::Pango::Matrix or undef)

Since: pango 1.8

$renderer->part_changed ($part)

*
$part (Gtk2::Pango::RenderPart)

Since: pango 1.8

ENUMS AND FLAGS

enum Gtk2::Pango::RenderPart

*
'foreground' / 'PANGO_RENDER_PART_FOREGROUND'
*
'background' / 'PANGO_RENDER_PART_BACKGROUND'
*
'underline' / 'PANGO_RENDER_PART_UNDERLINE'
*
'strikethrough' / 'PANGO_RENDER_PART_STRIKETHROUGH'

SEE ALSO

Gtk2, Glib::Object Copyright (C) 2003-2008 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.