Package ch.bailu.gtk.cairo
Class Cairo
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Package
ch.bailu.gtk.cairo.Cairo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intformatStrideForWidth(int format, int width) static ClassHandlerstatic SurfaceimageSurfaceCreate(int format, int width, int height) static SurfaceimageSurfaceCreateForData(Bytes data, int format, int width, int height, int stride) Methods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
-
Constructor Details
-
Cairo
public Cairo()
-
-
Method Details
-
getClassHandler
-
imageSurfaceCreate
- Parameters:
format-width-height-- Returns:
-
imageSurfaceCreateForData
public static Surface imageSurfaceCreateForData(@Nonnull Bytes data, int format, int width, int height, int stride) - Parameters:
data-format-width-height-stride-- Returns:
-
formatStrideForWidth
public static int formatStrideForWidth(int format, int width) - Parameters:
format-width-- Returns:
-