Codex

Pango::Matrix

Section: User Contributed Perl Documentation (3pm)

Updated: 2014-08-29

Index?action=index Return to Main Contents


NAME

Pango::Matrix - A structure specifying a transformation between user-space coordinates and device coordinates

HIERARCHY

METHODS

matrix = Pango::Matrix->new ($xx=1., $xy=0., $yx=0., $yy=1., $x0=0., $y0=0.)

(double):
(double):
(double):
(double):
(double):
(double):

$matrix->concat ($new_matrix)

(Pango::Matrix):

$matrix->rotate ($degrees)

(double):

$matrix->scale ($scale_x, $scale_y)

(double):
(double):

(dx, dy) = $matrix->transform_distance ($dx, $dy)

(double):
(double):

Since: pango 1.16

array reference = $matrix->transform_pixel_rectangle ($rect)

(array reference):

Since: pango 1.16

(x, y) = $matrix->transform_point ($x, $y)

(double):
(double):

Since: pango 1.16

array reference = $matrix->transform_rectangle ($rect)

(array reference):

Since: pango 1.16

$matrix->translate ($tx, $ty)

(double):
(double):

double = $matrix->x0 ($new)

(double):

double = $matrix->xx ($new=0)

(double):

double = $matrix->xy ($new)

(double):

double = $matrix->y0 ($new)

(double):

double = $matrix->yx ($new)

(double):

double = $matrix->yy ($new)

(double):

SEE ALSO

Pango, Glib::Boxed

COPYRIGHT

Copyright (C) 2003-2011 by the gtk2-perl team.

This software is licensed under the LGPL. See Pango for a full notice.


Index

NAME

HIERARCHY

METHODS

matrix = Pango::Matrix->new ($xx=1., $xy=0., $yx=0., $yy=1., $x0=0., $y0=0.)

$matrix->concat ($new_matrix)

$matrix->rotate ($degrees)

$matrix->scale ($scale_x, $scale_y)

(dx, dy) = $matrix->transform_distance ($dx, $dy)

array reference = $matrix->transform_pixel_rectangle ($rect)

(x, y) = $matrix->transform_point ($x, $y)

array reference = $matrix->transform_rectangle ($rect)

$matrix->translate ($tx, $ty)

double = $matrix->x0 ($new)

double = $matrix->xx ($new=0)

double = $matrix->xy ($new)

double = $matrix->y0 ($new)

double = $matrix->yx ($new)

double = $matrix->yy ($new)

SEE ALSO

COPYRIGHT