Pango::Matrix(3)
π NAME π
Pango::Matrix β wrapper for PangoMatrix. That's the whole vibe. Welcome to Pango::Matrix(3), bestie, straight from the User Contributed Perl Documentation. π
π¦ HIERARCHY π¦
Like, the family tree is right here:
Glib::Boxed
+----Pango::Matrix
β¨ METHODS β¨
Okay so here's the full menu, no skips, no cap:
matrix = Pango::Matrix->new ($xx=1., $xy=0., $yx=0., $yy=1., $x0=0., $y0=0.)β constructor time, bestie. You get these six doubles:$xx (double)$xy (double)$yx (double)$yy (double)$x0 (double)$y0 (double)
$matrix->concat ($new_matrix)β hand it another matrix and it does its concat thing:$new_matrix (Pango::Matrix)
$matrix->rotate ($degrees)β spin it by$degrees:$degrees (double)
$matrix->scale ($scale_x, $scale_y)β scale-o'clock:$scale_x (double)$scale_y (double)
(dx, dy) = $matrix->transform_distance ($dx, $dy)β give it$dxand$dy, get(dx, dy)back:$dx (double)$dy (double)- Since:
pango 1.16
array reference = $matrix->transform_pixel_rectangle ($rect)β array ref in, array ref out:$rect (array reference)- Since:
pango 1.16
(x, y) = $matrix->transform_point ($x, $y)β give it$xand$y, get(x, y)back:$x (double)$y (double)- Since:
pango 1.16
array reference = $matrix->transform_rectangle ($rect)β another array ref in, array ref out moment:$rect (array reference)- Since:
pango 1.16
$matrix->translate ($tx, $ty)β translate by$txand$ty:$tx (double)$ty (double)
double = $matrix->x0 ($new)β x0 getter/setter energy:$new (double)
double = $matrix->xx ($new=0)β xx getter/setter, and yes$newdefaults to0:$new (double)
double = $matrix->xy ($new)β xy getter/setter:$new (double)
double = $matrix->y0 ($new)β y0 getter/setter:$new (double)
double = $matrix->yx ($new)β yx getter/setter:$new (double)
double = $matrix->yy ($new)β yy getter/setter:$new (double)
π SEE ALSO π
Go look at Pango and Glib::Boxed, bestie. They're right there.
π COPYRIGHT π
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Pango for a full notice.
bye bestie π«Ά this iconic page is from perl v5.42.0, dated 2019-09-16, and it's Pango::Matrix(3) β periodt. π
β¨
π¦ where this page comes from
- opensuse-leap 16.0: perl-Pango 1.227-bp160.1.13 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: perl-Pango 1.227-bp160.1.13 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: perl-Pango 1.227-bp160.1.13 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: perl-Pango 1.227-bp160.1.13 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms