Index

Package: Matrix

Description

package Pango.Matrix is
A structure specifying a transformation between user-space coordinates and device coordinates. The transformation is given by x_device = x_user * matrix->xx + y_user * matrix->xy + matrix->x0; y_device = x_user * matrix->yx + y_user * matrix->yy + matrix->y0;

Types

Pango_Matrix

type Pango_Matrix is record
      Xx : Gdouble;
      Xy : Gdouble;
      Yx : Gdouble;
      Yy : Gdouble;
      X0 : Gdouble;
      Y0 : Gdouble;
   end record;

Subprograms & Entries

From_Object_Free

function From_Object_Free 
(B: access Pango_Matrix) return Pango_Matrix;

Get_Type

function Get_Type return Glib.GType;

Concat

procedure Concat 
(Self: Pango_Matrix;
New_Matrix: Pango_Matrix);

Get_Font_Scale_Factor

function Get_Font_Scale_Factor 
(Self: Pango_Matrix) return Gdouble;

Rotate

procedure Rotate 
(Self: in out Pango_Matrix;
Degrees: Gdouble);

Scale

procedure Scale 
(Self: in out Pango_Matrix;
Scale_X: Gdouble;
Scale_Y: Gdouble);

Transform_Distance

procedure Transform_Distance 
(Self: Pango_Matrix;
Dx: in out Gdouble;
Dy: in out Gdouble);

Transform_Pixel_Rectangle

procedure Transform_Pixel_Rectangle 
(Self: Pango_Matrix;
Rect: in out Pango_Rectangle);

Transform_Point

procedure Transform_Point 
(Self: Pango_Matrix;
X: in out Gdouble;
Y: in out Gdouble);

Transform_Rectangle

procedure Transform_Rectangle 
(Self: Pango_Matrix;
Rect: in out Pango_Rectangle);

Translate

procedure Translate 
(Self: in out Pango_Matrix;
Tx: Gdouble;
Ty: Gdouble);