Package ch.bailu.gtk.graphene
Klasse Quad
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.graphene.Quad
- Alle implementierten Schnittstellen:
PointerInterface
A 4 vertex quadrilateral, as represented by four #graphene_point_t.
The contents of a #graphene_quad_t are private and should never be
accessed directly.
The contents of a #graphene_quad_t are private and should never be
accessed directly.
-
Feldübersicht
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic QuadAllocates a new #graphene_quad_t instance.voidComputes the bounding rectangle of @q and places it into @r.booleanChecks if the given #graphene_quad_t contains the given #graphene_point_t.voidfree()Frees the resources allocated by graphene_quad_alloc()static ClassHandlerstatic intstatic longstatic TypeSystem.TypeSizestatic longstatic TypeSystem.TypeSizeInitializes a #graphene_quad_t with the given points.initFromRect(Rect r) Initializes a #graphene_quad_t using the four corners of the
given #graphene_rect_t.Von Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacksVon Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNullVon Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Konstruktordetails
-
Quad
-
-
Methodendetails
-
getClassHandler
-
allocQuad
Allocates a new #graphene_quad_t instance.
The contents of the returned instance are undefined.- Gibt zurück:
- the newly created #graphene_quad_t instance
-
bounds
Computes the bounding rectangle of @q and places it into @r.- Parameter:
r- return location for a #graphene_rect_t
-
contains
Checks if the given #graphene_quad_t contains the given #graphene_point_t.- Parameter:
p- a #graphene_point_t- Gibt zurück:
- `true` if the point is inside the #graphene_quad_t
-
free
public void free()Frees the resources allocated by graphene_quad_alloc() -
init
Initializes a #graphene_quad_t with the given points.- Parameter:
p1- the first point of the quadrilateralp2- the second point of the quadrilateralp3- the third point of the quadrilateralp4- the fourth point of the quadrilateral- Gibt zurück:
- the initialized #graphene_quad_t
-
initFromRect
Initializes a #graphene_quad_t using the four corners of the
given #graphene_rect_t.- Parameter:
r- a #graphene_rect_t- Gibt zurück:
- the initialized #graphene_quad_t
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-