Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pango::renderer(3pm) [debian man page]

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

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) o $part (Pango::RenderPart) Since: pango 1.8 $renderer->set_color ($part, $color) o $part (Pango::RenderPart) o $color (Pango::Color or undef) Since: pango 1.8 $renderer->deactivate Since: pango 1.8 $renderer->draw_error_underline ($x, $y, $width, $height) o $x (integer) o $y (integer) o $width (integer) o $height (integer) Since: pango 1.8 $renderer->draw_glyph ($font, $glyph, $x, $y) o $font (Pango::Font) o $glyph (integer) o $x (double) o $y (double) Since: pango 1.8 $renderer->draw_layout ($layout, $x, $y) o $layout (Pango::Layout) o $x (integer) o $y (integer) Since: pango 1.8 $renderer->draw_layout_line ($line, $x, $y) o $line (Pango::LayoutLine) o $x (integer) o $y (integer) Since: pango 1.8 $renderer->draw_rectangle ($part, $x, $y, $width, $height) o $part (Pango::RenderPart) o $x (integer) o $y (integer) o $width (integer) o $height (integer) Since: pango 1.8 $renderer->draw_trapezoid ($part, $y1_, $x11, $x21, $y2, $x12, $x22) o $part (Pango::RenderPart) o $y1_ (double) o $x11 (double) o $x21 (double) o $y2 (double) o $x12 (double) o $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) o $matrix (Pango::Matrix or undef) Since: pango 1.8 $renderer->part_changed ($part) o $part (Pango::RenderPart) Since: pango 1.8 ENUMS AND FLAGS
enum Pango::RenderPart o 'foreground' / 'PANGO_RENDER_PART_FOREGROUND' o 'background' / 'PANGO_RENDER_PART_BACKGROUND' o 'underline' / 'PANGO_RENDER_PART_UNDERLINE' o '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. perl v5.14.2 2011-11-15 Pango::Renderer(3pm)

Check Out this Related Man Page

Pango::Layout(3pm)					User Contributed Perl Documentation					Pango::Layout(3pm)

NAME
Pango::Layout - an object representing a paragraph of text with attributes HIERARCHY
Glib::Object +----Pango::Layout METHODS
layout = Pango::Layout->new ($context) o $context (Pango::Context) alignment = $layout->get_alignment $layout->set_alignment ($alignment) o $alignment (Pango::Alignment) attrlist or undef = $layout->get_attributes $layout->set_attributes ($attrs) o $attrs (Pango::AttrList or undef) boolean = $layout->get_auto_dir Since: pango 1.4 $layout->set_auto_dir ($auto_dir) o $auto_dir (boolean) Since: pango 1.4 integer = $layout->get_baseline Since: pango 1.22 $layout->context_changed context = $layout->get_context layout = $src->copy (strong_pos, weak_pos) = $layout->get_cursor_pos ($index) o $index_ (integer) ellipsizemode = $layout->get_ellipsize Since: pango 1.6 $layout->set_ellipsize ($ellipsize) o $ellipsize (Pango::EllipsizeMode) Since: pango 1.6 (ink_rect, logical_rect) = $layout->get_extents (ink_rect, logical_rect) = $layout->get_pixel_extents fontdescription or undef = $layout->get_font_description Since: pango 1.8 $layout->set_font_description ($desc) o $desc (Pango::FontDescription or undef) integer = $layout->get_height Since: pango 1.20 $layout->set_height ($height) o $height (integer) Since: pango 1.20 integer = $layout->get_indent $layout->set_indent ($newval) o $newval (integer) array reference = $layout->index_to_pos ($index_) o $index_ (integer) boolean = $layout->is_ellipsized Since: pango 1.16 boolean = $layout->is_wrapped Since: pango 1.16 layoutiter = $layout->get_iter integer = $layout->get_justify $layout->set_justify ($newval) o $newval (integer) integer = $layout->get_line_count layoutline or undef = $layout->get_line ($line) o $line (integer) layoutline or undef = $layout->get_line_readonly ($line) o $line (integer) Since: pango 1.16 list = $layout->get_lines list = $layout->get_lines_readonly Since: pango 1.16 list = $layout->get_log_attrs Returns a list of Pango::LogAttr's $layout->set_markup ($markup) o $markup (string) accel_char = $layout->set_markup_with_accel ($markup, $accel_marker) o $markup (string) o $accel_marker (character) (new_index, new_trailing) = $layout->move_cursor_visually ($strong, $old_index, $old_trailing, $direction) o $strong (boolean) o $old_index (integer) o $old_trailing (integer) o $direction (integer) list = $layout->get_pixel_extents (width, height) = $layout->get_pixel_size integer = $layout->get_single_paragraph_mode $layout->set_single_paragraph_mode ($newval) o $newval (integer) (width, height) = $layout->get_size integer = $layout->get_spacing $layout->set_spacing ($newval) o $newval (integer) tabarray or undef = $layout->get_tabs $layout->set_tabs ($tabs) o $tabs (Pango::TabArray or undef) string = $layout->get_text $layout->set_text ($text) o $text (string) integer = $layout->get_unknown_glyphs_count Since: pango 1.16 integer = $layout->get_width $layout->set_width ($newval) o $newval (integer) wrapmode = $layout->get_wrap $layout->set_wrap ($wrap) o $wrap (Pango::WrapMode) (index, trailing) = $layout->xy_to_index ($x, $y) o $x (integer) o $y (integer) ENUMS AND FLAGS
enum Pango::Alignment o 'left' / 'PANGO_ALIGN_LEFT' o 'center' / 'PANGO_ALIGN_CENTER' o 'right' / 'PANGO_ALIGN_RIGHT' enum Pango::EllipsizeMode o 'none' / 'PANGO_ELLIPSIZE_NONE' o 'start' / 'PANGO_ELLIPSIZE_START' o 'middle' / 'PANGO_ELLIPSIZE_MIDDLE' o 'end' / 'PANGO_ELLIPSIZE_END' enum Pango::WrapMode o 'word' / 'PANGO_WRAP_WORD' o 'char' / 'PANGO_WRAP_CHAR' o 'word-char' / 'PANGO_WRAP_WORD_CHAR' 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. perl v5.14.2 2011-11-15 Pango::Layout(3pm)
Man Page