cairo Reference Manual

Synopsis

public struct Matrix {
    public                              Matrix                    ( double              xx,
                                                                    double              yx,
                                                                    double              xy,
                                                                    double              yy,
                                                                    double              x0,
                                                                    double              y0 ) ;
    public                              Matrix.identity           (  ) ;
    public                              Matrix.translate          ( double              tx,
                                                                    double              ty ) ;
    public                              Matrix.scale              ( double              sx,
                                                                    double              sy ) ;
    public                              Matrix.rotate             ( double              radians ) ;


    public    void                      translate                 ( double              tx,
                                                                    double              ty ) ;
    public    void                      scale                     ( double              sx,
                                                                    double              sy ) ;
    public    void                      rotate                    ( double              radians ) ;
    public    Status                    invert                    (  ) ;
    public    void                      multiply                  ( Matrix              a,
                                                                    Matrix              b ) ;
    public    void                      transform_distance        ( double              dx,
                                                                    double              dy ) ;
    public    void                      transform_point           ( double              x,
                                                                    double              y ) ;
}

Description

Details

Constructor Details

Matrix ()
    public                              Matrix                    ( double              xx,
                                                                    double              yx,
                                                                    double              xy,
                                                                    double              yy,
                                                                    double              x0,
                                                                    double              y0 ) ;		

Matrix.identity ()
    public                              Matrix.identity           (  ) ;		

Matrix.translate ()
    public                              Matrix.translate          ( double              tx,
                                                                    double              ty ) ;		

Matrix.scale ()
    public                              Matrix.scale              ( double              sx,
                                                                    double              sy ) ;		

Matrix.rotate ()
    public                              Matrix.rotate             ( double              radians ) ;		

Field Details

Method Details

translate ()
    public    void                      translate                 ( double              tx,
                                                                    double              ty ) ;		

scale ()
    public    void                      scale                     ( double              sx,
                                                                    double              sy ) ;		

rotate ()
    public    void                      rotate                    ( double              radians ) ;		

invert ()
    public    Status                    invert                    (  ) ;		

multiply ()
    public    void                      multiply                  ( Matrix              a,
                                                                    Matrix              b ) ;		

transform_distance ()
    public    void                      transform_distance        ( double              dx,
                                                                    double              dy ) ;		

transform_point ()
    public    void                      transform_point           ( double              x,
                                                                    double              y ) ;		


Created by Valadoc