skia-sys

    Low-level MoonBit bindings for Skia C API

    skia
    graphics
    ffi
    Download zip
    Author
    Version
    0.1.1
    License
    Apache-2.0
    Last updated
    2 hours ago
    Downloads
    17

    #klaseca/skia-sys

    Generated low-level native MoonBit bindings to the C API provided by mono/skia's SkiaSharp native library. Application code should normally use the safer klaseca/skia module instead.

    This module exposes C-shaped functions and types for the native backend. Opaque resources configured by the binding generator use finalizer-backed wrappers; value structs are represented by generated MoonBit values and matching C ABI helpers.

    #Native dependency

    The module requires compatible mono/skia C headers and a libSkiaSharp library. Native artifacts are not included in the MoonBit package. Set the absolute SKIA_PATH environment variable to their common root. The prebuild hook expects <SKIA_PATH>/include/c/sk_types.h and the platform-specific library under <SKIA_PATH>/out/<system>/<architecture>/release.

    The repository release matching this package pins the compatible checkout and documents how to build it in the building guide. The native prebuild hook requires Node.js and reports the exact missing path before compilation starts.

    On Windows, the matching libSkiaSharp.dll must be available through PATH at runtime. Linux and macOS builds use a runtime search path emitted by the native build hook.

    Files ending in _gen.mbt and _stub_gen.c are generated and must not be edited manually. Binding contributors should use the generator command from the repository.

    BbhFactory

    #external
    pub type BbhFactory

    BbhFactory::is_null

    fn BbhFactory::is_null(self : BbhFactory) -> Bool

    BbhFactory::to_pointer

    fn BbhFactory::to_pointer(self : BbhFactory) -> Pointer

    Bitmap

    #external
    pub type Bitmap

    Bitmap::is_null

    fn Bitmap::is_null(self : Bitmap) -> Bool

    Bitmap::to_pointer

    fn Bitmap::to_pointer(self : Bitmap) -> Pointer

    Blender

    #external
    pub type Blender

    Blender::is_null

    fn Blender::is_null(self : Blender) -> Bool

    Blender::to_pointer

    fn Blender::to_pointer(self : Blender) -> Pointer

    Canvas

    pub type Canvas

    Canvas::is_null

    fn Canvas::is_null(self : Canvas) -> Bool

    Codec

    #external
    pub type Codec

    Codec::is_null

    fn Codec::is_null(self : Codec) -> Bool

    Codec::to_pointer

    fn Codec::to_pointer(self : Codec) -> Pointer

    Color4f

    type Color4f

    Color4f::Color4f

    fn Color4f::Color4f(fR : Float, fG : Float, fB : Float, fA : Float) -> Color4f

    Color4f::fA

    fn Color4f::fA(self : Color4f) -> Float

    Color4f::fB

    fn Color4f::fB(self : Color4f) -> Float

    Color4f::fG

    fn Color4f::fG(self : Color4f) -> Float

    Color4f::fR

    fn Color4f::fR(self : Color4f) -> Float

    Color4f::to_bytes

    fn Color4f::to_bytes(self : Color4f) -> Bytes

    Colorfilter

    #external
    pub type Colorfilter

    Colorfilter::is_null

    fn Colorfilter::is_null(self : Colorfilter) -> Bool

    Colorfilter::to_pointer

    fn Colorfilter::to_pointer(self : Colorfilter) -> Pointer

    Colorspace

    #external
    pub type Colorspace

    Colorspace::is_null

    fn Colorspace::is_null(self : Colorspace) -> Bool

    Colorspace::to_pointer

    fn Colorspace::to_pointer(self : Colorspace) -> Pointer

    ColorspaceIccProfile

    #external
    pub type ColorspaceIccProfile

    ColorspaceIccProfile::is_null

    fn ColorspaceIccProfile::is_null(self : ColorspaceIccProfile) -> Bool

    ColorspaceIccProfile::to_pointer

    D3dAlloc

    #external
    pub type D3dAlloc

    D3dAlloc::is_null

    fn D3dAlloc::is_null(self : D3dAlloc) -> Bool

    D3dAlloc::to_pointer

    fn D3dAlloc::to_pointer(self : D3dAlloc) -> Pointer

    D3dD12CommandQueue

    #external
    pub type D3dD12CommandQueue

    D3dD12CommandQueue::is_null

    fn D3dD12CommandQueue::is_null(self : D3dD12CommandQueue) -> Bool

    D3dD12CommandQueue::to_pointer

    D3dD12Device

    #external
    pub type D3dD12Device

    D3dD12Device::is_null

    fn D3dD12Device::is_null(self : D3dD12Device) -> Bool

    D3dD12Device::to_pointer

    fn D3dD12Device::to_pointer(self : D3dD12Device) -> Pointer

    D3dD12Resource

    #external
    pub type D3dD12Resource

    D3dD12Resource::is_null

    fn D3dD12Resource::is_null(self : D3dD12Resource) -> Bool

    D3dD12Resource::to_pointer

    fn D3dD12Resource::to_pointer(self : D3dD12Resource) -> Pointer

    D3dDxgiAdapter

    #external
    pub type D3dDxgiAdapter

    D3dDxgiAdapter::is_null

    fn D3dDxgiAdapter::is_null(self : D3dDxgiAdapter) -> Bool

    D3dDxgiAdapter::to_pointer

    fn D3dDxgiAdapter::to_pointer(self : D3dDxgiAdapter) -> Pointer

    Data

    #external
    pub type Data

    Data::is_null

    fn Data::is_null(self : Data) -> Bool

    Data::to_pointer

    fn Data::to_pointer(self : Data) -> Pointer

    Document

    #external
    pub type Document

    Document::is_null

    fn Document::is_null(self : Document) -> Bool

    Document::to_pointer

    fn Document::to_pointer(self : Document) -> Pointer

    Drawable

    #external
    pub type Drawable

    Drawable::is_null

    fn Drawable::is_null(self : Drawable) -> Bool

    Drawable::to_pointer

    fn Drawable::to_pointer(self : Drawable) -> Pointer

    Flattenable

    #external
    pub type Flattenable

    Flattenable::is_null

    fn Flattenable::is_null(self : Flattenable) -> Bool

    Flattenable::to_pointer

    fn Flattenable::to_pointer(self : Flattenable) -> Pointer

    Font

    pub type Font

    Font::is_null

    fn Font::is_null(self : Font) -> Bool

    Fontmetrics

    type Fontmetrics

    Fontmetrics::Fontmetrics

    fn Fontmetrics::Fontmetrics(fFlags : UInt, fTop : Float, fAscent : Float, fDescent : Float, fBottom : Float, fLeading : Float, fAvgCharWidth : Float, fMaxCharWidth : Float, fXMin : Float, fXMax : Float, fXHeight : Float, fCapHeight : Float, fUnderlineThickness : Float, fUnderlinePosition : Float, fStrikeoutThickness : Float, fStrikeoutPosition : Float) -> Fontmetrics

    Fontmetrics::fAscent

    fn Fontmetrics::fAscent(self : Fontmetrics) -> Float

    Fontmetrics::fAvgCharWidth

    fn Fontmetrics::fAvgCharWidth(self : Fontmetrics) -> Float

    Fontmetrics::fBottom

    fn Fontmetrics::fBottom(self : Fontmetrics) -> Float

    Fontmetrics::fCapHeight

    fn Fontmetrics::fCapHeight(self : Fontmetrics) -> Float

    Fontmetrics::fDescent

    fn Fontmetrics::fDescent(self : Fontmetrics) -> Float

    Fontmetrics::fFlags

    fn Fontmetrics::fFlags(self : Fontmetrics) -> UInt

    Fontmetrics::fLeading

    fn Fontmetrics::fLeading(self : Fontmetrics) -> Float

    Fontmetrics::fMaxCharWidth

    fn Fontmetrics::fMaxCharWidth(self : Fontmetrics) -> Float

    Fontmetrics::fStrikeoutPosition

    fn Fontmetrics::fStrikeoutPosition(self : Fontmetrics) -> Float

    Fontmetrics::fStrikeoutThickness

    fn Fontmetrics::fStrikeoutThickness(self : Fontmetrics) -> Float

    Fontmetrics::fTop

    fn Fontmetrics::fTop(self : Fontmetrics) -> Float

    Fontmetrics::fUnderlinePosition

    fn Fontmetrics::fUnderlinePosition(self : Fontmetrics) -> Float

    Fontmetrics::fUnderlineThickness

    fn Fontmetrics::fUnderlineThickness(self : Fontmetrics) -> Float

    Fontmetrics::fXHeight

    fn Fontmetrics::fXHeight(self : Fontmetrics) -> Float

    Fontmetrics::fXMax

    fn Fontmetrics::fXMax(self : Fontmetrics) -> Float

    Fontmetrics::fXMin

    fn Fontmetrics::fXMin(self : Fontmetrics) -> Float

    Fontmetrics::to_bytes

    fn Fontmetrics::to_bytes(self : Fontmetrics) -> Bytes

    Fontmgr

    #external
    pub type Fontmgr

    Fontmgr::is_null

    fn Fontmgr::is_null(self : Fontmgr) -> Bool

    Fontmgr::to_pointer

    fn Fontmgr::to_pointer(self : Fontmgr) -> Pointer

    Fontstyle

    #external
    pub type Fontstyle

    Fontstyle::is_null

    fn Fontstyle::is_null(self : Fontstyle) -> Bool

    Fontstyle::to_pointer

    fn Fontstyle::to_pointer(self : Fontstyle) -> Pointer

    Fontstyleset

    #external
    pub type Fontstyleset

    Fontstyleset::is_null

    fn Fontstyleset::is_null(self : Fontstyleset) -> Bool

    Fontstyleset::to_pointer

    fn Fontstyleset::to_pointer(self : Fontstyleset) -> Pointer

    GrBackendrendertarget

    #external
    pub type GrBackendrendertarget

    GrBackendrendertarget::is_null

    fn GrBackendrendertarget::is_null(self : GrBackendrendertarget) -> Bool

    GrBackendrendertarget::to_pointer

    GrBackendtexture

    #external
    pub type GrBackendtexture

    GrBackendtexture::is_null

    fn GrBackendtexture::is_null(self : GrBackendtexture) -> Bool

    GrBackendtexture::to_pointer

    fn GrBackendtexture::to_pointer(self : GrBackendtexture) -> Pointer

    GrD3dMemoryAllocator

    #external
    pub type GrD3dMemoryAllocator

    GrD3dMemoryAllocator::is_null

    fn GrD3dMemoryAllocator::is_null(self : GrD3dMemoryAllocator) -> Bool

    GrD3dMemoryAllocator::to_pointer

    GrDirectContext

    #external
    pub type GrDirectContext

    GrDirectContext::is_null

    fn GrDirectContext::is_null(self : GrDirectContext) -> Bool

    GrDirectContext::to_pointer

    fn GrDirectContext::to_pointer(self : GrDirectContext) -> Pointer

    GrGlinterface

    #external
    pub type GrGlinterface

    GrGlinterface::is_null

    fn GrGlinterface::is_null(self : GrGlinterface) -> Bool

    GrGlinterface::to_pointer

    fn GrGlinterface::to_pointer(self : GrGlinterface) -> Pointer

    GrRecordingContext

    #external
    pub type GrRecordingContext

    GrRecordingContext::is_null

    fn GrRecordingContext::is_null(self : GrRecordingContext) -> Bool

    GrRecordingContext::to_pointer

    GrVkExtensions

    #external
    pub type GrVkExtensions

    GrVkExtensions::is_null

    fn GrVkExtensions::is_null(self : GrVkExtensions) -> Bool

    GrVkExtensions::to_pointer

    fn GrVkExtensions::to_pointer(self : GrVkExtensions) -> Pointer

    GrVkMemoryAllocator

    #external
    pub type GrVkMemoryAllocator

    GrVkMemoryAllocator::is_null

    fn GrVkMemoryAllocator::is_null(self : GrVkMemoryAllocator) -> Bool

    GrVkMemoryAllocator::to_pointer

    GrVkinterface

    #external
    pub type GrVkinterface

    GrVkinterface::is_null

    fn GrVkinterface::is_null(self : GrVkinterface) -> Bool

    GrVkinterface::to_pointer

    fn GrVkinterface::to_pointer(self : GrVkinterface) -> Pointer

    Image

    #external
    pub type Image

    Image::is_null

    fn Image::is_null(self : Image) -> Bool

    Image::to_pointer

    fn Image::to_pointer(self : Image) -> Pointer

    Imagefilter

    #external
    pub type Imagefilter

    Imagefilter::is_null

    fn Imagefilter::is_null(self : Imagefilter) -> Bool

    Imagefilter::to_pointer

    fn Imagefilter::to_pointer(self : Imagefilter) -> Pointer

    Imageinfo

    type Imageinfo

    Imageinfo::Imageinfo

    fn Imageinfo::Imageinfo(colorspace : Colorspace, width : Int, height : Int, colorType : Int, alphaType : Int) -> Imageinfo

    Imageinfo::alphaType

    fn Imageinfo::alphaType(self : Imageinfo) -> Int

    Imageinfo::colorType

    fn Imageinfo::colorType(self : Imageinfo) -> Int

    Imageinfo::colorspace

    fn Imageinfo::colorspace(self : Imageinfo) -> Colorspace

    Imageinfo::height

    fn Imageinfo::height(self : Imageinfo) -> Int

    Imageinfo::to_bytes

    fn Imageinfo::to_bytes(self : Imageinfo) -> Bytes

    Imageinfo::width

    fn Imageinfo::width(self : Imageinfo) -> Int

    Ipoint

    type Ipoint

    Ipoint::Ipoint

    fn Ipoint::Ipoint(x : Int, y : Int) -> Ipoint

    Ipoint::to_bytes

    fn Ipoint::to_bytes(self : Ipoint) -> Bytes

    Ipoint::x

    fn Ipoint::x(self : Ipoint) -> Int

    Ipoint::y

    fn Ipoint::y(self : Ipoint) -> Int

    Irect

    type Irect

    Irect::Irect

    fn Irect::Irect(left : Int, top : Int, right : Int, bottom : Int) -> Irect

    Irect::bottom

    fn Irect::bottom(self : Irect) -> Int

    Irect::left

    fn Irect::left(self : Irect) -> Int

    Irect::right

    fn Irect::right(self : Irect) -> Int

    Irect::to_bytes

    fn Irect::to_bytes(self : Irect) -> Bytes

    Irect::top

    fn Irect::top(self : Irect) -> Int

    Isize

    type Isize

    Isize::Isize

    fn Isize::Isize(w : Int, h : Int) -> Isize

    Isize::h

    fn Isize::h(self : Isize) -> Int

    Isize::to_bytes

    fn Isize::to_bytes(self : Isize) -> Bytes

    Isize::w

    fn Isize::w(self : Isize) -> Int

    Maskfilter

    #external
    pub type Maskfilter

    Maskfilter::is_null

    fn Maskfilter::is_null(self : Maskfilter) -> Bool

    Maskfilter::to_pointer

    fn Maskfilter::to_pointer(self : Maskfilter) -> Pointer

    Matrix

    type Matrix

    Matrix::Matrix

    fn Matrix::Matrix(scaleX : Float, skewX : Float, transX : Float, skewY : Float, scaleY : Float, transY : Float, persp0 : Float, persp1 : Float, persp2 : Float) -> Matrix

    Matrix::persp0

    fn Matrix::persp0(self : Matrix) -> Float

    Matrix::persp1

    fn Matrix::persp1(self : Matrix) -> Float

    Matrix::persp2

    fn Matrix::persp2(self : Matrix) -> Float

    Matrix::scaleX

    fn Matrix::scaleX(self : Matrix) -> Float

    Matrix::scaleY

    fn Matrix::scaleY(self : Matrix) -> Float

    Matrix::skewX

    fn Matrix::skewX(self : Matrix) -> Float

    Matrix::skewY

    fn Matrix::skewY(self : Matrix) -> Float

    Matrix::to_bytes

    fn Matrix::to_bytes(self : Matrix) -> Bytes

    Matrix::transX

    fn Matrix::transX(self : Matrix) -> Float

    Matrix::transY

    fn Matrix::transY(self : Matrix) -> Float

    Matrix44

    type Matrix44

    Matrix44::Matrix44

    fn Matrix44::Matrix44(m00 : Float, m01 : Float, m02 : Float, m03 : Float, m10 : Float, m11 : Float, m12 : Float, m13 : Float, m20 : Float, m21 : Float, m22 : Float, m23 : Float, m30 : Float, m31 : Float, m32 : Float, m33 : Float) -> Matrix44

    Matrix44::m00

    fn Matrix44::m00(self : Matrix44) -> Float

    Matrix44::m01

    fn Matrix44::m01(self : Matrix44) -> Float

    Matrix44::m02

    fn Matrix44::m02(self : Matrix44) -> Float

    Matrix44::m03

    fn Matrix44::m03(self : Matrix44) -> Float

    Matrix44::m10

    fn Matrix44::m10(self : Matrix44) -> Float

    Matrix44::m11

    fn Matrix44::m11(self : Matrix44) -> Float

    Matrix44::m12

    fn Matrix44::m12(self : Matrix44) -> Float

    Matrix44::m13

    fn Matrix44::m13(self : Matrix44) -> Float

    Matrix44::m20

    fn Matrix44::m20(self : Matrix44) -> Float

    Matrix44::m21

    fn Matrix44::m21(self : Matrix44) -> Float

    Matrix44::m22

    fn Matrix44::m22(self : Matrix44) -> Float

    Matrix44::m23

    fn Matrix44::m23(self : Matrix44) -> Float

    Matrix44::m30

    fn Matrix44::m30(self : Matrix44) -> Float

    Matrix44::m31

    fn Matrix44::m31(self : Matrix44) -> Float

    Matrix44::m32

    fn Matrix44::m32(self : Matrix44) -> Float

    Matrix44::m33

    fn Matrix44::m33(self : Matrix44) -> Float

    Matrix44::to_bytes

    fn Matrix44::to_bytes(self : Matrix44) -> Bytes

    NodrawCanvas

    #external
    pub type NodrawCanvas

    NodrawCanvas::is_null

    fn NodrawCanvas::is_null(self : NodrawCanvas) -> Bool

    NodrawCanvas::to_pointer

    fn NodrawCanvas::to_pointer(self : NodrawCanvas) -> Pointer

    Nvrefcnt

    #external
    pub type Nvrefcnt

    Nvrefcnt::is_null

    fn Nvrefcnt::is_null(self : Nvrefcnt) -> Bool

    Nvrefcnt::to_pointer

    fn Nvrefcnt::to_pointer(self : Nvrefcnt) -> Pointer

    NwayCanvas

    #external
    pub type NwayCanvas

    NwayCanvas::is_null

    fn NwayCanvas::is_null(self : NwayCanvas) -> Bool

    NwayCanvas::to_pointer

    fn NwayCanvas::to_pointer(self : NwayCanvas) -> Pointer

    Opbuilder

    #external
    pub type Opbuilder

    Opbuilder::is_null

    fn Opbuilder::is_null(self : Opbuilder) -> Bool

    Opbuilder::to_pointer

    fn Opbuilder::to_pointer(self : Opbuilder) -> Pointer

    OverdrawCanvas

    #external
    pub type OverdrawCanvas

    OverdrawCanvas::is_null

    fn OverdrawCanvas::is_null(self : OverdrawCanvas) -> Bool

    OverdrawCanvas::to_pointer

    fn OverdrawCanvas::to_pointer(self : OverdrawCanvas) -> Pointer

    Paint

    pub type Paint

    Paint::is_null

    fn Paint::is_null(self : Paint) -> Bool

    Path

    pub type Path

    Path::is_null

    fn Path::is_null(self : Path) -> Bool

    PathEffect

    #external
    pub type PathEffect

    PathEffect::is_null

    fn PathEffect::is_null(self : PathEffect) -> Bool

    PathEffect::to_pointer

    fn PathEffect::to_pointer(self : PathEffect) -> Pointer

    PathIterator

    #external
    pub type PathIterator

    PathIterator::is_null

    fn PathIterator::is_null(self : PathIterator) -> Bool

    PathIterator::to_pointer

    fn PathIterator::to_pointer(self : PathIterator) -> Pointer

    PathRawiterator

    #external
    pub type PathRawiterator

    PathRawiterator::is_null

    fn PathRawiterator::is_null(self : PathRawiterator) -> Bool

    PathRawiterator::to_pointer

    fn PathRawiterator::to_pointer(self : PathRawiterator) -> Pointer

    Pathbuilder

    #external
    pub type Pathbuilder

    Pathbuilder::is_null

    fn Pathbuilder::is_null(self : Pathbuilder) -> Bool

    Pathbuilder::to_pointer

    fn Pathbuilder::to_pointer(self : Pathbuilder) -> Pointer

    Pathmeasure

    #external
    pub type Pathmeasure

    Pathmeasure::is_null

    fn Pathmeasure::is_null(self : Pathmeasure) -> Bool

    Pathmeasure::to_pointer

    fn Pathmeasure::to_pointer(self : Pathmeasure) -> Pointer

    Picture

    #external
    pub type Picture

    Picture::is_null

    fn Picture::is_null(self : Picture) -> Bool

    Picture::to_pointer

    fn Picture::to_pointer(self : Picture) -> Pointer

    PictureRecorder

    #external
    pub type PictureRecorder

    PictureRecorder::is_null

    fn PictureRecorder::is_null(self : PictureRecorder) -> Bool

    PictureRecorder::to_pointer

    fn PictureRecorder::to_pointer(self : PictureRecorder) -> Pointer

    PixelrefFactory

    #external
    pub type PixelrefFactory

    PixelrefFactory::is_null

    fn PixelrefFactory::is_null(self : PixelrefFactory) -> Bool

    PixelrefFactory::to_pointer

    fn PixelrefFactory::to_pointer(self : PixelrefFactory) -> Pointer

    Pixmap

    #external
    pub type Pixmap

    Pixmap::is_null

    fn Pixmap::is_null(self : Pixmap) -> Bool

    Pixmap::to_pointer

    fn Pixmap::to_pointer(self : Pixmap) -> Pointer

    Point

    type Point

    Point::Point

    fn Point::Point(x : Float, y : Float) -> Point

    Point::to_bytes

    fn Point::to_bytes(self : Point) -> Bytes

    Point::x

    fn Point::x(self : Point) -> Float

    Point::y

    fn Point::y(self : Point) -> Float

    Point3

    type Point3

    Point3::Point3

    fn Point3::Point3(x : Float, y : Float, z : Float) -> Point3

    Point3::to_bytes

    fn Point3::to_bytes(self : Point3) -> Bytes

    Point3::x

    fn Point3::x(self : Point3) -> Float

    Point3::y

    fn Point3::y(self : Point3) -> Float

    Point3::z

    fn Point3::z(self : Point3) -> Float

    Pointer

    #external
    pub type Pointer

    Pointer::is_null

    fn Pointer::is_null(self : Pointer) -> Bool

    Pointer::null

    fn Pointer::null() -> Pointer

    Rect

    type Rect

    Rect::Rect

    fn Rect::Rect(left : Float, top : Float, right : Float, bottom : Float) -> Rect

    Rect::bottom

    fn Rect::bottom(self : Rect) -> Float

    Rect::left

    fn Rect::left(self : Rect) -> Float

    Rect::right

    fn Rect::right(self : Rect) -> Float

    Rect::to_bytes

    fn Rect::to_bytes(self : Rect) -> Bytes

    Rect::top

    fn Rect::top(self : Rect) -> Float

    Refcnt

    #external
    pub type Refcnt

    Refcnt::is_null

    fn Refcnt::is_null(self : Refcnt) -> Bool

    Refcnt::to_pointer

    fn Refcnt::to_pointer(self : Refcnt) -> Pointer

    Region

    #external
    pub type Region

    Region::is_null

    fn Region::is_null(self : Region) -> Bool

    Region::to_pointer

    fn Region::to_pointer(self : Region) -> Pointer

    RegionCliperator

    #external
    pub type RegionCliperator

    RegionCliperator::is_null

    fn RegionCliperator::is_null(self : RegionCliperator) -> Bool

    RegionCliperator::to_pointer

    fn RegionCliperator::to_pointer(self : RegionCliperator) -> Pointer

    RegionIterator

    #external
    pub type RegionIterator

    RegionIterator::is_null

    fn RegionIterator::is_null(self : RegionIterator) -> Bool

    RegionIterator::to_pointer

    fn RegionIterator::to_pointer(self : RegionIterator) -> Pointer

    RegionSpanerator

    #external
    pub type RegionSpanerator

    RegionSpanerator::is_null

    fn RegionSpanerator::is_null(self : RegionSpanerator) -> Bool

    RegionSpanerator::to_pointer

    fn RegionSpanerator::to_pointer(self : RegionSpanerator) -> Pointer

    Rrect

    #external
    pub type Rrect

    Rrect::is_null

    fn Rrect::is_null(self : Rrect) -> Bool

    Rrect::to_pointer

    fn Rrect::to_pointer(self : Rrect) -> Pointer

    Rsxform

    type Rsxform

    Rsxform::Rsxform

    fn Rsxform::Rsxform(fSCos : Float, fSSin : Float, fTX : Float, fTY : Float) -> Rsxform

    Rsxform::fSCos

    fn Rsxform::fSCos(self : Rsxform) -> Float

    Rsxform::fSSin

    fn Rsxform::fSSin(self : Rsxform) -> Float

    Rsxform::fTX

    fn Rsxform::fTX(self : Rsxform) -> Float

    Rsxform::fTY

    fn Rsxform::fTY(self : Rsxform) -> Float

    Rsxform::to_bytes

    fn Rsxform::to_bytes(self : Rsxform) -> Bytes

    RtreeFactory

    #external
    pub type RtreeFactory

    RtreeFactory::is_null

    fn RtreeFactory::is_null(self : RtreeFactory) -> Bool

    RtreeFactory::to_pointer

    fn RtreeFactory::to_pointer(self : RtreeFactory) -> Pointer

    Runtimeeffect

    #external
    pub type Runtimeeffect

    Runtimeeffect::is_null

    fn Runtimeeffect::is_null(self : Runtimeeffect) -> Bool

    Runtimeeffect::to_pointer

    fn Runtimeeffect::to_pointer(self : Runtimeeffect) -> Pointer

    Shader

    #external
    pub type Shader

    Shader::is_null

    fn Shader::is_null(self : Shader) -> Bool

    Shader::to_pointer

    fn Shader::to_pointer(self : Shader) -> Pointer

    Size

    type Size

    Size::Size

    fn Size::Size(w : Float, h : Float) -> Size

    Size::h

    fn Size::h(self : Size) -> Float

    Size::to_bytes

    fn Size::to_bytes(self : Size) -> Bytes

    Size::w

    fn Size::w(self : Size) -> Float

    SkottieAnimation

    #external
    pub type SkottieAnimation

    SkottieAnimation::is_null

    fn SkottieAnimation::is_null(self : SkottieAnimation) -> Bool

    SkottieAnimation::to_pointer

    fn SkottieAnimation::to_pointer(self : SkottieAnimation) -> Pointer

    SkottieAnimationBuilder

    #external
    pub type SkottieAnimationBuilder

    SkottieAnimationBuilder::is_null

    SkottieAnimationBuilder::to_pointer

    SkottieLogger

    #external
    pub type SkottieLogger

    SkottieLogger::is_null

    fn SkottieLogger::is_null(self : SkottieLogger) -> Bool

    SkottieLogger::to_pointer

    fn SkottieLogger::to_pointer(self : SkottieLogger) -> Pointer

    SkottieMarkerObserver

    #external
    pub type SkottieMarkerObserver

    SkottieMarkerObserver::is_null

    fn SkottieMarkerObserver::is_null(self : SkottieMarkerObserver) -> Bool

    SkottieMarkerObserver::to_pointer

    SkottiePropertyObserver

    #external
    pub type SkottiePropertyObserver

    SkottiePropertyObserver::is_null

    SkottiePropertyObserver::to_pointer

    SkottieResourceProvider

    #external
    pub type SkottieResourceProvider

    SkottieResourceProvider::is_null

    SkottieResourceProvider::to_pointer

    SkresourcesExternalTrackAsset

    #external
    pub type SkresourcesExternalTrackAsset

    SkresourcesExternalTrackAsset::is_null

    SkresourcesExternalTrackAsset::to_pointer

    SkresourcesImageAsset

    #external
    pub type SkresourcesImageAsset

    SkresourcesImageAsset::is_null

    fn SkresourcesImageAsset::is_null(self : SkresourcesImageAsset) -> Bool

    SkresourcesImageAsset::to_pointer

    SkresourcesMultiFrameImageAsset

    #external
    pub type SkresourcesMultiFrameImageAsset

    SkresourcesMultiFrameImageAsset::is_null

    SkresourcesMultiFrameImageAsset::to_pointer

    SkresourcesResourceProvider

    #external
    pub type SkresourcesResourceProvider

    SkresourcesResourceProvider::is_null

    SkresourcesResourceProvider::to_pointer

    SksgInvalidationController

    #external
    pub type SksgInvalidationController

    SksgInvalidationController::is_null

    SksgInvalidationController::to_pointer

    Stream

    #external
    pub type Stream

    Stream::is_null

    fn Stream::is_null(self : Stream) -> Bool

    Stream::to_pointer

    fn Stream::to_pointer(self : Stream) -> Pointer

    StreamAsset

    #external
    pub type StreamAsset

    StreamAsset::is_null

    fn StreamAsset::is_null(self : StreamAsset) -> Bool

    StreamAsset::to_pointer

    fn StreamAsset::to_pointer(self : StreamAsset) -> Pointer

    StreamFilestream

    #external
    pub type StreamFilestream

    StreamFilestream::is_null

    fn StreamFilestream::is_null(self : StreamFilestream) -> Bool

    StreamFilestream::to_pointer

    fn StreamFilestream::to_pointer(self : StreamFilestream) -> Pointer

    StreamMemorystream

    #external
    pub type StreamMemorystream

    StreamMemorystream::is_null

    fn StreamMemorystream::is_null(self : StreamMemorystream) -> Bool

    StreamMemorystream::to_pointer

    StreamStreamrewindable

    #external
    pub type StreamStreamrewindable

    StreamStreamrewindable::is_null

    StreamStreamrewindable::to_pointer

    StringLib

    #external
    pub type StringLib

    StringLib::is_null

    fn StringLib::is_null(self : StringLib) -> Bool

    StringLib::to_pointer

    fn StringLib::to_pointer(self : StringLib) -> Pointer

    Surface

    pub type Surface

    Surface::is_null

    fn Surface::is_null(self : Surface) -> Bool

    Surfaceprops

    #external
    pub type Surfaceprops

    Surfaceprops::is_null

    fn Surfaceprops::is_null(self : Surfaceprops) -> Bool

    Surfaceprops::to_pointer

    fn Surfaceprops::to_pointer(self : Surfaceprops) -> Pointer

    Svgcanvas

    #external
    pub type Svgcanvas

    Svgcanvas::is_null

    fn Svgcanvas::is_null(self : Svgcanvas) -> Bool

    Svgcanvas::to_pointer

    fn Svgcanvas::to_pointer(self : Svgcanvas) -> Pointer

    Textblob

    #external
    pub type Textblob

    Textblob::is_null

    fn Textblob::is_null(self : Textblob) -> Bool

    Textblob::to_pointer

    fn Textblob::to_pointer(self : Textblob) -> Pointer

    TextblobBuilder

    #external
    pub type TextblobBuilder

    TextblobBuilder::is_null

    fn TextblobBuilder::is_null(self : TextblobBuilder) -> Bool

    TextblobBuilder::to_pointer

    fn TextblobBuilder::to_pointer(self : TextblobBuilder) -> Pointer

    Tracememorydump

    #external
    pub type Tracememorydump

    Tracememorydump::is_null

    fn Tracememorydump::is_null(self : Tracememorydump) -> Bool

    Tracememorydump::to_pointer

    fn Tracememorydump::to_pointer(self : Tracememorydump) -> Pointer

    Typeface

    pub type Typeface

    Typeface::is_null

    fn Typeface::is_null(self : Typeface) -> Bool

    Vertices

    #external
    pub type Vertices

    Vertices::is_null

    fn Vertices::is_null(self : Vertices) -> Bool

    Vertices::to_pointer

    fn Vertices::to_pointer(self : Vertices) -> Pointer

    VkDevice

    #external
    pub type VkDevice

    VkDevice::is_null

    fn VkDevice::is_null(self : VkDevice) -> Bool

    VkDevice::to_pointer

    fn VkDevice::to_pointer(self : VkDevice) -> Pointer

    VkInstance

    #external
    pub type VkInstance

    VkInstance::is_null

    fn VkInstance::is_null(self : VkInstance) -> Bool

    VkInstance::to_pointer

    fn VkInstance::to_pointer(self : VkInstance) -> Pointer

    VkPhysicalDevice

    #external
    pub type VkPhysicalDevice

    VkPhysicalDevice::is_null

    fn VkPhysicalDevice::is_null(self : VkPhysicalDevice) -> Bool

    VkPhysicalDevice::to_pointer

    fn VkPhysicalDevice::to_pointer(self : VkPhysicalDevice) -> Pointer

    VkPhysicalDeviceFeatures

    #external
    pub type VkPhysicalDeviceFeatures

    VkPhysicalDeviceFeatures::is_null

    VkPhysicalDeviceFeatures::to_pointer

    VkPhysicalDeviceFeatures2

    #external
    pub type VkPhysicalDeviceFeatures2

    VkPhysicalDeviceFeatures2::is_null

    VkPhysicalDeviceFeatures2::to_pointer

    VkQueue

    #external
    pub type VkQueue

    VkQueue::is_null

    fn VkQueue::is_null(self : VkQueue) -> Bool

    VkQueue::to_pointer

    fn VkQueue::to_pointer(self : VkQueue) -> Pointer

    Wstream

    #external
    pub type Wstream

    Wstream::is_null

    fn Wstream::is_null(self : Wstream) -> Bool

    Wstream::to_pointer

    fn Wstream::to_pointer(self : Wstream) -> Pointer

    WstreamDynamicmemorystream

    #external
    pub type WstreamDynamicmemorystream

    WstreamDynamicmemorystream::is_null

    WstreamDynamicmemorystream::to_pointer

    WstreamFilestream

    #external
    pub type WstreamFilestream

    WstreamFilestream::is_null

    fn WstreamFilestream::is_null(self : WstreamFilestream) -> Bool

    WstreamFilestream::to_pointer

    fn WstreamFilestream::to_pointer(self : WstreamFilestream) -> Pointer

    canvas_clear

    fn canvas_clear(ccanvas : Canvas, color : UInt) -> Unit

    canvas_clip_path_with_operation

    fn canvas_clip_path_with_operation(ccanvas : Canvas, cpath : Path, op : Int, doAA : Bool) -> Unit

    canvas_clip_rect_with_operation

    fn canvas_clip_rect_with_operation(ccanvas : Canvas, crect : Rect, op : Int, doAA : Bool) -> Unit

    canvas_clip_region

    fn canvas_clip_region(ccanvas : Canvas, region : Region, op : Int) -> Unit

    canvas_clip_rrect_with_operation

    fn canvas_clip_rrect_with_operation(ccanvas : Canvas, crect : Rrect, op : Int, doAA : Bool) -> Unit

    canvas_concat

    fn canvas_concat(ccanvas : Canvas, cmatrix : Matrix44) -> Unit

    canvas_destroy

    fn canvas_destroy(ccanvas : Canvas) -> Unit

    canvas_discard

    fn canvas_discard(ccanvas : Canvas) -> Unit

    canvas_draw_annotation

    fn canvas_draw_annotation(t : Canvas, rect : Rect, key : Bytes, value : Data) -> Unit

    canvas_draw_arc

    fn canvas_draw_arc(ccanvas : Canvas, oval : Rect, startAngle : Float, sweepAngle : Float, useCenter : Bool, paint : Paint) -> Unit

    canvas_draw_circle

    fn canvas_draw_circle(ccanvas : Canvas, cx : Float, cy : Float, rad : Float, cpaint : Paint) -> Unit

    canvas_draw_color

    fn canvas_draw_color(ccanvas : Canvas, color : UInt, cmode : Int) -> Unit

    canvas_draw_drawable

    fn canvas_draw_drawable(ccanvas : Canvas, cdrawable : Drawable, cmatrix : Matrix) -> Unit

    canvas_draw_drrect

    fn canvas_draw_drrect(ccanvas : Canvas, outer : Rrect, inner : Rrect, paint : Paint) -> Unit

    canvas_draw_image_nine

    fn canvas_draw_image_nine(ccanvas : Canvas, image : Image, center : Irect, dst : Rect, mode : Int, paint : Paint) -> Unit

    canvas_draw_line

    fn canvas_draw_line(ccanvas : Canvas, x0 : Float, y0 : Float, x1 : Float, y1 : Float, cpaint : Paint) -> Unit

    fn canvas_draw_link_destination_annotation(t : Canvas, rect : Rect, value : Data) -> Unit

    canvas_draw_named_destination_annotation

    fn canvas_draw_named_destination_annotation(t : Canvas, point : Point, value : Data) -> Unit

    canvas_draw_oval

    fn canvas_draw_oval(ccanvas : Canvas, crect : Rect, cpaint : Paint) -> Unit

    canvas_draw_paint

    fn canvas_draw_paint(ccanvas : Canvas, cpaint : Paint) -> Unit

    canvas_draw_path

    fn canvas_draw_path(ccanvas : Canvas, cpath : Path, cpaint : Paint) -> Unit

    canvas_draw_picture

    fn canvas_draw_picture(ccanvas : Canvas, cpicture : Picture, cmatrix : Matrix, cpaint : Paint) -> Unit

    canvas_draw_point

    fn canvas_draw_point(ccanvas : Canvas, x : Float, y : Float, cpaint : Paint) -> Unit

    canvas_draw_rect

    fn canvas_draw_rect(ccanvas : Canvas, crect : Rect, cpaint : Paint) -> Unit

    canvas_draw_region

    fn canvas_draw_region(ccanvas : Canvas, cregion : Region, cpaint : Paint) -> Unit

    canvas_draw_round_rect

    fn canvas_draw_round_rect(ccanvas : Canvas, crect : Rect, rx : Float, ry : Float, cpaint : Paint) -> Unit

    canvas_draw_rrect

    fn canvas_draw_rrect(ccanvas : Canvas, crect : Rrect, cpaint : Paint) -> Unit

    canvas_draw_simple_text

    fn canvas_draw_simple_text(ccanvas : Canvas, text : Bytes, byte_length : UInt64, encoding : Int, x : Float, y : Float, cfont : Font, cpaint : Paint) -> Unit

    canvas_draw_text_blob

    fn canvas_draw_text_blob(ccanvas : Canvas, text : Textblob, x : Float, y : Float, cpaint : Paint) -> Unit

    canvas_draw_url_annotation

    fn canvas_draw_url_annotation(t : Canvas, rect : Rect, value : Data) -> Unit

    canvas_draw_vertices

    fn canvas_draw_vertices(ccanvas : Canvas, vertices : Vertices, mode : Int, paint : Paint) -> Unit

    canvas_get_device_clip_bounds

    fn canvas_get_device_clip_bounds(ccanvas : Canvas, cbounds : Irect) -> Bool

    canvas_get_local_clip_bounds

    fn canvas_get_local_clip_bounds(ccanvas : Canvas, cbounds : Rect) -> Bool

    canvas_get_matrix

    fn canvas_get_matrix(ccanvas : Canvas, cmatrix : Matrix44) -> Unit

    canvas_get_save_count

    fn canvas_get_save_count(ccanvas : Canvas) -> Int

    canvas_is_clip_empty

    fn canvas_is_clip_empty(ccanvas : Canvas) -> Bool

    canvas_is_clip_rect

    fn canvas_is_clip_rect(ccanvas : Canvas) -> Bool

    canvas_new_from_bitmap

    fn canvas_new_from_bitmap(bitmap : Bitmap) -> Canvas

    canvas_new_from_raster

    fn canvas_new_from_raster(cinfo : Imageinfo, pixels : Bytes, rowBytes : UInt64, props : Surfaceprops) -> Canvas

    canvas_new_from_raster_pointer

    fn canvas_new_from_raster_pointer(info : Imageinfo, pixels : Pointer, row_bytes : UInt64, props : Surfaceprops) -> Canvas

    canvas_quick_reject

    fn canvas_quick_reject(ccanvas : Canvas, crect : Rect) -> Bool

    canvas_reset_matrix

    fn canvas_reset_matrix(ccanvas : Canvas) -> Unit

    canvas_restore

    fn canvas_restore(ccanvas : Canvas) -> Unit

    canvas_restore_to_count

    fn canvas_restore_to_count(ccanvas : Canvas, saveCount : Int) -> Unit

    canvas_rotate_degrees

    fn canvas_rotate_degrees(ccanvas : Canvas, degrees : Float) -> Unit

    canvas_rotate_radians

    fn canvas_rotate_radians(ccanvas : Canvas, radians : Float) -> Unit

    canvas_save

    fn canvas_save(ccanvas : Canvas) -> Int

    canvas_save_layer

    fn canvas_save_layer(ccanvas : Canvas, crect : Rect, cpaint : Paint) -> Int

    canvas_scale

    fn canvas_scale(ccanvas : Canvas, sx : Float, sy : Float) -> Unit

    canvas_set_matrix

    fn canvas_set_matrix(ccanvas : Canvas, cmatrix : Matrix44) -> Unit

    canvas_skew

    fn canvas_skew(ccanvas : Canvas, sx : Float, sy : Float) -> Unit

    canvas_translate

    fn canvas_translate(ccanvas : Canvas, dx : Float, dy : Float) -> Unit

    colortype_get_default_8888

    fn colortype_get_default_8888() -> Int

    data_get_size

    fn data_get_size(arg0 : Data) -> UInt64

    data_new_empty

    fn data_new_empty() -> Data

    data_new_from_file

    fn data_new_from_file(path : Bytes) -> Data

    data_new_from_stream

    fn data_new_from_stream(stream : Stream, length : UInt64) -> Data

    data_new_subset

    fn data_new_subset(src : Data, offset : UInt64, length : UInt64) -> Data

    data_new_uninitialized

    fn data_new_uninitialized(size : UInt64) -> Data

    data_new_with_copy

    fn data_new_with_copy(src : Bytes, length : UInt64) -> Data

    data_ref

    fn data_ref(arg0 : Data) -> Unit

    data_unref

    fn data_unref(arg0 : Data) -> Unit

    font_break_text

    fn font_break_text(font : Font, text : Bytes, byteLength : UInt64, encoding : Int, maxWidth : Float, measuredWidth :
    Ref
    [Float], paint : Paint) -> UInt64

    font_delete

    fn font_delete(font : Font) -> Unit

    font_get_edging

    fn font_get_edging(font : Font) -> Int

    font_get_hinting

    fn font_get_hinting(font : Font) -> Int

    font_get_metrics

    fn font_get_metrics(font : Font, metrics : Fontmetrics) -> Float

    font_get_path

    fn font_get_path(font : Font, glyph : UInt16, path : Path) -> Bool

    font_get_scale_x

    fn font_get_scale_x(font : Font) -> Float

    font_get_size

    fn font_get_size(font : Font) -> Float

    font_get_skew_x

    fn font_get_skew_x(font : Font) -> Float

    font_get_typeface

    fn font_get_typeface(font : Font) -> Typeface

    font_is_baseline_snap

    fn font_is_baseline_snap(font : Font) -> Bool

    font_is_embedded_bitmaps

    fn font_is_embedded_bitmaps(font : Font) -> Bool

    font_is_embolden

    fn font_is_embolden(font : Font) -> Bool

    font_is_force_auto_hinting

    fn font_is_force_auto_hinting(font : Font) -> Bool

    font_is_linear_metrics

    fn font_is_linear_metrics(font : Font) -> Bool

    font_is_subpixel

    fn font_is_subpixel(font : Font) -> Bool

    font_measure_text

    fn font_measure_text(font : Font, text : Bytes, byteLength : UInt64, encoding : Int) -> Float

    font_measure_text_no_return

    fn font_measure_text_no_return(font : Font, text : Bytes, byteLength : UInt64, encoding : Int, bounds : Rect, paint : Paint, measuredWidth :
    Ref
    [Float]) -> Unit

    font_new_with_values

    fn font_new_with_values(typeface : Typeface, size : Float, scaleX : Float, skewX : Float) -> Font

    font_set_baseline_snap

    fn font_set_baseline_snap(font : Font, value : Bool) -> Unit

    font_set_edging

    fn font_set_edging(font : Font, value : Int) -> Unit

    font_set_embedded_bitmaps

    fn font_set_embedded_bitmaps(font : Font, value : Bool) -> Unit

    font_set_embolden

    fn font_set_embolden(font : Font, value : Bool) -> Unit

    font_set_force_auto_hinting

    fn font_set_force_auto_hinting(font : Font, value : Bool) -> Unit

    font_set_hinting

    fn font_set_hinting(font : Font, value : Int) -> Unit

    font_set_linear_metrics

    fn font_set_linear_metrics(font : Font, value : Bool) -> Unit

    font_set_scale_x

    fn font_set_scale_x(font : Font, value : Float) -> Unit

    font_set_size

    fn font_set_size(font : Font, value : Float) -> Unit

    font_set_skew_x

    fn font_set_skew_x(font : Font, value : Float) -> Unit

    font_set_subpixel

    fn font_set_subpixel(font : Font, value : Bool) -> Unit

    font_set_typeface

    fn font_set_typeface(font : Font, value : Typeface) -> Unit

    font_unichar_to_glyph

    fn font_unichar_to_glyph(font : Font, uni : Int) -> UInt16

    fontmgr_count_families

    fn fontmgr_count_families(arg0 : Fontmgr) -> Int

    fontmgr_create_default

    fn fontmgr_create_default() -> Fontmgr

    fontmgr_create_from_data

    fn fontmgr_create_from_data(arg0 : Fontmgr, data : Data, index : Int) -> Typeface

    fontmgr_create_from_file

    fn fontmgr_create_from_file(arg0 : Fontmgr, path : Bytes, index : Int) -> Typeface

    fontmgr_create_from_stream

    fn fontmgr_create_from_stream(arg0 : Fontmgr, stream : StreamAsset, index : Int) -> Typeface

    fontmgr_create_styleset

    fn fontmgr_create_styleset(arg0 : Fontmgr, index : Int) -> Fontstyleset

    fontmgr_get_family_name

    fn fontmgr_get_family_name(arg0 : Fontmgr, index : Int, familyName : StringLib) -> Unit

    fontmgr_legacy_create_typeface

    fn fontmgr_legacy_create_typeface(arg0 : Fontmgr, style : Fontstyle) -> Typeface

    fontmgr_match_family

    fn fontmgr_match_family(arg0 : Fontmgr, familyName : Bytes) -> Fontstyleset

    fontmgr_match_family_style

    fn fontmgr_match_family_style(arg0 : Fontmgr, familyName : Bytes, style : Fontstyle) -> Typeface

    fontmgr_unref

    fn fontmgr_unref(arg0 : Fontmgr) -> Unit

    fontstyle_delete

    fn fontstyle_delete(fs : Fontstyle) -> Unit

    fontstyle_get_slant

    fn fontstyle_get_slant(fs : Fontstyle) -> Int

    fontstyle_get_weight

    fn fontstyle_get_weight(fs : Fontstyle) -> Int

    fontstyle_get_width

    fn fontstyle_get_width(fs : Fontstyle) -> Int

    fontstyle_new

    fn fontstyle_new(weight : Int, width : Int, slant : Int) -> Fontstyle

    fontstyleset_create_empty

    fn fontstyleset_create_empty() -> Fontstyleset

    fontstyleset_create_typeface

    fn fontstyleset_create_typeface(fss : Fontstyleset, index : Int) -> Typeface

    fontstyleset_get_count

    fn fontstyleset_get_count(fss : Fontstyleset) -> Int

    fontstyleset_get_style

    fn fontstyleset_get_style(fss : Fontstyleset, index : Int, fs : Fontstyle, style : StringLib) -> Unit

    fontstyleset_match_style

    fn fontstyleset_match_style(fss : Fontstyleset, style : Fontstyle) -> Typeface

    fontstyleset_unref

    fn fontstyleset_unref(fss : Fontstyleset) -> Unit

    get_recording_context

    fn get_recording_context(canvas : Canvas) -> GrRecordingContext

    get_surface

    fn get_surface(canvas : Canvas) -> Surface

    graphics_dump_memory_statistics

    fn graphics_dump_memory_statistics(dump : Tracememorydump) -> Unit

    graphics_get_font_cache_count_limit

    fn graphics_get_font_cache_count_limit() -> Int

    graphics_get_font_cache_count_used

    fn graphics_get_font_cache_count_used() -> Int

    graphics_get_font_cache_limit

    fn graphics_get_font_cache_limit() -> UInt64

    graphics_get_font_cache_used

    fn graphics_get_font_cache_used() -> UInt64

    graphics_get_resource_cache_single_allocation_byte_limit

    fn graphics_get_resource_cache_single_allocation_byte_limit() -> UInt64

    graphics_get_resource_cache_total_byte_limit

    fn graphics_get_resource_cache_total_byte_limit() -> UInt64

    graphics_get_resource_cache_total_bytes_used

    fn graphics_get_resource_cache_total_bytes_used() -> UInt64

    graphics_init

    fn graphics_init() -> Unit

    graphics_purge_all_caches

    fn graphics_purge_all_caches() -> Unit

    graphics_purge_font_cache

    fn graphics_purge_font_cache() -> Unit

    graphics_purge_resource_cache

    fn graphics_purge_resource_cache() -> Unit

    graphics_set_font_cache_count_limit

    fn graphics_set_font_cache_count_limit(count : Int) -> Int

    graphics_set_font_cache_limit

    fn graphics_set_font_cache_limit(bytes : UInt64) -> UInt64

    graphics_set_resource_cache_single_allocation_byte_limit

    fn graphics_set_resource_cache_single_allocation_byte_limit(newLimit : UInt64) -> UInt64

    graphics_set_resource_cache_total_byte_limit

    fn graphics_set_resource_cache_total_byte_limit(newLimit : UInt64) -> UInt64

    image_get_alpha_type

    fn image_get_alpha_type(image : Image) -> Int

    image_get_color_type

    fn image_get_color_type(image : Image) -> Int

    image_get_colorspace

    fn image_get_colorspace(image : Image) -> Colorspace

    image_get_height

    fn image_get_height(cimage : Image) -> Int

    image_get_unique_id

    fn image_get_unique_id(cimage : Image) -> UInt

    image_get_width

    fn image_get_width(cimage : Image) -> Int

    image_is_alpha_only

    fn image_is_alpha_only(image : Image) -> Bool

    image_is_lazy_generated

    fn image_is_lazy_generated(image : Image) -> Bool

    image_is_texture_backed

    fn image_is_texture_backed(image : Image) -> Bool

    image_is_valid

    fn image_is_valid(image : Image, context : GrRecordingContext) -> Bool

    image_make_non_texture_image

    fn image_make_non_texture_image(cimage : Image) -> Image

    image_make_raster_image

    fn image_make_raster_image(cimage : Image) -> Image

    image_make_subset

    fn image_make_subset(cimage : Image, context : GrDirectContext, subset : Irect) -> Image

    image_make_subset_raster

    fn image_make_subset_raster(cimage : Image, subset : Irect) -> Image

    image_make_texture_image

    fn image_make_texture_image(cimage : Image, context : GrDirectContext, mipmapped : Bool, budgeted : Bool) -> Image

    image_make_with_filter

    fn image_make_with_filter(cimage : Image, context : GrRecordingContext, filter : Imagefilter, subset : Irect, clipBounds : Irect, outSubset : Irect, outOffset : Ipoint) -> Image

    image_make_with_filter_raster

    fn image_make_with_filter_raster(cimage : Image, filter : Imagefilter, subset : Irect, clipBounds : Irect, outSubset : Irect, outOffset : Ipoint) -> Image

    image_new_from_adopted_texture

    fn image_new_from_adopted_texture(context : GrRecordingContext, texture : GrBackendtexture, origin : Int, colorType : Int, alpha : Int, colorSpace : Colorspace) -> Image

    image_new_from_bitmap

    fn image_new_from_bitmap(cbitmap : Bitmap) -> Image

    image_new_from_encoded

    fn image_new_from_encoded(cdata : Data) -> Image

    image_new_from_picture

    fn image_new_from_picture(picture : Picture, dimensions : Isize, cmatrix : Matrix, paint : Paint, useFloatingPointBitDepth : Bool, colorSpace : Colorspace, props : Surfaceprops) -> Image

    image_new_raster_copy

    fn image_new_raster_copy(cinfo : Imageinfo, pixels : Bytes, rowBytes : UInt64) -> Image

    image_new_raster_copy_with_pixmap

    fn image_new_raster_copy_with_pixmap(pixmap : Pixmap) -> Image

    image_new_raster_data

    fn image_new_raster_data(cinfo : Imageinfo, pixels : Data, rowBytes : UInt64) -> Image

    image_peek_pixels

    fn image_peek_pixels(image : Image, pixmap : Pixmap) -> Bool

    image_read_pixels

    fn image_read_pixels(image : Image, dstInfo : Imageinfo, dstPixels : Bytes, dstRowBytes : UInt64, srcX : Int, srcY : Int, cachingHint : Int) -> Bool

    image_read_pixels_into_pixmap

    fn image_read_pixels_into_pixmap(image : Image, dst : Pixmap, srcX : Int, srcY : Int, cachingHint : Int) -> Bool

    image_ref

    fn image_ref(cimage : Image) -> Unit

    image_ref_encoded

    fn image_ref_encoded(cimage : Image) -> Data

    image_unref

    fn image_unref(cimage : Image) -> Unit

    imageinfo_bgra8888_premul

    fn imageinfo_bgra8888_premul(width : Int, height : Int) -> Imageinfo

    nodraw_canvas_destroy

    fn nodraw_canvas_destroy(t : NodrawCanvas) -> Unit

    nodraw_canvas_new

    fn nodraw_canvas_new(width : Int, height : Int) -> NodrawCanvas

    nvrefcnt_get_ref_count

    fn nvrefcnt_get_ref_count(refcnt : Nvrefcnt) -> Int

    nvrefcnt_safe_ref

    fn nvrefcnt_safe_ref(refcnt : Nvrefcnt) -> Unit

    nvrefcnt_safe_unref

    fn nvrefcnt_safe_unref(refcnt : Nvrefcnt) -> Unit

    nvrefcnt_unique

    fn nvrefcnt_unique(refcnt : Nvrefcnt) -> Bool

    nway_canvas_add_canvas

    fn nway_canvas_add_canvas(t : NwayCanvas, canvas : Canvas) -> Unit

    nway_canvas_destroy

    fn nway_canvas_destroy(t : NwayCanvas) -> Unit

    nway_canvas_new

    fn nway_canvas_new(width : Int, height : Int) -> NwayCanvas

    nway_canvas_remove_all

    fn nway_canvas_remove_all(t : NwayCanvas) -> Unit

    nway_canvas_remove_canvas

    fn nway_canvas_remove_canvas(t : NwayCanvas, canvas : Canvas) -> Unit

    opbuilder_add

    fn opbuilder_add(builder : Opbuilder, path : Path, op : Int) -> Unit

    opbuilder_destroy

    fn opbuilder_destroy(builder : Opbuilder) -> Unit

    opbuilder_new

    fn opbuilder_new() -> Opbuilder

    opbuilder_resolve

    fn opbuilder_resolve(builder : Opbuilder, result : Path) -> Bool

    overdraw_canvas_destroy

    fn overdraw_canvas_destroy(canvas : OverdrawCanvas) -> Unit

    overdraw_canvas_new

    fn overdraw_canvas_new(canvas : Canvas) -> OverdrawCanvas

    paint_clone

    fn paint_clone(arg0 : Paint) -> Paint

    paint_delete

    fn paint_delete(arg0 : Paint) -> Unit

    paint_get_blender

    fn paint_get_blender(cpaint : Paint) -> Blender

    paint_get_blendmode

    fn paint_get_blendmode(arg0 : Paint) -> Int

    paint_get_color

    fn paint_get_color(arg0 : Paint) -> UInt

    paint_get_color4f

    fn paint_get_color4f(paint : Paint, color : Color4f) -> Unit

    paint_get_colorfilter

    fn paint_get_colorfilter(arg0 : Paint) -> Colorfilter

    paint_get_fill_path

    fn paint_get_fill_path(cpaint : Paint, src : Path, dst : Pathbuilder, cullRect : Rect, cmatrix : Matrix) -> Bool

    paint_get_imagefilter

    fn paint_get_imagefilter(arg0 : Paint) -> Imagefilter

    paint_get_maskfilter

    fn paint_get_maskfilter(arg0 : Paint) -> Maskfilter

    paint_get_path_effect

    fn paint_get_path_effect(cpaint : Paint) -> PathEffect

    paint_get_shader

    fn paint_get_shader(arg0 : Paint) -> Shader

    paint_get_stroke_cap

    fn paint_get_stroke_cap(arg0 : Paint) -> Int

    paint_get_stroke_join

    fn paint_get_stroke_join(arg0 : Paint) -> Int

    paint_get_stroke_miter

    fn paint_get_stroke_miter(arg0 : Paint) -> Float

    paint_get_stroke_width

    fn paint_get_stroke_width(arg0 : Paint) -> Float

    paint_get_style

    fn paint_get_style(arg0 : Paint) -> Int

    paint_is_antialias

    fn paint_is_antialias(arg0 : Paint) -> Bool

    paint_is_dither

    fn paint_is_dither(arg0 : Paint) -> Bool

    paint_new

    fn paint_new() -> Paint

    paint_reset

    fn paint_reset(arg0 : Paint) -> Unit

    paint_set_antialias

    fn paint_set_antialias(arg0 : Paint, arg1 : Bool) -> Unit

    paint_set_blender

    fn paint_set_blender(paint : Paint, blender : Blender) -> Unit

    paint_set_blendmode

    fn paint_set_blendmode(arg0 : Paint, arg1 : Int) -> Unit

    paint_set_color

    fn paint_set_color(arg0 : Paint, arg1 : UInt) -> Unit

    paint_set_color4f

    fn paint_set_color4f(paint : Paint, color : Color4f, colorspace : Colorspace) -> Unit

    paint_set_colorfilter

    fn paint_set_colorfilter(arg0 : Paint, arg1 : Colorfilter) -> Unit

    paint_set_dither

    fn paint_set_dither(arg0 : Paint, arg1 : Bool) -> Unit

    paint_set_imagefilter

    fn paint_set_imagefilter(arg0 : Paint, arg1 : Imagefilter) -> Unit

    paint_set_maskfilter

    fn paint_set_maskfilter(arg0 : Paint, arg1 : Maskfilter) -> Unit

    paint_set_path_effect

    fn paint_set_path_effect(cpaint : Paint, effect : PathEffect) -> Unit

    paint_set_shader

    fn paint_set_shader(arg0 : Paint, arg1 : Shader) -> Unit

    paint_set_stroke_cap

    fn paint_set_stroke_cap(arg0 : Paint, arg1 : Int) -> Unit

    paint_set_stroke_join

    fn paint_set_stroke_join(arg0 : Paint, arg1 : Int) -> Unit

    paint_set_stroke_miter

    fn paint_set_stroke_miter(arg0 : Paint, miter : Float) -> Unit

    paint_set_stroke_width

    fn paint_set_stroke_width(arg0 : Paint, width : Float) -> Unit

    paint_set_style

    fn paint_set_style(arg0 : Paint, arg1 : Int) -> Unit

    path_clone

    fn path_clone(cpath : Path) -> Path

    path_compute_tight_bounds

    fn path_compute_tight_bounds(arg0 : Path, arg1 : Rect) -> Unit

    path_contains

    fn path_contains(cpath : Path, x : Float, y : Float) -> Bool

    path_convert_conic_to_quads

    fn path_convert_conic_to_quads(p0 : Point, p1 : Point, p2 : Point, w : Float, pts : Point, pow2 : Int) -> Int

    path_count_points

    fn path_count_points(cpath : Path) -> Int

    path_count_verbs

    fn path_count_verbs(cpath : Path) -> Int

    path_create_iter

    fn path_create_iter(cpath : Path, forceClose : Int) -> PathIterator

    path_create_rawiter

    fn path_create_rawiter(cpath : Path) -> PathRawiterator

    path_delete

    fn path_delete(arg0 : Path) -> Unit

    path_get_bounds

    fn path_get_bounds(arg0 : Path, arg1 : Rect) -> Unit

    path_get_filltype

    fn path_get_filltype(arg0 : Path) -> Int

    path_get_last_point

    fn path_get_last_point(cpath : Path, point : Point) -> Bool

    path_get_point

    fn path_get_point(cpath : Path, index : Int, point : Point) -> Unit

    path_get_points

    fn path_get_points(cpath : Path, points : Point, max : Int) -> Int

    path_get_segment_masks

    fn path_get_segment_masks(cpath : Path) -> UInt

    path_is_convex

    fn path_is_convex(cpath : Path) -> Bool

    path_is_oval

    fn path_is_oval(cpath : Path, bounds : Rect) -> Bool

    path_is_rect

    fn path_is_rect(cpath : Path, rect : Rect, isClosed :
    Ref
    [Bool], direction :
    Ref
    [Int]) -> Bool

    path_is_rrect

    fn path_is_rrect(cpath : Path, bounds : Rrect) -> Bool

    path_iter_conic_weight

    fn path_iter_conic_weight(iterator : PathIterator) -> Float

    path_iter_destroy

    fn path_iter_destroy(iterator : PathIterator) -> Unit

    path_iter_is_close_line

    fn path_iter_is_close_line(iterator : PathIterator) -> Int

    path_iter_is_closed_contour

    fn path_iter_is_closed_contour(iterator : PathIterator) -> Int

    path_new

    fn path_new() -> Path

    path_parse_svg_string

    fn path_parse_svg_string(cpath : Path, str : Bytes) -> Bool

    path_rawiter_conic_weight

    fn path_rawiter_conic_weight(iterator : PathRawiterator) -> Float

    path_rawiter_destroy

    fn path_rawiter_destroy(iterator : PathRawiterator) -> Unit

    path_rawiter_peek

    fn path_rawiter_peek(iterator : PathRawiterator) -> Int

    path_reset

    fn path_reset(cpath : Path) -> Unit

    path_rewind

    fn path_rewind(cpath : Path) -> Unit

    path_set_filltype

    fn path_set_filltype(arg0 : Path, arg1 : Int) -> Unit

    path_to_svg_string

    fn path_to_svg_string(cpath : Path, str : StringLib) -> Unit

    path_transform

    fn path_transform(cpath : Path, cmatrix : Matrix) -> Unit

    path_transform_to_dest

    fn path_transform_to_dest(cpath : Path, cmatrix : Matrix, destination : Path) -> Unit

    pathmeasure_destroy

    fn pathmeasure_destroy(pathMeasure : Pathmeasure) -> Unit

    pathmeasure_get_length

    fn pathmeasure_get_length(pathMeasure : Pathmeasure) -> Float

    pathmeasure_get_matrix

    fn pathmeasure_get_matrix(pathMeasure : Pathmeasure, distance : Float, matrix : Matrix, flags : Int) -> Bool

    pathmeasure_get_segment

    fn pathmeasure_get_segment(pathMeasure : Pathmeasure, start : Float, stop : Float, dst : Pathbuilder, startWithMoveTo : Bool) -> Bool

    pathmeasure_is_closed

    fn pathmeasure_is_closed(pathMeasure : Pathmeasure) -> Bool

    pathmeasure_new

    fn pathmeasure_new() -> Pathmeasure

    pathmeasure_new_with_path

    fn pathmeasure_new_with_path(path : Path, forceClosed : Bool, resScale : Float) -> Pathmeasure

    pathmeasure_next_contour

    fn pathmeasure_next_contour(pathMeasure : Pathmeasure) -> Bool

    pathmeasure_set_path

    fn pathmeasure_set_path(pathMeasure : Pathmeasure, path : Path, forceClosed : Bool) -> Unit

    pathop_as_winding

    fn pathop_as_winding(path : Path, result : Path) -> Bool

    pathop_op

    fn pathop_op(one : Path, two : Path, op : Int, result : Path) -> Bool

    pathop_simplify

    fn pathop_simplify(path : Path, result : Path) -> Bool

    pathop_tight_bounds

    fn pathop_tight_bounds(path : Path, result : Rect) -> Bool

    refcnt_get_ref_count

    fn refcnt_get_ref_count(refcnt : Refcnt) -> Int

    refcnt_safe_ref

    fn refcnt_safe_ref(refcnt : Refcnt) -> Unit

    refcnt_safe_unref

    fn refcnt_safe_unref(refcnt : Refcnt) -> Unit

    refcnt_unique

    fn refcnt_unique(refcnt : Refcnt) -> Bool

    skia_write_surface_png

    fn skia_write_surface_png(surface : Surface, path : Bytes) -> Int

    surface_draw

    fn surface_draw(surface : Surface, canvas : Canvas, x : Float, y : Float, paint : Paint) -> Unit

    surface_get_canvas

    fn surface_get_canvas(arg0 : Surface) -> Canvas

    surface_get_props

    fn surface_get_props(surface : Surface) -> Surfaceprops

    surface_get_recording_context

    fn surface_get_recording_context(surface : Surface) -> GrRecordingContext

    surface_new_backend_render_target

    fn surface_new_backend_render_target(context : GrRecordingContext, target : GrBackendrendertarget, origin : Int, colorType : Int, colorspace : Colorspace, props : Surfaceprops) -> Surface

    surface_new_backend_texture

    fn surface_new_backend_texture(context : GrRecordingContext, texture : GrBackendtexture, origin : Int, samples : Int, colorType : Int, colorspace : Colorspace, props : Surfaceprops) -> Surface

    surface_new_image_snapshot

    fn surface_new_image_snapshot(arg0 : Surface) -> Image

    surface_new_image_snapshot_with_crop

    fn surface_new_image_snapshot_with_crop(surface : Surface, bounds : Irect) -> Image

    surface_new_null

    fn surface_new_null(width : Int, height : Int) -> Surface

    surface_new_raster

    fn surface_new_raster(arg0 : Imageinfo, rowBytes : UInt64, arg2 : Surfaceprops) -> Surface

    surface_new_render_target

    fn surface_new_render_target(context : GrRecordingContext, budgeted : Bool, cinfo : Imageinfo, sampleCount : Int, origin : Int, props : Surfaceprops, shouldCreateWithMips : Bool) -> Surface

    surface_peek_pixels

    fn surface_peek_pixels(surface : Surface, pixmap : Pixmap) -> Bool

    surface_read_pixels

    fn surface_read_pixels(surface : Surface, dstInfo : Imageinfo, dstPixels : Bytes, dstRowBytes : UInt64, srcX : Int, srcY : Int) -> Bool

    surface_unref

    fn surface_unref(arg0 : Surface) -> Unit

    surfaceprops_delete

    fn surfaceprops_delete(props : Surfaceprops) -> Unit

    surfaceprops_get_flags

    fn surfaceprops_get_flags(props : Surfaceprops) -> UInt

    surfaceprops_get_pixel_geometry

    fn surfaceprops_get_pixel_geometry(props : Surfaceprops) -> Int

    surfaceprops_new

    fn surfaceprops_new(flags : UInt, geometry : Int) -> Surfaceprops

    text_utils_get_path

    fn text_utils_get_path(text : Bytes, length : UInt64, encoding : Int, x : Float, y : Float, font : Font, path : Path) -> Unit

    typeface_copy_table_data

    fn typeface_copy_table_data(typeface : Typeface, tag : UInt) -> Data

    typeface_count_glyphs

    fn typeface_count_glyphs(typeface : Typeface) -> Int

    typeface_count_tables

    fn typeface_count_tables(typeface : Typeface) -> Int

    typeface_create_empty

    fn typeface_create_empty() -> Typeface

    typeface_get_family_name

    fn typeface_get_family_name(typeface : Typeface) -> StringLib

    typeface_get_font_slant

    fn typeface_get_font_slant(typeface : Typeface) -> Int

    typeface_get_font_weight

    fn typeface_get_font_weight(typeface : Typeface) -> Int

    typeface_get_font_width

    fn typeface_get_font_width(typeface : Typeface) -> Int

    typeface_get_fontstyle

    fn typeface_get_fontstyle(typeface : Typeface) -> Fontstyle

    typeface_get_post_script_name

    fn typeface_get_post_script_name(typeface : Typeface) -> StringLib

    typeface_get_table_data

    fn typeface_get_table_data(typeface : Typeface, tag : UInt, offset : UInt64, length : UInt64, data : Bytes) -> UInt64

    typeface_get_table_size

    fn typeface_get_table_size(typeface : Typeface, tag : UInt) -> UInt64

    typeface_get_units_per_em

    fn typeface_get_units_per_em(typeface : Typeface) -> Int

    typeface_is_fixed_pitch

    fn typeface_is_fixed_pitch(typeface : Typeface) -> Bool

    typeface_open_stream

    fn typeface_open_stream(typeface : Typeface, ttcIndex :
    Ref
    [Int]) -> StreamAsset

    typeface_unichar_to_glyph

    fn typeface_unichar_to_glyph(typeface : Typeface, unichar : Int) -> UInt16

    typeface_unref

    fn typeface_unref(typeface : Typeface) -> Unit

    version_get_increment

    fn version_get_increment() -> Int

    version_get_milestone

    fn version_get_milestone() -> Int

    version_get_string

    fn version_get_string() -> Bytes