Pango::Renderer(3) 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'

COPYRIGHT

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

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