Pango::Renderer(3) User Contributed Perl Documentation Pango::Renderer(3)

Pango::Renderer - wrapper for PangoRenderer

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

Since: pango 1.8

$part (Pango::RenderPart)

Since: pango 1.8

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

  • $part (Pango::RenderPart)
  • $color (Pango::Color or undef)

Since: pango 1.8

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

Since: pango 1.20

Since: pango 1.20

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

  • 'foreground' / 'PANGO_RENDER_PART_FOREGROUND'
  • 'background' / 'PANGO_RENDER_PART_BACKGROUND'
  • 'underline' / 'PANGO_RENDER_PART_UNDERLINE'
  • 'strikethrough' / 'PANGO_RENDER_PART_STRIKETHROUGH'
  • 'overline' / 'PANGO_RENDER_PART_OVERLINE'

Pango, Glib::Object

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

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

2024-09-01 perl v5.40.0