Gtk2::Pango::Matrix.3pm

Langue: en

Version: 2010-05-02 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Gtk2::Pango::Matrix

HIERARCHY

   Glib::Boxed
   +----Gtk2::Pango::Matrix
 
 

METHODS

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

*
$xx (double)
*
$xy (double)
*
$yx (double)
*
$yy (double)
*
$x0 (double)
*
$y0 (double)

$matrix->concat ($new_matrix)

*
$new_matrix (Gtk2::Pango::Matrix)

$matrix->rotate ($degrees)

*
$degrees (double)

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

*
$scale_x (double)
*
$scale_y (double)

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

*
$dx (double)
*
$dy (double)

Since: pango 1.16

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

*
$rect (array reference)

Since: pango 1.16

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

*
$x (double)
*
$y (double)

Since: pango 1.16

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

*
$rect (array reference)

Since: pango 1.16

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

*
$tx (double)
*
$ty (double)

double = $matrix->x0 ($new)

*
$new (double)

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

*
$new (double)

double = $matrix->xy ($new)

*
$new (double)

double = $matrix->y0 ($new)

*
$new (double)

double = $matrix->yx ($new)

*
$new (double)

double = $matrix->yy ($new)

*
$new (double)

SEE ALSO

Gtk2, Glib::Boxed Copyright (C) 2003-2008 by the gtk2-perl team.

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