Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
object BufferUtil
Link copied to clipboard
expect class InteropPointer
actual typealias InteropPointer = <Error class: unknown class>
actual typealias InteropPointer = <Error class: unknown class>
actual typealias InteropPointer = Int
Link copied to clipboard
expect class InteropScope
actual class InteropScope
actual open class InteropScope
actual class InteropScope
actual class InteropScope
Link copied to clipboard
expect class Library

Object representing native library containing non-Kotlin part of Skiko.

actual class Library
actual class Library
actual class Library
Link copied to clipboard
expect abstract class Managed(ptr: NativePointer, finalizer: NativePointer, managed: Boolean = true) : Native

Peer for a native object.

actual abstract class Managed : Native
actual abstract class Managed : Native
actual abstract class Managed : Native
Link copied to clipboard
expect abstract class Native(ptr: NativePointer)
actual abstract class Native
actual abstract class Native
actual abstract class Native
Link copied to clipboard
expect class NativePointer
actual typealias NativePointer = Long
actual typealias NativePointer = <Error class: unknown class>
actual typealias NativePointer = Int
Link copied to clipboard
expect class NativePointerArray
actual class NativePointerArray
actual class NativePointerArray
actual class NativePointerArray
Link copied to clipboard
expect abstract class RefCnt : Managed

Peer for reference counted native object.

actual abstract class RefCnt : Managed
actual abstract class RefCnt : Managed
actual abstract class RefCnt : Managed
Link copied to clipboard
expect object Stats

Statistics of native operations.

actual object Stats
actual object Stats
actual object Stats

Functions

Link copied to clipboard
external fun skia_memGetByte(address: NativePointer): Byte
Link copied to clipboard
external fun skia_memGetChar(address: NativePointer): Char
Link copied to clipboard
external fun skia_memGetDouble(address: NativePointer): Double
Link copied to clipboard
external fun skia_memGetFloat(address: NativePointer): Float
Link copied to clipboard
external fun skia_memGetInt(address: NativePointer): Int
Link copied to clipboard
external fun skia_memGetShort(address: NativePointer): Short
Link copied to clipboard
external fun skia_memSetByte(address: NativePointer, value: Byte)
Link copied to clipboard
external fun skia_memSetChar(address: NativePointer, value: Char)
Link copied to clipboard
external fun skia_memSetDouble(address: NativePointer, value: Double)
Link copied to clipboard
external fun skia_memSetFloat(address: NativePointer, value: Float)
Link copied to clipboard
external fun skia_memSetInt(address: NativePointer, value: Int)
Link copied to clipboard
external fun skia_memSetShort(address: NativePointer, value: Short)
Link copied to clipboard
inline fun <T : Managed, R> T.use(block: (T) -> R): R

Utility function to use managed object and them immediately release it.