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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandlerdoubledoubledoubledoubledoubledoublevoidinit(double xx, double yx, double xy, double yy, double x0, double y0) voidvoidinvert()voidvoidrotate(double radians) voidscale(double sx, double sy) voidsetFieldX0(double x0) voidsetFieldXx(double xx) voidsetFieldXy(double xy) voidsetFieldY0(double y0) voidsetFieldYx(double yx) voidsetFieldYy(double yy) voidtranslate(double tx, double ty) Methods inherited from class ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacksMethods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNullMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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-
-