.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.0102 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Pango::Context 3" .TH Pango::Context 3 2024-09-01 "perl v5.40.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME Pango::Context \- wrapper for PangoContext .SH HIERARCHY .IX Header "HIERARCHY" .Vb 2 \& Glib::Object \& +\-\-\-\-Pango::Context .Ve .SH METHODS .IX Header "METHODS" .ie n .SS "direction = $context\->\fBget_base_dir\fP" .el .SS "direction = \f(CW$context\fP\->\fBget_base_dir\fP" .IX Subsection "direction = $context->get_base_dir" .ie n .SS "$context\->\fBset_base_dir\fP ($direction)" .el .SS "\f(CW$context\fP\->\fBset_base_dir\fP ($direction)" .IX Subsection "$context->set_base_dir ($direction)" .IP \(bu 4 \&\f(CW$direction\fR (Pango::Direction) .ie n .SS "gravity = $context\->\fBget_base_gravity\fP" .el .SS "gravity = \f(CW$context\fP\->\fBget_base_gravity\fP" .IX Subsection "gravity = $context->get_base_gravity" Since: pango 1.16 .ie n .SS "$context\->\fBset_base_gravity\fP ($gravity)" .el .SS "\f(CW$context\fP\->\fBset_base_gravity\fP ($gravity)" .IX Subsection "$context->set_base_gravity ($gravity)" .IP \(bu 4 \&\f(CW$gravity\fR (Pango::Gravity) .PP Since: pango 1.16 .ie n .SS "fontdescription = $context\->\fBget_font_description\fP" .el .SS "fontdescription = \f(CW$context\fP\->\fBget_font_description\fP" .IX Subsection "fontdescription = $context->get_font_description" .ie n .SS "$context\->\fBset_font_description\fP ($desc)" .el .SS "\f(CW$context\fP\->\fBset_font_description\fP ($desc)" .IX Subsection "$context->set_font_description ($desc)" .IP \(bu 4 \&\f(CW$desc\fR (Pango::FontDescription) .ie n .SS "fontmap = $context\->\fBget_font_map\fP" .el .SS "fontmap = \f(CW$context\fP\->\fBget_font_map\fP" .IX Subsection "fontmap = $context->get_font_map" Since: pango 1.6 .ie n .SS "gravity = $context\->\fBget_gravity\fP" .el .SS "gravity = \f(CW$context\fP\->\fBget_gravity\fP" .IX Subsection "gravity = $context->get_gravity" Since: pango 1.16 .ie n .SS "gravityhint = $context\->\fBget_gravity_hint\fP" .el .SS "gravityhint = \f(CW$context\fP\->\fBget_gravity_hint\fP" .IX Subsection "gravityhint = $context->get_gravity_hint" Since: pango 1.16 .ie n .SS "$context\->\fBset_gravity_hint\fP ($hint)" .el .SS "\f(CW$context\fP\->\fBset_gravity_hint\fP ($hint)" .IX Subsection "$context->set_gravity_hint ($hint)" .IP \(bu 4 \&\f(CW$hint\fR (Pango::GravityHint) .PP Since: pango 1.16 .ie n .SS "language = $context\->\fBget_language\fP" .el .SS "language = \f(CW$context\fP\->\fBget_language\fP" .IX Subsection "language = $context->get_language" .ie n .SS "$context\->\fBset_language\fP ($language)" .el .SS "\f(CW$context\fP\->\fBset_language\fP ($language)" .IX Subsection "$context->set_language ($language)" .IP \(bu 4 \&\f(CW$language\fR (Pango::Language) .ie n .SS "@families = $context\->\fBlist_families\fP" .el .SS "\f(CW@families\fP = \f(CW$context\fP\->\fBlist_families\fP" .IX Subsection "@families = $context->list_families" .ie n .SS "font = $context\->\fBload_font\fP ($desc)" .el .SS "font = \f(CW$context\fP\->\fBload_font\fP ($desc)" .IX Subsection "font = $context->load_font ($desc)" .IP \(bu 4 \&\f(CW$desc\fR (Pango::FontDescription or undef) .ie n .SS "fontset = $context\->\fBload_fontset\fP ($desc, $language)" .el .SS "fontset = \f(CW$context\fP\->\fBload_fontset\fP ($desc, \f(CW$language\fP)" .IX Subsection "fontset = $context->load_fontset ($desc, $language)" .IP \(bu 4 \&\f(CW$desc\fR (Pango::FontDescription) .IP \(bu 4 \&\f(CW$language\fR (Pango::Language or undef) .ie n .SS "matrix or undef = $context\->\fBget_matrix\fP" .el .SS "matrix or undef = \f(CW$context\fP\->\fBget_matrix\fP" .IX Subsection "matrix or undef = $context->get_matrix" Since: pango 1.6 .ie n .SS "$context\->\fBset_matrix\fP ($matrix)" .el .SS "\f(CW$context\fP\->\fBset_matrix\fP ($matrix)" .IX Subsection "$context->set_matrix ($matrix)" .IP \(bu 4 \&\f(CW$matrix\fR (Pango::Matrix or undef) .PP Since: pango 1.6 .ie n .SS "fontmetrics = $context\->\fBget_metrics\fP ($desc, $language)" .el .SS "fontmetrics = \f(CW$context\fP\->\fBget_metrics\fP ($desc, \f(CW$language\fP)" .IX Subsection "fontmetrics = $context->get_metrics ($desc, $language)" .IP \(bu 4 \&\f(CW$desc\fR (Pango::FontDescription) .IP \(bu 4 \&\f(CW$language\fR (Pango::Language or undef) .SH "ENUMS AND FLAGS" .IX Header "ENUMS AND FLAGS" .SS "enum Pango::Direction" .IX Subsection "enum Pango::Direction" .IP \(bu 4 \&'ltr' / 'PANGO_DIRECTION_LTR' .IP \(bu 4 \&'rtl' / 'PANGO_DIRECTION_RTL' .IP \(bu 4 \&'ttb\-ltr' / 'PANGO_DIRECTION_TTB_LTR' .IP \(bu 4 \&'ttb\-rtl' / 'PANGO_DIRECTION_TTB_RTL' .IP \(bu 4 \&'weak\-ltr' / 'PANGO_DIRECTION_WEAK_LTR' .IP \(bu 4 \&'weak\-rtl' / 'PANGO_DIRECTION_WEAK_RTL' .IP \(bu 4 \&'neutral' / 'PANGO_DIRECTION_NEUTRAL' .SS "enum Pango::Gravity" .IX Subsection "enum Pango::Gravity" .IP \(bu 4 \&'south' / 'PANGO_GRAVITY_SOUTH' .IP \(bu 4 \&'east' / 'PANGO_GRAVITY_EAST' .IP \(bu 4 \&'north' / 'PANGO_GRAVITY_NORTH' .IP \(bu 4 \&'west' / 'PANGO_GRAVITY_WEST' .IP \(bu 4 \&'auto' / 'PANGO_GRAVITY_AUTO' .SS "enum Pango::GravityHint" .IX Subsection "enum Pango::GravityHint" .IP \(bu 4 \&'natural' / 'PANGO_GRAVITY_HINT_NATURAL' .IP \(bu 4 \&'strong' / 'PANGO_GRAVITY_HINT_STRONG' .IP \(bu 4 \&'line' / 'PANGO_GRAVITY_HINT_LINE' .SH "SEE ALSO" .IX Header "SEE ALSO" Pango, Glib::Object .SH COPYRIGHT .IX Header "COPYRIGHT" Copyright (C) 2003\-2011 by the gtk2\-perl team. .PP This software is licensed under the LGPL. See Pango for a full notice.