Table of Contents

Class Matrix

Namespace
Cairo.Internal
Assembly
cairo-1.0.dll
public class Matrix
Inheritance
Matrix
Inherited Members

Methods

Init(MatrixHandle, double, double, double, double, double, double)

public static extern void Init(MatrixHandle matrix, double xx, double xy, double yx, double yy, double x0, double y0)

Parameters

matrix MatrixHandle
xx double
xy double
yx double
yy double
x0 double
y0 double

InitIdentity(MatrixHandle)

public static extern void InitIdentity(MatrixHandle matrix)

Parameters

matrix MatrixHandle

InitRotate(MatrixHandle, double)

public static extern void InitRotate(MatrixHandle matrix, double radians)

Parameters

matrix MatrixHandle
radians double

InitScale(MatrixHandle, double, double)

public static extern void InitScale(MatrixHandle matrix, double sx, double sy)

Parameters

matrix MatrixHandle
sx double
sy double

InitTranslate(MatrixHandle, double, double)

public static extern void InitTranslate(MatrixHandle matrix, double tx, double ty)

Parameters

matrix MatrixHandle
tx double
ty double

Invert(MatrixHandle)

public static extern Status Invert(MatrixHandle matrix)

Parameters

matrix MatrixHandle

Returns

Status

Multiply(MatrixHandle, MatrixHandle, MatrixHandle)

public static extern void Multiply(MatrixHandle result, MatrixHandle a, MatrixHandle b)

Parameters

result MatrixHandle
a MatrixHandle
b MatrixHandle

Rotate(MatrixHandle, double)

public static extern void Rotate(MatrixHandle matrix, double radians)

Parameters

matrix MatrixHandle
radians double

Scale(MatrixHandle, double, double)

public static extern void Scale(MatrixHandle matrix, double sx, double sy)

Parameters

matrix MatrixHandle
sx double
sy double

TransformDistance(MatrixHandle, ref double, ref double)

public static extern void TransformDistance(MatrixHandle matrix, ref double dx, ref double dy)

Parameters

matrix MatrixHandle
dx double
dy double

TransformPoint(MatrixHandle, ref double, ref double)

public static extern void TransformPoint(MatrixHandle matrix, ref double x, ref double y)

Parameters

matrix MatrixHandle
x double
y double

Translate(MatrixHandle, double, double)

public static extern void Translate(MatrixHandle matrix, double tx, double ty)

Parameters

matrix MatrixHandle
tx double
ty double