Low-level MoonBit bindings for Skia C API
#external
pub type BbhFactory#external
pub type Bitmap#external
pub type Blender#external
pub type Codectype Color4f#external
pub type Colorfilter#external
pub type Colorspace#external
pub type ColorspaceIccProfiletype CubicResampler#external
pub type D3dAlloc#external
pub type D3dD12CommandQueue#external
pub type D3dD12Device#external
pub type D3dD12Resource#external
pub type D3dDxgiAdapter#external
pub type Document#external
pub type Drawable#external
pub type Flattenabletype Fontmetricsfn Fontmetrics::Fontmetrics(f_flags : UInt, f_top : Float, f_ascent : Float, f_descent : Float, f_bottom : Float, f_leading : Float, f_avg_char_width : Float, f_max_char_width : Float, f_x_min : Float, f_x_max : Float, f_x_height : Float, f_cap_height : Float, f_underline_thickness : Float, f_underline_position : Float, f_strikeout_thickness : Float, f_strikeout_position : Float) -> Fontmetrics#external
pub type Fontmgr#external
pub type Fontstyle#external
pub type Fontstylesetpub type GrBackendrendertarget#external
pub type GrBackendtexture#external
pub type GrD3dMemoryAllocator#external
pub type GrDirectContexttype GrGlFramebufferinfofn GrGlFramebufferinfo::GrGlFramebufferinfo(f_fboid : UInt, f_format : UInt, f_protected : Bool) -> GrGlFramebufferinfopub type GrGlinterface#external
pub type GrRecordingContext#external
pub type GrVkExtensions#external
pub type GrVkMemoryAllocator#external
pub type GrVkinterface#external
pub type Imagefiltertype Imageinfofn Imageinfo::Imageinfo(colorspace : Colorspace, width : Int, height : Int, color_type : Int, alpha_type : Int) -> Imageinfotype Ipointtype Irecttype Isize#external
pub type Maskfiltertype Matrixtype Matrix44#external
pub type NodrawCanvas#external
pub type Nvrefcnt#external
pub type NwayCanvas#external
pub type Opbuilder#external
pub type OverdrawCanvas#external
pub type PathEffect#external
pub type PathIterator#external
pub type PathRawiterator#external
pub type Pathbuilder#external
pub type Pathmeasure#external
pub type Picture#external
pub type PictureRecorder#external
pub type PixelrefFactory#external
pub type Pixmaptype Pointtype Point3#external
pub type Pointertype Rect#external
pub type Refcnt#external
pub type Region#external
pub type RegionCliperator#external
pub type RegionIterator#external
pub type RegionSpanerator#external
pub type Rrecttype Rsxform#external
pub type RtreeFactory#external
pub type Runtimeeffecttype SamplingOptionsfn SamplingOptions::SamplingOptions(f_max_aniso : Int, f_use_cubic : Bool, f_cubic : CubicResampler, f_filter : Int, f_mipmap : Int) -> SamplingOptions#external
pub type Shadertype Size#external
pub type SkottieAnimation#external
pub type SkottieAnimationBuilder#external
pub type SkottieLogger#external
pub type SkottieMarkerObserver#external
pub type SkottiePropertyObserver#external
pub type SkottieResourceProvider#external
pub type SkresourcesExternalTrackAsset#external
pub type SkresourcesImageAsset#external
pub type SkresourcesMultiFrameImageAsset#external
pub type SkresourcesResourceProvider#external
pub type SksgInvalidationController#external
pub type Stream#external
pub type StreamAsset#external
pub type StreamFilestream#external
pub type StreamMemorystream#external
pub type StreamStreamrewindable#external
pub type StringLib#external
pub type Surfaceprops#external
pub type Svgcanvas#external
pub type Textblob#external
pub type TextblobBuilder#external
pub type Tracememorydump#external
pub type Vertices#external
pub type VkDevice#external
pub type VkInstance#external
pub type VkPhysicalDevice#external
pub type VkPhysicalDeviceFeatures#external
pub type VkPhysicalDeviceFeatures2#external
pub type VkQueue#external
pub type Wstream#external
pub type WstreamDynamicmemorystream#external
pub type WstreamFilestreamfn canvas_draw_image(ccanvas : Canvas, cimage : Image, x : Float, y : Float, sampling : SamplingOptions, cpaint : Paint) -> Unitfn canvas_new_from_raster(cinfo : Imageinfo, pixels : Bytes, rowBytes : UInt64, props : Surfaceprops) -> Canvasfn canvas_new_from_raster_pointer(info : Imageinfo, pixels : Pointer, row_bytes : UInt64, props : Surfaceprops) -> Canvasfn fontstyleset_get_style(fss : Fontstyleset, index : Int, fs : Fontstyle, style : StringLib) -> Unitfn gr_backendrendertarget_get_gl_framebufferinfo(rendertarget : GrBackendrendertarget, glInfo : GrGlFramebufferinfo) -> Boolfn gr_backendrendertarget_new_gl(width : Int, height : Int, samples : Int, stencils : Int, glInfo : GrGlFramebufferinfo) -> GrBackendrendertargetfn gr_direct_context_dump_memory_statistics(context : GrDirectContext, dump : Tracememorydump) -> Unitfn gr_direct_context_get_resource_cache_usage(context : GrDirectContext, maxResources : Ref[Int], maxResourceBytes : Ref[UInt64]) -> Unitfn gr_direct_context_purge_unlocked_resources(context : GrDirectContext, scratchResourcesOnly : Bool) -> Unitfn gr_direct_context_purge_unlocked_resources_bytes(context : GrDirectContext, bytesToPurge : UInt64, preferScratchResources : Bool) -> Unitfn gr_direct_context_set_resource_cache_limit(context : GrDirectContext, maxResourceBytes : UInt64) -> Unitfn gr_recording_context_get_max_surface_sample_count_for_color_type(context : GrRecordingContext, colorType : Int) -> Intfn gr_vk_extensions_has_extension(extensions : GrVkExtensions, ext : Bytes, minVersion : UInt) -> Boolfn graphics_get_resource_cache_single_allocation_byte_limit() -> UInt64fn graphics_get_resource_cache_total_byte_limit() -> UInt64fn graphics_get_resource_cache_total_bytes_used() -> UInt64fn graphics_set_resource_cache_single_allocation_byte_limit(newLimit : UInt64) -> UInt64fn graphics_set_resource_cache_total_byte_limit(newLimit : UInt64) -> UInt64fn image_make_raw_shader(image : Image, tileX : Int, tileY : Int, sampling : SamplingOptions, cmatrix : Matrix) -> Shaderfn image_make_shader(image : Image, tileX : Int, tileY : Int, sampling : SamplingOptions, cmatrix : Matrix) -> Shaderfn image_make_texture_image(cimage : Image, context : GrDirectContext, mipmapped : Bool, budgeted : Bool) -> Imagefn image_make_with_filter(cimage : Image, context : GrRecordingContext, filter : Imagefilter, subset : Irect, clipBounds : Irect, outSubset : Irect, outOffset : Ipoint) -> Imagefn image_new_from_adopted_texture(context : GrRecordingContext, texture : GrBackendtexture, origin : Int, colorType : Int, alpha : Int, colorSpace : Colorspace) -> Imagefn image_new_from_picture(picture : Picture, dimensions : Isize, cmatrix : Matrix, paint : Paint, useFloatingPointBitDepth : Bool, colorSpace : Colorspace, props : Surfaceprops) -> Imagefn image_scale_pixels(image : Image, dst : Pixmap, sampling : SamplingOptions, cachingHint : Int) -> Boolfn paint_get_fill_path(cpaint : Paint, src : Path, dst : Pathbuilder, cullRect : Rect, cmatrix : Matrix) -> Boolfn pathmeasure_get_matrix(pathMeasure : Pathmeasure, distance : Float, matrix : Matrix, flags : Int) -> Boolfn pathmeasure_get_pos_tan(pathMeasure : Pathmeasure, distance : Float, position : Point, tangent : Point) -> Boolfn pathmeasure_get_segment(pathMeasure : Pathmeasure, start : Float, stop : Float, dst : Pathbuilder, startWithMoveTo : Bool) -> Boolfn surface_draw_with_sampling(surface : Surface, canvas : Canvas, x : Float, y : Float, sampling : SamplingOptions, paint : Paint) -> Unitfn surface_new_backend_render_target(context : GrRecordingContext, target : GrBackendrendertarget, origin : Int, colorType : Int, colorspace : Colorspace, props : Surfaceprops) -> Surfacefn surface_new_backend_texture(context : GrRecordingContext, texture : GrBackendtexture, origin : Int, samples : Int, colorType : Int, colorspace : Colorspace, props : Surfaceprops) -> Surfacefn surface_new_render_target(context : GrRecordingContext, budgeted : Bool, cinfo : Imageinfo, sampleCount : Int, origin : Int, props : Surfaceprops, shouldCreateWithMips : Bool) -> Surfacefn typeface_get_table_data(typeface : Typeface, tag : UInt, offset : UInt64, length : UInt64, data : Bytes) -> UInt64