.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" 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::Matrix 3pm" .TH Pango::Matrix 3pm 2024-03-07 "perl v5.38.2" "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::Matrix \- A structure specifying a transformation between user\-space coordinates and device coordinates .SH HIERARCHY .IX Header "HIERARCHY" .Vb 2 \& Glib::Boxed \& +\-\-\-\-Pango::Matrix .Ve .SH METHODS .IX Header "METHODS" .ie n .SS "matrix = Pango::Matrix\->\fBnew\fP ($xx=1., $xy=0., $yx=0., $yy=1., $x0=0., $y0=0.)" .el .SS "matrix = Pango::Matrix\->\fBnew\fP ($xx=1., \f(CW$xy\fP=0., \f(CW$yx\fP=0., \f(CW$yy\fP=1., \f(CW$x0\fP=0., \f(CW$y0\fP=0.)" .IX Subsection "matrix = Pango::Matrix->new ($xx=1., $xy=0., $yx=0., $yy=1., $x0=0., $y0=0.)" .IP \(bu 4 \&\f(CW$xx\fR (double) .IP \(bu 4 \&\f(CW$xy\fR (double) .IP \(bu 4 \&\f(CW$yx\fR (double) .IP \(bu 4 \&\f(CW$yy\fR (double) .IP \(bu 4 \&\f(CW$x0\fR (double) .IP \(bu 4 \&\f(CW$y0\fR (double) .ie n .SS "$matrix\->\fBconcat\fP ($new_matrix)" .el .SS "\f(CW$matrix\fP\->\fBconcat\fP ($new_matrix)" .IX Subsection "$matrix->concat ($new_matrix)" .IP \(bu 4 \&\f(CW$new_matrix\fR (Pango::Matrix) .ie n .SS "$matrix\->\fBrotate\fP ($degrees)" .el .SS "\f(CW$matrix\fP\->\fBrotate\fP ($degrees)" .IX Subsection "$matrix->rotate ($degrees)" .IP \(bu 4 \&\f(CW$degrees\fR (double) .ie n .SS "$matrix\->\fBscale\fP ($scale_x, $scale_y)" .el .SS "\f(CW$matrix\fP\->\fBscale\fP ($scale_x, \f(CW$scale_y\fP)" .IX Subsection "$matrix->scale ($scale_x, $scale_y)" .IP \(bu 4 \&\f(CW$scale_x\fR (double) .IP \(bu 4 \&\f(CW$scale_y\fR (double) .ie n .SS "(dx, dy) = $matrix\->\fBtransform_distance\fP ($dx, $dy)" .el .SS "(dx, dy) = \f(CW$matrix\fP\->\fBtransform_distance\fP ($dx, \f(CW$dy\fP)" .IX Subsection "(dx, dy) = $matrix->transform_distance ($dx, $dy)" .IP \(bu 4 \&\f(CW$dx\fR (double) .IP \(bu 4 \&\f(CW$dy\fR (double) .PP Since: pango 1.16 .ie n .SS "array reference = $matrix\->\fBtransform_pixel_rectangle\fP ($rect)" .el .SS "array reference = \f(CW$matrix\fP\->\fBtransform_pixel_rectangle\fP ($rect)" .IX Subsection "array reference = $matrix->transform_pixel_rectangle ($rect)" .IP \(bu 4 \&\f(CW$rect\fR (array reference) .PP Since: pango 1.16 .ie n .SS "(x, y) = $matrix\->\fBtransform_point\fP ($x, $y)" .el .SS "(x, y) = \f(CW$matrix\fP\->\fBtransform_point\fP ($x, \f(CW$y\fP)" .IX Subsection "(x, y) = $matrix->transform_point ($x, $y)" .IP \(bu 4 \&\f(CW$x\fR (double) .IP \(bu 4 \&\f(CW$y\fR (double) .PP Since: pango 1.16 .ie n .SS "array reference = $matrix\->\fBtransform_rectangle\fP ($rect)" .el .SS "array reference = \f(CW$matrix\fP\->\fBtransform_rectangle\fP ($rect)" .IX Subsection "array reference = $matrix->transform_rectangle ($rect)" .IP \(bu 4 \&\f(CW$rect\fR (array reference) .PP Since: pango 1.16 .ie n .SS "$matrix\->\fBtranslate\fP ($tx, $ty)" .el .SS "\f(CW$matrix\fP\->\fBtranslate\fP ($tx, \f(CW$ty\fP)" .IX Subsection "$matrix->translate ($tx, $ty)" .IP \(bu 4 \&\f(CW$tx\fR (double) .IP \(bu 4 \&\f(CW$ty\fR (double) .ie n .SS "double = $matrix\->\fBx0\fP ($new)" .el .SS "double = \f(CW$matrix\fP\->\fBx0\fP ($new)" .IX Subsection "double = $matrix->x0 ($new)" .IP \(bu 4 \&\f(CW$new\fR (double) .ie n .SS "double = $matrix\->\fBxx\fP ($new=0)" .el .SS "double = \f(CW$matrix\fP\->\fBxx\fP ($new=0)" .IX Subsection "double = $matrix->xx ($new=0)" .IP \(bu 4 \&\f(CW$new\fR (double) .ie n .SS "double = $matrix\->\fBxy\fP ($new)" .el .SS "double = \f(CW$matrix\fP\->\fBxy\fP ($new)" .IX Subsection "double = $matrix->xy ($new)" .IP \(bu 4 \&\f(CW$new\fR (double) .ie n .SS "double = $matrix\->\fBy0\fP ($new)" .el .SS "double = \f(CW$matrix\fP\->\fBy0\fP ($new)" .IX Subsection "double = $matrix->y0 ($new)" .IP \(bu 4 \&\f(CW$new\fR (double) .ie n .SS "double = $matrix\->\fByx\fP ($new)" .el .SS "double = \f(CW$matrix\fP\->\fByx\fP ($new)" .IX Subsection "double = $matrix->yx ($new)" .IP \(bu 4 \&\f(CW$new\fR (double) .ie n .SS "double = $matrix\->\fByy\fP ($new)" .el .SS "double = \f(CW$matrix\fP\->\fByy\fP ($new)" .IX Subsection "double = $matrix->yy ($new)" .IP \(bu 4 \&\f(CW$new\fR (double) .SH "SEE ALSO" .IX Header "SEE ALSO" Pango, Glib::Boxed .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.