DOKK / manpages / debian 12 / libpango-perl / Pango::Matrix.3pm.en
Pango::Matrix(3pm) User Contributed Perl Documentation Pango::Matrix(3pm)

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

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

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

$matrix->concat ($new_matrix)

$new_matrix (Pango::Matrix)

$matrix->rotate ($degrees)

$degrees (double)

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

  • $scale_x (double)
  • $scale_y (double)

  • $dx (double)
  • $dy (double)

Since: pango 1.16

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

$rect (array reference)

Since: pango 1.16

  • $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)

Pango, Glib::Boxed

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

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

2022-10-20 perl v5.36.0