Package ch.bailu.gtk.cairo
Class Matrix
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.cairo.Matrix
- All Implemented Interfaces:
PointerInterface
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandler
double
double
double
double
double
double
void
init
(double xx, double yx, double xy, double yy, double x0, double y0) void
void
invert()
void
void
rotate
(double radians) void
scale
(double sx, double sy) void
setFieldX0
(double x0) void
setFieldXx
(double xx) void
setFieldXy
(double xy) void
setFieldY0
(double y0) void
setFieldYx
(double yx) void
setFieldYy
(double yy) void
translate
(double tx, double ty) Methods inherited from class ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Methods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Field Details
-
XX
- See Also:
-
YX
- See Also:
-
XY
- See Also:
-
YY
- See Also:
-
X0
- See Also:
-
Y0
- See Also:
-
-
Constructor Details
-
Matrix
-
Matrix
public Matrix()
-
-
Method Details
-
getClassHandler
-
setFieldXx
public void setFieldXx(double xx) -
getFieldXx
public double getFieldXx() -
setFieldYx
public void setFieldYx(double yx) -
getFieldYx
public double getFieldYx() -
setFieldXy
public void setFieldXy(double xy) -
getFieldXy
public double getFieldXy() -
setFieldYy
public void setFieldYy(double yy) -
getFieldYy
public double getFieldYy() -
setFieldX0
public void setFieldX0(double x0) -
getFieldX0
public double getFieldX0() -
setFieldY0
public void setFieldY0(double y0) -
getFieldY0
public double getFieldY0() -
initIdentity
public void initIdentity() -
translate
public void translate(double tx, double ty) - Parameters:
tx
-ty
-
-
scale
public void scale(double sx, double sy) - Parameters:
sx
-sy
-
-
rotate
public void rotate(double radians) - Parameters:
radians
-
-
invert
public void invert() -
multiply
- Parameters:
a
-b
-
-
init
public void init(double xx, double yx, double xy, double yy, double x0, double y0) - Parameters:
xx
-yx
-xy
-yy
-x0
-y0
-
-