Pango::Renderer

Section: User Contributed Perl Documentation (3pm)
Updated: 2014-08-29
Index Return to Main Contents
 

NAME

Pango::Renderer - a base class for pango rendering  

HIERARCHY

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

 

METHODS

 

$renderer->activate

Since: pango 1.8  

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

$part (Pango::RenderPart)

Since: pango 1.8  

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

$part (Pango::RenderPart)
$color (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 (Pango::Font)
$glyph (integer)
$x (double)
$y (double)

Since: pango 1.8  

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

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

Since: pango 1.8  

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

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

Since: pango 1.8  

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

$part (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 (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 (Pango::Matrix or undef)

Since: pango 1.8  

$renderer->part_changed ($part)

$part (Pango::RenderPart)

Since: pango 1.8  

ENUMS AND FLAGS

 

enum Pango::RenderPart

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

SEE ALSO

Pango, Glib::Object  

COPYRIGHT

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

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


 

Index

NAME
HIERARCHY
METHODS
$renderer->activate
color or undef = $renderer->get_color ($part)
$renderer->set_color ($part, $color)
$renderer->deactivate
$renderer->draw_error_underline ($x, $y, $width, $height)
$renderer->draw_glyph ($font, $glyph, $x, $y)
$renderer->draw_layout ($layout, $x, $y)
$renderer->draw_layout_line ($line, $x, $y)
$renderer->draw_rectangle ($part, $x, $y, $width, $height)
$renderer->draw_trapezoid ($part, $y1_, $x11, $x21, $y2, $x12, $x22)
layout = $renderer->get_layout
layoutline = $renderer->get_layout_line
matrix or undef = $renderer->get_matrix
$renderer->set_matrix ($matrix)
$renderer->part_changed ($part)
ENUMS AND FLAGS
enum Pango::RenderPart
SEE ALSO
COPYRIGHT