Package ch.bailu.gtk.cairo
Class Surface
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.cairo.Surface
- All Implemented Interfaces:
PointerInterface
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
Frees resources.void
flush()
static ClassHandler
getData()
int
int
static int
static long
static TypeSystem.TypeSize
int
static long
static TypeSystem.TypeSize
int
getWidth()
void
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
-
Constructor Details
-
Surface
-
-
Method Details
-
getClassHandler
-
createContext
- Returns:
-
destroy
public void destroy()Description copied from class:Record
Frees resources. Free memory allocated for this record. Object is invalid afterwards and should not be accessed. -
getFormat
public int getFormat()- Returns:
-
getStride
public int getStride()- Returns:
-
getHeight
public int getHeight()- Returns:
-
getWidth
public int getWidth()- Returns:
-
getData
- Returns:
-
flush
public void flush() -
markDirty
public void markDirty() -
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-