Pango::Renderer
Section: User Contributed Perl Documentation (3pm)Updated: 2017-07-27
Index Return to Main Contents
NAME
Pango::Renderer - a base class for pango renderingHIERARCHY
Glib::Object +----Pango::Renderer
METHODS
$renderer->activate
Since: pango 1.8color or undef = $renderer->get_color ($part)
- •
- $part (Pango::RenderPart)
$renderer->set_color ($part, $color)
- •
- $part (Pango::RenderPart)
- •
- $color (Pango::Color or undef)
$renderer->deactivate
Since: pango 1.8$renderer->draw_error_underline ($x, $y, $width, $height)
- •
- $x (integer)
- •
- $y (integer)
- •
- $width (integer)
- •
- $height (integer)
$renderer->draw_glyph ($font, $glyph, $x, $y)
- •
- $font (Pango::Font)
- •
- $glyph (integer)
- •
- $x (double)
- •
- $y (double)
$renderer->draw_layout ($layout, $x, $y)
- •
- $layout (Pango::Layout)
- •
- $x (integer)
- •
- $y (integer)
$renderer->draw_layout_line ($line, $x, $y)
- •
- $line (Pango::LayoutLine)
- •
- $x (integer)
- •
- $y (integer)
$renderer->draw_rectangle ($part, $x, $y, $width, $height)
- •
- $part (Pango::RenderPart)
- •
- $x (integer)
- •
- $y (integer)
- •
- $width (integer)
- •
- $height (integer)
$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)
layout = $renderer->get_layout
Since: pango 1.20layoutline = $renderer->get_layout_line
Since: pango 1.20matrix or undef = $renderer->get_matrix
Since: pango 1.8$renderer->set_matrix ($matrix)
- •
- $matrix (Pango::Matrix or undef)
$renderer->part_changed ($part)
- •
- $part (Pango::RenderPart)
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::ObjectCOPYRIGHT
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
- SEE ALSO
- COPYRIGHT
This document was created by man2html, using the manual pages.
Time: 04:45:36 GMT, September 16, 2022
0 댓글