1Pango::Matrix(3)      User Contributed Perl Documentation     Pango::Matrix(3)
2
3
4

NAME

6       Pango::Matrix - wrapper for PangoMatrix
7

HIERARCHY

9         Glib::Boxed
10         +----Pango::Matrix
11

METHODS

13   matrix = Pango::Matrix->new ($xx=1., $xy=0., $yx=0., $yy=1., $x0=0.,
14       $y0=0.)
15       •   $xx (double)
16
17       •   $xy (double)
18
19       •   $yx (double)
20
21       •   $yy (double)
22
23       •   $x0 (double)
24
25       •   $y0 (double)
26
27   $matrix->concat ($new_matrix)
28       •   $new_matrix (Pango::Matrix)
29
30   $matrix->rotate ($degrees)
31       •   $degrees (double)
32
33   $matrix->scale ($scale_x, $scale_y)
34       •   $scale_x (double)
35
36       •   $scale_y (double)
37
38   (dx, dy) = $matrix->transform_distance ($dx, $dy)
39       •   $dx (double)
40
41       •   $dy (double)
42
43       Since: pango 1.16
44
45   array reference = $matrix->transform_pixel_rectangle ($rect)
46       •   $rect (array reference)
47
48       Since: pango 1.16
49
50   (x, y) = $matrix->transform_point ($x, $y)
51       •   $x (double)
52
53       •   $y (double)
54
55       Since: pango 1.16
56
57   array reference = $matrix->transform_rectangle ($rect)
58       •   $rect (array reference)
59
60       Since: pango 1.16
61
62   $matrix->translate ($tx, $ty)
63       •   $tx (double)
64
65       •   $ty (double)
66
67   double = $matrix->x0 ($new)
68       •   $new (double)
69
70   double = $matrix->xx ($new=0)
71       •   $new (double)
72
73   double = $matrix->xy ($new)
74       •   $new (double)
75
76   double = $matrix->y0 ($new)
77       •   $new (double)
78
79   double = $matrix->yx ($new)
80       •   $new (double)
81
82   double = $matrix->yy ($new)
83       •   $new (double)
84

SEE ALSO

86       Pango, Glib::Boxed
87
89       Copyright (C) 2003-2011 by the gtk2-perl team.
90
91       This software is licensed under the LGPL.  See Pango for a full notice.
92
93
94
95perl v5.32.1                      2021-01-27                  Pango::Matrix(3)
Impressum