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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()Frees resources.voidflush()static ClassHandlergetData()intintstatic intstatic longstatic TypeSystem.TypeSizeintstatic longstatic TypeSystem.TypeSizeintgetWidth()voidMethods 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
-
Constructor Details
-
Surface
-
-
Method Details
-
getClassHandler
-
createContext
- Returns:
-
destroy
public void destroy()Description copied from class:RecordFrees 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()
-