Companion

object Companion

Functions

create
Link copied to clipboard
common
fun create(format: Int, width: Int, height: Int): ImageSurface
Creates an ImageSurface.
fun create(format: Int, width: Int, height: Int): ImageSurface
fun create(format: Int, width: Int, height: Int): ImageSurface
fromPngFile
Link copied to clipboard
common
fun fromPngFile(filePath: String): Pair<ImageSurface?, UInt>
Creates a new ImageSurface and initializes the contents to the given PNG file.
fun fromPngFile(filePath: String): Pair<ImageSurface?, UInt>
fun fromPngFile(filePath: String): Pair<ImageSurface?, UInt>