Pango::Renderer(3)

πŸ’– NAME πŸ’–

Pango::Renderer is the Perl wrapper for PangoRenderer, bestie β€” that's the whole name-vibe. Welcome to the Pango::Renderer(3) page from the User Contributed Perl Documentation. πŸŽ€

πŸ¦‹ HIERARCHY πŸ¦‹

It slots into the object family like this:

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

✨ METHODS ✨

Every method below hangs off $renderer, and I kept all the Since: lore notes because we respect the timeline. πŸ’…

🌸 $renderer->activate

Calls activate on the renderer, no extra args. 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

Calls deactivate on the renderer, no extra args. 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

Gets the layout, no extra args. Since: pango 1.20 ✨

🌸 layoutline = $renderer->get_layout_line

Gets the layout line, no extra args. Since: pango 1.20 ✨

🫢 matrix or undef = $renderer->get_matrix

Gets the matrix, no extra args. 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' β€” the foreground part, slay πŸ’…
  • 'background' / 'PANGO_RENDER_PART_BACKGROUND' β€” the background part ✨
  • 'underline' / 'PANGO_RENDER_PART_UNDERLINE' β€” the underline part πŸŽ€
  • 'strikethrough' / 'PANGO_RENDER_PART_STRIKETHROUGH' β€” the strikethrough part πŸ’€
  • 'overline' / 'PANGO_RENDER_PART_OVERLINE' β€” the overline part πŸ¦‹

πŸ” SEE ALSO πŸ”

Go hang with Pango and Glib::Object, bestie β€” they're right there in the family chat. 🫢

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

This software is licensed under the LGPL. See Pango for a full notice. πŸ’œ


That's the whole manual, bestie β€” no cap. Source/version: perl v5.42.0; date: 2019-09-16. Mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from