Sign in

    wzzc-dev/moui_sun/renderer does not have a README file

    CachedBmpPixmapDrawResult

    pub struct CachedBmpPixmapDrawResult {
    did_decode_pixmap : Bool
    } derive(
    Debug
    )

    Result of decoding BMP bytes through a pixmap cache and drawing them.

    CachedBmpPixmapDrawResult::did_decode_pixmap

    fn CachedBmpPixmapDrawResult::did_decode_pixmap(self : CachedBmpPixmapDrawResult) -> Bool

    Return whether this draw decoded BMP bytes into the image cache.

    CachedBmpPixmapDrawResult::did_hit_cache

    fn CachedBmpPixmapDrawResult::did_hit_cache(self : CachedBmpPixmapDrawResult) -> Bool

    Return whether this draw reused a cached decoded pixmap.

    CachedFontAtlasDrawResult

    pub struct CachedFontAtlasDrawResult {
    did_parse_font : Bool
    atlas_result : TextAtlasDrawResult
    } derive(
    Debug
    )

    Result of parsing font bytes through renderer resources and drawing atlas text.

    CachedFontAtlasDrawResult::did_clear_atlas

    fn CachedFontAtlasDrawResult::did_clear_atlas(self : CachedFontAtlasDrawResult) -> Bool

    Return whether the atlas was cleared while drawing this text.

    CachedFontAtlasDrawResult::did_hit_font_cache

    fn CachedFontAtlasDrawResult::did_hit_font_cache(self : CachedFontAtlasDrawResult) -> Bool

    Return whether this draw reused a checked font face from cache.

    CachedFontAtlasDrawResult::did_parse_font

    fn CachedFontAtlasDrawResult::did_parse_font(self : CachedFontAtlasDrawResult) -> Bool

    Return whether this draw parsed font bytes instead of hitting cache.

    CachedFontAtlasDrawResult::get_atlas_hit_count

    fn CachedFontAtlasDrawResult::get_atlas_hit_count(self : CachedFontAtlasDrawResult) -> Int

    Return the number of glyph placements reused from the atlas.

    CachedFontAtlasDrawResult::get_atlas_inserted_count

    fn CachedFontAtlasDrawResult::get_atlas_inserted_count(self : CachedFontAtlasDrawResult) -> Int

    Return the number of glyph placements newly inserted into the atlas.

    CachedFontAtlasDrawResult::get_atlas_result

    Return the underlying glyph-atlas draw result.

    CachedFontAtlasDrawResult::get_cache_hit_count

    fn CachedFontAtlasDrawResult::get_cache_hit_count(self : CachedFontAtlasDrawResult) -> Int

    Return the number of drawable glyphs reused from the glyph mask cache.

    CachedFontAtlasDrawResult::get_drawn_glyph_count

    fn CachedFontAtlasDrawResult::get_drawn_glyph_count(self : CachedFontAtlasDrawResult) -> Int

    Return the number of glyphs composited from the atlas.

    CachedFontAtlasDrawResult::get_glyph_count

    fn CachedFontAtlasDrawResult::get_glyph_count(self : CachedFontAtlasDrawResult) -> Int

    Return the number of layout glyphs visited by the atlas draw.

    CachedFontAtlasDrawResult::get_rasterized_glyph_count

    fn CachedFontAtlasDrawResult::get_rasterized_glyph_count(self : CachedFontAtlasDrawResult) -> Int

    Return the number of glyph masks rasterized on cache miss.

    CachedFontAtlasDrawResult::get_skipped_glyph_count

    fn CachedFontAtlasDrawResult::get_skipped_glyph_count(self : CachedFontAtlasDrawResult) -> Int

    Return the number of layout glyphs that could not be drawn through the atlas.

    CachedFontFallbackAtlasDrawResult

    pub struct CachedFontFallbackAtlasDrawResult {
    parsed_font_count : Int
    font_cache_hit_count : Int
    fallback_result : TextFallbackAtlasDrawResult
    } derive(
    Debug
    )

    Result of parsing a font-byte fallback stack and drawing atlas fallback text.

    CachedFontFallbackAtlasDrawResult::did_clear_atlas

    Return whether the atlas was cleared while drawing this fallback line.

    CachedFontFallbackAtlasDrawResult::get_advance_width

    Return the horizontal advance consumed by the fallback atlas draw.

    CachedFontFallbackAtlasDrawResult::get_atlas_hit_count

    Return the number of glyph placements reused from the atlas.

    CachedFontFallbackAtlasDrawResult::get_atlas_inserted_count

    fn CachedFontFallbackAtlasDrawResult::get_atlas_inserted_count(self : CachedFontFallbackAtlasDrawResult) -> Int

    Return the number of glyph placements newly inserted into the atlas.

    CachedFontFallbackAtlasDrawResult::get_atlas_result

    Return the underlying glyph-atlas draw result.

    CachedFontFallbackAtlasDrawResult::get_cache_hit_count

    Return the number of drawable glyphs reused from the glyph mask cache.

    CachedFontFallbackAtlasDrawResult::get_drawn_glyph_count

    Return the number of glyphs composited from the atlas.

    CachedFontFallbackAtlasDrawResult::get_drawn_span_count

    Return the number of fallback spans drawn with a covering face.

    CachedFontFallbackAtlasDrawResult::get_fallback_result

    Return the underlying fallback atlas draw result.

    CachedFontFallbackAtlasDrawResult::get_font_cache_hit_count

    fn CachedFontFallbackAtlasDrawResult::get_font_cache_hit_count(self : CachedFontFallbackAtlasDrawResult) -> Int

    Return the number of fallback font sources reused from the font cache.

    CachedFontFallbackAtlasDrawResult::get_glyph_count

    Return the number of layout glyphs visited by covered fallback spans.

    CachedFontFallbackAtlasDrawResult::get_missing_char_count

    Return the number of text scalars not covered by any fallback face.

    CachedFontFallbackAtlasDrawResult::get_missing_span_count

    Return the number of missing-glyph spans skipped by this atlas draw.

    CachedFontFallbackAtlasDrawResult::get_parsed_font_count

    Return the number of fallback font sources parsed on this atlas draw.

    CachedFontFallbackAtlasDrawResult::get_rasterized_glyph_count

    fn CachedFontFallbackAtlasDrawResult::get_rasterized_glyph_count(self : CachedFontFallbackAtlasDrawResult) -> Int

    Return the number of glyph masks rasterized on cache miss.

    CachedFontFallbackAtlasDrawResult::get_skipped_glyph_count

    fn CachedFontFallbackAtlasDrawResult::get_skipped_glyph_count(self : CachedFontFallbackAtlasDrawResult) -> Int

    Return the number of layout glyphs that could not be drawn through the atlas.

    CachedFontFallbackAtlasDrawResult::get_skipped_span_count

    Return the number of missing-glyph spans skipped by this atlas draw.

    CachedFontFallbackAtlasDrawResult::get_span_count

    Return the number of fallback spans visited by this atlas draw.

    CachedFontFallbackAtlasDrawResult::has_missing_glyphs

    Return whether this atlas draw skipped at least one missing glyph span.

    CachedFontFallbackDrawResult

    pub struct CachedFontFallbackDrawResult {
    parsed_font_count : Int
    font_cache_hit_count : Int
    fallback_result : TextFallbackDrawResult
    } derive(
    Debug
    )

    Result of parsing a font-byte fallback stack and drawing cached fallback text.

    CachedFontFallbackDrawResult::get_advance_width

    fn CachedFontFallbackDrawResult::get_advance_width(self : CachedFontFallbackDrawResult) -> Double

    Return the horizontal advance consumed by the fallback line draw.

    CachedFontFallbackDrawResult::get_drawn_span_count

    fn CachedFontFallbackDrawResult::get_drawn_span_count(self : CachedFontFallbackDrawResult) -> Int

    Return the number of fallback spans drawn with a covering face.

    CachedFontFallbackDrawResult::get_fallback_result

    Return the underlying fallback line draw result.

    CachedFontFallbackDrawResult::get_font_cache_hit_count

    fn CachedFontFallbackDrawResult::get_font_cache_hit_count(self : CachedFontFallbackDrawResult) -> Int

    Return the number of fallback font sources reused from the font cache.

    CachedFontFallbackDrawResult::get_missing_char_count

    fn CachedFontFallbackDrawResult::get_missing_char_count(self : CachedFontFallbackDrawResult) -> Int

    Return the number of text scalars not covered by any fallback face.

    CachedFontFallbackDrawResult::get_missing_span_count

    fn CachedFontFallbackDrawResult::get_missing_span_count(self : CachedFontFallbackDrawResult) -> Int

    Return the number of missing-glyph spans skipped by this draw.

    CachedFontFallbackDrawResult::get_parsed_font_count

    fn CachedFontFallbackDrawResult::get_parsed_font_count(self : CachedFontFallbackDrawResult) -> Int

    Return the number of fallback font sources parsed on this draw.

    CachedFontFallbackDrawResult::get_rendered_mask_count

    fn CachedFontFallbackDrawResult::get_rendered_mask_count(self : CachedFontFallbackDrawResult) -> Int

    Return the number of fallback spans that rendered a fresh mask.

    CachedFontFallbackDrawResult::get_skipped_span_count

    fn CachedFontFallbackDrawResult::get_skipped_span_count(self : CachedFontFallbackDrawResult) -> Int

    Return the number of missing-glyph spans skipped by this draw.

    CachedFontFallbackDrawResult::get_span_count

    Return the number of fallback spans visited by this draw.

    CachedFontFallbackDrawResult::get_text_cache_hit_count

    fn CachedFontFallbackDrawResult::get_text_cache_hit_count(self : CachedFontFallbackDrawResult) -> Int

    Return the number of fallback spans reused from the text-mask cache.

    CachedFontFallbackDrawResult::has_missing_glyphs

    fn CachedFontFallbackDrawResult::has_missing_glyphs(self : CachedFontFallbackDrawResult) -> Bool

    Return whether this draw skipped at least one missing glyph span.

    CachedFontTextDrawResult

    pub struct CachedFontTextDrawResult {
    did_parse_font : Bool
    text_result : TextMaskDrawResult
    } derive(
    Debug
    )

    Result of parsing font bytes through renderer resources and drawing text.

    CachedFontTextDrawResult::did_hit_font_cache

    fn CachedFontTextDrawResult::did_hit_font_cache(self : CachedFontTextDrawResult) -> Bool

    Return whether this draw reused a checked font face from cache.

    CachedFontTextDrawResult::did_hit_text_cache

    fn CachedFontTextDrawResult::did_hit_text_cache(self : CachedFontTextDrawResult) -> Bool

    Return whether this draw reused a rendered text mask from cache.

    CachedFontTextDrawResult::did_parse_font

    fn CachedFontTextDrawResult::did_parse_font(self : CachedFontTextDrawResult) -> Bool

    Return whether this draw parsed font bytes instead of hitting cache.

    CachedFontTextDrawResult::did_render_mask

    fn CachedFontTextDrawResult::did_render_mask(self : CachedFontTextDrawResult) -> Bool

    Return whether this draw rendered a new text mask instead of hitting cache.

    CachedFontTextDrawResult::get_text_result

    Return the underlying rendered text-mask draw result.

    CachedPixmapDrawResult

    pub struct CachedPixmapDrawResult {
    did_insert_pixmap : Bool
    } derive(
    Debug
    )

    Result of drawing through a caller-owned pixmap cache.

    CachedPixmapDrawResult::did_hit_cache

    fn CachedPixmapDrawResult::did_hit_cache(self : CachedPixmapDrawResult) -> Bool

    Return whether this draw reused a pixmap from the image cache.

    CachedPixmapDrawResult::did_insert_pixmap

    fn CachedPixmapDrawResult::did_insert_pixmap(self : CachedPixmapDrawResult) -> Bool

    Return whether this draw inserted a pixmap into the image cache.

    CachedPngPixmapDrawResult

    pub struct CachedPngPixmapDrawResult {
    did_decode_pixmap : Bool
    } derive(
    Debug
    )

    Result of decoding PNG bytes through a pixmap cache and drawing them.

    CachedPngPixmapDrawResult::did_decode_pixmap

    fn CachedPngPixmapDrawResult::did_decode_pixmap(self : CachedPngPixmapDrawResult) -> Bool

    Return whether this draw decoded PNG bytes into the image cache.

    CachedPngPixmapDrawResult::did_hit_cache

    fn CachedPngPixmapDrawResult::did_hit_cache(self : CachedPngPixmapDrawResult) -> Bool

    Return whether this draw reused a cached decoded pixmap.

    CachedRgbaPixmapDrawResult

    pub struct CachedRgbaPixmapDrawResult {
    did_decode_pixmap : Bool
    } derive(
    Debug
    )

    Result of decoding raw RGBA bytes through a pixmap cache and drawing them.

    CachedRgbaPixmapDrawResult::did_decode_pixmap

    fn CachedRgbaPixmapDrawResult::did_decode_pixmap(self : CachedRgbaPixmapDrawResult) -> Bool

    Return whether this draw decoded RGBA bytes into the image cache.

    CachedRgbaPixmapDrawResult::did_hit_cache

    fn CachedRgbaPixmapDrawResult::did_hit_cache(self : CachedRgbaPixmapDrawResult) -> Bool

    Return whether this draw reused a cached decoded pixmap.

    FontBytesFallbackSource

    pub struct FontBytesFallbackSource {
    font_key : String
    font_data : Bytes
    } derive(
    Debug
    )

    One keyed font-byte source in an ordered fallback stack.

    FontBytesFallbackSource::get_font_data

    fn FontBytesFallbackSource::get_font_data(self : FontBytesFallbackSource) -> Bytes

    Return the font bytes for this fallback source.

    FontBytesFallbackSource::get_font_key

    fn FontBytesFallbackSource::get_font_key(self : FontBytesFallbackSource) -> String

    Return the stable font-resource key for this fallback source.

    FontBytesFallbackSource::new

    fn FontBytesFallbackSource::new(font_key : String, font_data : Bytes) -> FontBytesFallbackSource

    Create one keyed font-byte source for fallback rendering.

    RenderCommand

    pub enum RenderCommand {
    Clear(
    Color
    )
    FillRect(Double, Double, Double, Double,
    Paint
    )
    StrokeRect(Double, Double, Double, Double,
    Paint
    )
    FillPath(
    Path
    ,
    Paint
    )
    StrokePath(
    Path
    ,
    Paint
    )
    DrawPixmap(
    Pixmap
    , Int, Int,
    Paint
    )
    DrawPixmapKeyed(String,
    Pixmap
    , Int, Int,
    Paint
    )
    DrawBmpBytesKeyed(String, Bytes, Int, Int,
    Paint
    )
    DrawPngBytesKeyed(String, Bytes, Int, Int,
    Paint
    )
    DrawRgbaBytesKeyed(String, Bytes, Int, Int, Int, Int,
    Paint
    )
    DrawSampledBmpBytesKeyed(String, Bytes, Int, Int, Int, Int,
    Paint
    ,
    ImageSampling
    )
    DrawSampledPngBytesKeyed(String, Bytes, Int, Int, Int, Int,
    Paint
    ,
    ImageSampling
    )
    DrawSampledRgbaBytesKeyed(String, Bytes, Int, Int, Int, Int, Int, Int,
    Paint
    ,
    ImageSampling
    )
    DrawQualityBmpBytesKeyed(String, Bytes, Int, Int, Int, Int,
    Paint
    ,
    ImageQuality
    )
    DrawQualityBmpBytesRectKeyed(String, Bytes,
    PixelRect
    , Int, Int, Int, Int,
    Paint
    ,
    ImageQuality
    )
    DrawQualityPngBytesKeyed(String, Bytes, Int, Int, Int, Int,
    Paint
    ,
    ImageQuality
    )
    DrawQualityPngBytesRectKeyed(String, Bytes,
    PixelRect
    , Int, Int, Int, Int,
    Paint
    ,
    ImageQuality
    )
    DrawQualityRgbaBytesKeyed(String, Bytes, Int, Int, Int, Int, Int, Int,
    Paint
    ,
    ImageQuality
    )
    DrawQualityRgbaBytesRectKeyed(String, Bytes, Int, Int,
    PixelRect
    , Int, Int, Int, Int,
    Paint
    ,
    ImageQuality
    )
    DrawTransformedSampledBmpBytesKeyed(String, Bytes, Double, Double, Double, Double,
    Paint
    ,
    ImageSampling
    )
    DrawTransformedSampledBmpBytesRectKeyed(String, Bytes,
    PixelRect
    , Double, Double, Double, Double,
    Paint
    ,
    ImageSampling
    )
    DrawTransformedQualityBmpBytesKeyed(String, Bytes, Double, Double, Double, Double,
    Paint
    ,
    ImageQuality
    )
    DrawTransformedQualityBmpBytesRectKeyed(String, Bytes,
    PixelRect
    , Double, Double, Double, Double,
    Paint
    ,
    ImageQuality
    )
    DrawTransformedSampledPngBytesKeyed(String, Bytes, Double, Double, Double, Double,
    Paint
    ,
    ImageSampling
    )
    DrawTransformedSampledPngBytesRectKeyed(String, Bytes,
    PixelRect
    , Double, Double, Double, Double,
    Paint
    ,
    ImageSampling
    )
    DrawTransformedQualityPngBytesKeyed(String, Bytes, Double, Double, Double, Double,
    Paint
    ,
    ImageQuality
    )
    DrawTransformedQualityPngBytesRectKeyed(String, Bytes,
    PixelRect
    , Double, Double, Double, Double,
    Paint
    ,
    ImageQuality
    )
    DrawTransformedSampledRgbaBytesKeyed(String, Bytes, Int, Int, Double, Double, Double, Double,
    Paint
    ,
    ImageSampling
    )
    DrawTransformedSampledRgbaBytesRectKeyed(String, Bytes, Int, Int,
    PixelRect
    , Double, Double, Double, Double,
    Paint
    ,
    ImageSampling
    )
    DrawTransformedQualityRgbaBytesKeyed(String, Bytes, Int, Int, Double, Double, Double, Double,
    Paint
    ,
    ImageQuality
    )
    DrawTransformedQualityRgbaBytesRectKeyed(String, Bytes, Int, Int,
    PixelRect
    , Double, Double, Double, Double,
    Paint
    ,
    ImageQuality
    )
    DrawSampledBmpBytesRectKeyed(String, Bytes,
    PixelRect
    , Int, Int, Int, Int,
    Paint
    ,
    ImageSampling
    )
    DrawSampledPngBytesRectKeyed(String, Bytes,
    PixelRect
    , Int, Int, Int, Int,
    Paint
    ,
    ImageSampling
    )
    DrawSampledRgbaBytesRectKeyed(String, Bytes, Int, Int,
    PixelRect
    , Int, Int, Int, Int,
    Paint
    ,
    ImageSampling
    )
    DrawBmpBytesRectKeyed(String, Bytes,
    PixelRect
    , Int, Int,
    Paint
    )
    DrawPngBytesRectKeyed(String, Bytes,
    PixelRect
    , Int, Int,
    Paint
    )
    DrawRgbaBytesRectKeyed(String, Bytes, Int, Int,
    PixelRect
    , Int, Int,
    Paint
    )
    DrawTiledBmpBytesRectKeyed(String, Bytes,
    PixelRect
    , Int, Int, Int, Int,
    Paint
    )
    DrawTiledPngBytesRectKeyed(String, Bytes,
    PixelRect
    , Int, Int, Int, Int,
    Paint
    )
    DrawTiledRgbaBytesRectKeyed(String, Bytes, Int, Int,
    PixelRect
    , Int, Int, Int, Int,
    Paint
    )
    DrawNinePatchBmpBytesKeyed(String, Bytes, Int, Int, Int, Int,
    NinePatchInsets
    ,
    Paint
    ,
    ImageSampling
    )
    DrawNinePatchPngBytesKeyed(String, Bytes, Int, Int, Int, Int,
    NinePatchInsets
    ,
    Paint
    ,
    ImageSampling
    )
    DrawNinePatchRgbaBytesKeyed(String, Bytes, Int, Int, Int, Int, Int, Int,
    NinePatchInsets
    ,
    Paint
    ,
    ImageSampling
    )
    DrawPixmapRect(
    Pixmap
    ,
    PixelRect
    , Int, Int,
    Paint
    )
    DrawPixmapRectKeyed(String,
    Pixmap
    ,
    PixelRect
    , Int, Int,
    Paint
    )
    DrawTextFace(
    FontFace
    , String, Double, Double,
    LayoutConfig
    ,
    Paint
    )
    DrawTextFaceKeyed(String,
    FontFace
    , String, Double, Double,
    LayoutConfig
    ,
    Paint
    )
    DrawFontBytesKeyed(String, Bytes, String, String, Double, Double,
    LayoutConfig
    ,
    Paint
    )
    DrawFontBytesAtlasKeyed(String, Bytes, String, String, Double, Double,
    LayoutConfig
    ,
    Paint
    )
    DrawFontBytesFallbackKeyed(Array[FontBytesFallbackSource], String, String, Double, Double,
    LayoutConfig
    ,
    Paint
    )
    DrawFontBytesFallbackAtlasKeyed(Array[FontBytesFallbackSource], String, String, Double, Double,
    LayoutConfig
    ,
    Paint
    )
    DrawLoadedFontKeyed(String, String, String, Double, Double,
    LayoutConfig
    ,
    Paint
    )
    DrawLoadedFontFallbackKeyed(Array[String], String, String, Double, Double,
    LayoutConfig
    ,
    Paint
    )
    DrawLoadedFontFallbackAtlasKeyed(Array[String], String, String, Double, Double,
    LayoutConfig
    ,
    Paint
    )
    DrawLoadedFontAtlasKeyed(String, String, String, Double, Double,
    LayoutConfig
    ,
    Paint
    )
    } derive(
    Debug
    )

    Replayable CPU render command.

    RenderPipeline

    pub struct RenderPipeline {
    commands : Array[RenderCommand]
    } derive(
    Debug
    )

    Ordered list of CPU render commands.

    RenderPipeline::analyze

    fn RenderPipeline::analyze(self : RenderPipeline, width : Int, height : Int) -> RenderPipelineAnalysis

    Estimate the dirty region and command categories without replaying.

    RenderPipeline::batch_plan

    fn RenderPipeline::batch_plan(self : RenderPipeline, width : Int, height : Int) -> RenderPipelineBatchPlan

    Group contiguous commands by scheduling category and estimate batch dirties.

    RenderPipeline::clear_canvas

    Queue a canvas clear command.

    RenderPipeline::clear_commands

    fn RenderPipeline::clear_commands(self : RenderPipeline) -> Unit

    Drop all queued commands.

    RenderPipeline::diff

    fn RenderPipeline::diff(previous : RenderPipeline, next : RenderPipeline, width : Int, height : Int) -> RenderPipelineDiffResult

    Diff two retained display lists and estimate the dirty region to redraw.

    RenderPipeline::dirty_present_plan

    fn RenderPipeline::dirty_present_plan(self : RenderPipeline, width : Int, height : Int, max_rects : Int) ->
    DirtyPresentPlan

    Build a present plan from the pipeline's estimated dirty region.

    RenderPipeline::draw_bmp_bytes_keyed

    fn RenderPipeline::draw_bmp_bytes_keyed(self : RenderPipeline, resource_key : String, image_data : Bytes, x : Int, y : Int, paint :
    Paint
    ) -> RenderPipeline

    Queue a keyed BMP-bytes image command for RendererResources replay.

    RenderPipeline::draw_bmp_bytes_rect_keyed

    fn RenderPipeline::draw_bmp_bytes_rect_keyed(self : RenderPipeline, resource_key : String, image_data : Bytes, src_rect :
    PixelRect
    , x : Int, y : Int, paint :
    Paint
    ) -> RenderPipeline

    Queue a keyed BMP-bytes source-rectangle command for RendererResources replay.

    RenderPipeline::draw_font_bytes_atlas_keyed

    fn RenderPipeline::draw_font_bytes_atlas_keyed(self : RenderPipeline, font_key : String, font_data : Bytes, glyph_key_prefix : String, text : String, x : Double, y : Double, config :
    LayoutConfig
    , paint :
    Paint
    ) -> RenderPipeline

    Queue a keyed font-byte atlas text command for RendererResources replay.

    RenderPipeline::draw_font_bytes_fallback_atlas_keyed

    fn RenderPipeline::draw_font_bytes_fallback_atlas_keyed(self : RenderPipeline, sources : Array[FontBytesFallbackSource], glyph_key_prefix : String, text : String, x : Double, y : Double, config :
    LayoutConfig
    , paint :
    Paint
    ) -> RenderPipeline

    Queue a keyed font-byte fallback atlas command for RendererResources replay.

    RenderPipeline::draw_font_bytes_fallback_keyed

    fn RenderPipeline::draw_font_bytes_fallback_keyed(self : RenderPipeline, sources : Array[FontBytesFallbackSource], text_key_prefix : String, text : String, x : Double, y : Double, config :
    LayoutConfig
    , paint :
    Paint
    ) -> RenderPipeline

    Queue a keyed font-byte fallback text command for RendererResources replay.

    RenderPipeline::draw_font_bytes_keyed

    fn RenderPipeline::draw_font_bytes_keyed(self : RenderPipeline, font_key : String, font_data : Bytes, text_key : String, text : String, x : Double, y : Double, config :
    LayoutConfig
    , paint :
    Paint
    ) -> RenderPipeline

    Queue a keyed font-byte text command for RendererResources-backed replay.

    RenderPipeline::draw_loaded_font_atlas_keyed

    fn RenderPipeline::draw_loaded_font_atlas_keyed(self : RenderPipeline, font_key : String, glyph_key_prefix : String, text : String, x : Double, y : Double, config :
    LayoutConfig
    , paint :
    Paint
    ) -> RenderPipeline

    Queue a keyed loader-backed atlas text command for font-loader replay.

    RenderPipeline::draw_loaded_font_fallback_atlas_keyed

    fn RenderPipeline::draw_loaded_font_fallback_atlas_keyed(self : RenderPipeline, font_keys : Array[String], glyph_key_prefix : String, text : String, x : Double, y : Double, config :
    LayoutConfig
    , paint :
    Paint
    ) -> RenderPipeline

    Queue a keyed loader-backed fallback atlas command for font-loader replay.

    RenderPipeline::draw_loaded_font_fallback_keyed

    fn RenderPipeline::draw_loaded_font_fallback_keyed(self : RenderPipeline, font_keys : Array[String], text_key_prefix : String, text : String, x : Double, y : Double, config :
    LayoutConfig
    , paint :
    Paint
    ) -> RenderPipeline

    Queue a keyed loader-backed fallback text command for font-loader replay.

    RenderPipeline::draw_loaded_font_keyed

    fn RenderPipeline::draw_loaded_font_keyed(self : RenderPipeline, font_key : String, text_key : String, text : String, x : Double, y : Double, config :
    LayoutConfig
    , paint :
    Paint
    ) -> RenderPipeline

    Queue a keyed loader-backed text command for font-loader replay.

    RenderPipeline::draw_nine_patch_bmp_bytes_keyed

    fn RenderPipeline::draw_nine_patch_bmp_bytes_keyed(self : RenderPipeline, resource_key : String, image_data : Bytes, x : Int, y : Int, width : Int, height : Int, insets :
    NinePatchInsets
    , paint :
    Paint
    , sampling :
    ImageSampling
    ) -> RenderPipeline

    Queue a keyed BMP-bytes nine-patch command.

    RenderPipeline::draw_nine_patch_png_bytes_keyed

    fn RenderPipeline::draw_nine_patch_png_bytes_keyed(self : RenderPipeline, resource_key : String, image_data : Bytes, x : Int, y : Int, width : Int, height : Int, insets :
    NinePatchInsets
    , paint :
    Paint
    , sampling :
    ImageSampling
    ) -> RenderPipeline

    Queue a keyed PNG-bytes nine-patch command.

    RenderPipeline::draw_nine_patch_rgba_bytes_keyed

    fn RenderPipeline::draw_nine_patch_rgba_bytes_keyed(self : RenderPipeline, resource_key : String, image_data : Bytes, image_width : Int, image_height : Int, x : Int, y : Int, width : Int, height : Int, insets :
    NinePatchInsets
    , paint :
    Paint
    , sampling :
    ImageSampling
    ) -> RenderPipeline

    Queue a keyed raw RGBA-bytes nine-patch command.

    RenderPipeline::draw_pixmap

    Queue a pixmap draw command.

    RenderPipeline::draw_pixmap_keyed

    fn RenderPipeline::draw_pixmap_keyed(self : RenderPipeline, resource_key : String, pixmap :
    Pixmap
    , x : Int, y : Int, paint :
    Paint
    ) -> RenderPipeline

    Queue a keyed pixmap draw command for stable resource identity.

    RenderPipeline::draw_pixmap_rect

    Queue a source-rectangle pixmap draw command.

    RenderPipeline::draw_pixmap_rect_keyed

    fn RenderPipeline::draw_pixmap_rect_keyed(self : RenderPipeline, resource_key : String, pixmap :
    Pixmap
    , src_rect :
    PixelRect
    , x : Int, y : Int, paint :
    Paint
    ) -> RenderPipeline

    Queue a keyed source-rectangle pixmap command for stable resource identity.

    RenderPipeline::draw_png_bytes_keyed

    fn RenderPipeline::draw_png_bytes_keyed(self : RenderPipeline, resource_key : String, image_data : Bytes, x : Int, y : Int, paint :
    Paint
    ) -> RenderPipeline

    Queue a keyed PNG-bytes image command for RendererResources replay.

    RenderPipeline::draw_png_bytes_rect_keyed

    fn RenderPipeline::draw_png_bytes_rect_keyed(self : RenderPipeline, resource_key : String, image_data : Bytes, src_rect :
    PixelRect
    , x : Int, y : Int, paint :
    Paint
    ) -> RenderPipeline

    Queue a keyed PNG-bytes source-rectangle command for RendererResources replay.

    RenderPipeline::draw_quality_bmp_bytes_keyed

    fn RenderPipeline::draw_quality_bmp_bytes_keyed(self : RenderPipeline, resource_key : String, image_data : Bytes, x : Int, y : Int, width : Int, height : Int, paint :
    Paint
    , quality :
    ImageQuality
    ) -> RenderPipeline

    Queue a keyed quality-scaled BMP-bytes image command.

    RenderPipeline::draw_quality_bmp_bytes_rect_keyed

    fn RenderPipeline::draw_quality_bmp_bytes_rect_keyed(self : RenderPipeline, resource_key : String, image_data : Bytes, src_rect :
    PixelRect
    , x : Int, y : Int, width : Int, height : Int, paint :
    Paint
    , quality :
    ImageQuality
    ) -> RenderPipeline

    Queue a keyed quality-scaled BMP-bytes source-rectangle command.

    RenderPipeline::draw_quality_png_bytes_keyed

    fn RenderPipeline::draw_quality_png_bytes_keyed(self : RenderPipeline, resource_key : String, image_data : Bytes, x : Int, y : Int, width : Int, height : Int, paint :
    Paint
    , quality :
    ImageQuality
    ) -> RenderPipeline

    Queue a keyed quality-scaled PNG-bytes image command.

    RenderPipeline::draw_quality_png_bytes_rect_keyed

    fn RenderPipeline::draw_quality_png_bytes_rect_keyed(self : RenderPipeline, resource_key : String, image_data : Bytes, src_rect :
    PixelRect
    , x : Int, y : Int, width : Int, height : Int, paint :
    Paint
    , quality :
    ImageQuality
    ) -> RenderPipeline

    Queue a keyed quality-scaled PNG-bytes source-rectangle command.

    RenderPipeline::draw_quality_rgba_bytes_keyed

    fn RenderPipeline::draw_quality_rgba_bytes_keyed(self : RenderPipeline, resource_key : String, image_data : Bytes, image_width : Int, image_height : Int, x : Int, y : Int, width : Int, height : Int, paint :
    Paint
    , quality :
    ImageQuality
    ) -> RenderPipeline

    Queue a keyed quality-scaled raw RGBA-bytes image command.

    RenderPipeline::draw_quality_rgba_bytes_rect_keyed

    fn RenderPipeline::draw_quality_rgba_bytes_rect_keyed(self : RenderPipeline, resource_key : String, image_data : Bytes, image_width : Int, image_height : Int, src_rect :
    PixelRect
    , x : Int, y : Int, width : Int, height : Int, paint :
    Paint
    , quality :
    ImageQuality
    ) -> RenderPipeline

    Queue a keyed quality-scaled raw RGBA-bytes source-rectangle command.

    RenderPipeline::draw_rgba_bytes_keyed

    fn RenderPipeline::draw_rgba_bytes_keyed(self : RenderPipeline, resource_key : String, image_data : Bytes, image_width : Int, image_height : Int, x : Int, y : Int, paint :
    Paint
    ) -> RenderPipeline

    Queue a keyed raw RGBA-bytes image command for RendererResources replay.

    RenderPipeline::draw_rgba_bytes_rect_keyed

    fn RenderPipeline::draw_rgba_bytes_rect_keyed(self : RenderPipeline, resource_key : String, image_data : Bytes, image_width : Int, image_height : Int, src_rect :
    PixelRect
    , x : Int, y : Int, paint :
    Paint
    ) -> RenderPipeline

    Queue a keyed raw RGBA-bytes source-rectangle command.

    RenderPipeline::draw_sampled_bmp_bytes_keyed

    fn RenderPipeline::draw_sampled_bmp_bytes_keyed(self : RenderPipeline, resource_key : String, image_data : Bytes, x : Int, y : Int, width : Int, height : Int, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> RenderPipeline

    Queue a keyed sampled BMP-bytes image command.

    RenderPipeline::draw_sampled_bmp_bytes_rect_keyed

    fn RenderPipeline::draw_sampled_bmp_bytes_rect_keyed(self : RenderPipeline, resource_key : String, image_data : Bytes, src_rect :
    PixelRect
    , x : Int, y : Int, width : Int, height : Int, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> RenderPipeline

    Queue a keyed sampled BMP-bytes source-rectangle command.

    RenderPipeline::draw_sampled_png_bytes_keyed

    fn RenderPipeline::draw_sampled_png_bytes_keyed(self : RenderPipeline, resource_key : String, image_data : Bytes, x : Int, y : Int, width : Int, height : Int, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> RenderPipeline

    Queue a keyed sampled PNG-bytes image command.

    RenderPipeline::draw_sampled_png_bytes_rect_keyed

    fn RenderPipeline::draw_sampled_png_bytes_rect_keyed(self : RenderPipeline, resource_key : String, image_data : Bytes, src_rect :
    PixelRect
    , x : Int, y : Int, width : Int, height : Int, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> RenderPipeline

    Queue a keyed sampled PNG-bytes source-rectangle command.

    RenderPipeline::draw_sampled_rgba_bytes_keyed

    fn RenderPipeline::draw_sampled_rgba_bytes_keyed(self : RenderPipeline, resource_key : String, image_data : Bytes, image_width : Int, image_height : Int, x : Int, y : Int, width : Int, height : Int, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> RenderPipeline

    Queue a keyed sampled raw RGBA-bytes image command.

    RenderPipeline::draw_sampled_rgba_bytes_rect_keyed

    fn RenderPipeline::draw_sampled_rgba_bytes_rect_keyed(self : RenderPipeline, resource_key : String, image_data : Bytes, image_width : Int, image_height : Int, src_rect :
    PixelRect
    , x : Int, y : Int, width : Int, height : Int, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> RenderPipeline

    Queue a keyed sampled raw RGBA-bytes source-rectangle command.

    RenderPipeline::draw_text_face

    Queue a text draw command using an already parsed font face.

    RenderPipeline::draw_text_face_keyed

    fn RenderPipeline::draw_text_face_keyed(self : RenderPipeline, resource_key : String, face :
    FontFace
    , text : String, x : Double, y : Double, config :
    LayoutConfig
    , paint :
    Paint
    ) -> RenderPipeline

    Queue a keyed parsed-font text command for stable resource identity.

    RenderPipeline::draw_tiled_bmp_bytes_rect_keyed

    fn RenderPipeline::draw_tiled_bmp_bytes_rect_keyed(self : RenderPipeline, resource_key : String, image_data : Bytes, src_rect :
    PixelRect
    , x : Int, y : Int, width : Int, height : Int, paint :
    Paint
    ) -> RenderPipeline

    Queue a keyed tiled BMP-bytes source-rectangle command.

    RenderPipeline::draw_tiled_png_bytes_rect_keyed

    fn RenderPipeline::draw_tiled_png_bytes_rect_keyed(self : RenderPipeline, resource_key : String, image_data : Bytes, src_rect :
    PixelRect
    , x : Int, y : Int, width : Int, height : Int, paint :
    Paint
    ) -> RenderPipeline

    Queue a keyed tiled PNG-bytes source-rectangle command.

    RenderPipeline::draw_tiled_rgba_bytes_rect_keyed

    fn RenderPipeline::draw_tiled_rgba_bytes_rect_keyed(self : RenderPipeline, resource_key : String, image_data : Bytes, image_width : Int, image_height : Int, src_rect :
    PixelRect
    , x : Int, y : Int, width : Int, height : Int, paint :
    Paint
    ) -> RenderPipeline

    Queue a keyed tiled raw RGBA-bytes source-rectangle command.

    RenderPipeline::draw_transformed_quality_bmp_bytes_keyed

    fn RenderPipeline::draw_transformed_quality_bmp_bytes_keyed(self : RenderPipeline, resource_key : String, image_data : Bytes, x : Double, y : Double, width : Double, height : Double, paint :
    Paint
    , quality :
    ImageQuality
    ) -> RenderPipeline

    Queue a keyed transformed quality BMP-bytes image command.

    RenderPipeline::draw_transformed_quality_bmp_bytes_rect_keyed

    fn RenderPipeline::draw_transformed_quality_bmp_bytes_rect_keyed(self : RenderPipeline, resource_key : String, image_data : Bytes, src_rect :
    PixelRect
    , x : Double, y : Double, width : Double, height : Double, paint :
    Paint
    , quality :
    ImageQuality
    ) -> RenderPipeline

    Queue a keyed transformed quality BMP-bytes source-rectangle command.

    RenderPipeline::draw_transformed_quality_png_bytes_keyed

    fn RenderPipeline::draw_transformed_quality_png_bytes_keyed(self : RenderPipeline, resource_key : String, image_data : Bytes, x : Double, y : Double, width : Double, height : Double, paint :
    Paint
    , quality :
    ImageQuality
    ) -> RenderPipeline

    Queue a keyed transformed quality PNG-bytes image command.

    RenderPipeline::draw_transformed_quality_png_bytes_rect_keyed

    fn RenderPipeline::draw_transformed_quality_png_bytes_rect_keyed(self : RenderPipeline, resource_key : String, image_data : Bytes, src_rect :
    PixelRect
    , x : Double, y : Double, width : Double, height : Double, paint :
    Paint
    , quality :
    ImageQuality
    ) -> RenderPipeline

    Queue a keyed transformed quality PNG-bytes source-rectangle command.

    RenderPipeline::draw_transformed_quality_rgba_bytes_keyed

    fn RenderPipeline::draw_transformed_quality_rgba_bytes_keyed(self : RenderPipeline, resource_key : String, image_data : Bytes, image_width : Int, image_height : Int, x : Double, y : Double, width : Double, height : Double, paint :
    Paint
    , quality :
    ImageQuality
    ) -> RenderPipeline

    Queue a keyed transformed quality raw RGBA-bytes image command.

    RenderPipeline::draw_transformed_quality_rgba_bytes_rect_keyed

    fn RenderPipeline::draw_transformed_quality_rgba_bytes_rect_keyed(self : RenderPipeline, resource_key : String, image_data : Bytes, image_width : Int, image_height : Int, src_rect :
    PixelRect
    , x : Double, y : Double, width : Double, height : Double, paint :
    Paint
    , quality :
    ImageQuality
    ) -> RenderPipeline

    Queue a keyed transformed quality raw RGBA-bytes source-rectangle command.

    RenderPipeline::draw_transformed_sampled_bmp_bytes_keyed

    fn RenderPipeline::draw_transformed_sampled_bmp_bytes_keyed(self : RenderPipeline, resource_key : String, image_data : Bytes, x : Double, y : Double, width : Double, height : Double, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> RenderPipeline

    Queue a keyed transformed sampled BMP-bytes image command.

    RenderPipeline::draw_transformed_sampled_bmp_bytes_rect_keyed

    fn RenderPipeline::draw_transformed_sampled_bmp_bytes_rect_keyed(self : RenderPipeline, resource_key : String, image_data : Bytes, src_rect :
    PixelRect
    , x : Double, y : Double, width : Double, height : Double, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> RenderPipeline

    Queue a keyed transformed sampled BMP-bytes source-rectangle command.

    RenderPipeline::draw_transformed_sampled_png_bytes_keyed

    fn RenderPipeline::draw_transformed_sampled_png_bytes_keyed(self : RenderPipeline, resource_key : String, image_data : Bytes, x : Double, y : Double, width : Double, height : Double, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> RenderPipeline

    Queue a keyed transformed sampled PNG-bytes image command.

    RenderPipeline::draw_transformed_sampled_png_bytes_rect_keyed

    fn RenderPipeline::draw_transformed_sampled_png_bytes_rect_keyed(self : RenderPipeline, resource_key : String, image_data : Bytes, src_rect :
    PixelRect
    , x : Double, y : Double, width : Double, height : Double, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> RenderPipeline

    Queue a keyed transformed sampled PNG-bytes source-rectangle command.

    RenderPipeline::draw_transformed_sampled_rgba_bytes_keyed

    fn RenderPipeline::draw_transformed_sampled_rgba_bytes_keyed(self : RenderPipeline, resource_key : String, image_data : Bytes, image_width : Int, image_height : Int, x : Double, y : Double, width : Double, height : Double, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> RenderPipeline

    Queue a keyed transformed sampled raw RGBA-bytes image command.

    RenderPipeline::draw_transformed_sampled_rgba_bytes_rect_keyed

    fn RenderPipeline::draw_transformed_sampled_rgba_bytes_rect_keyed(self : RenderPipeline, resource_key : String, image_data : Bytes, image_width : Int, image_height : Int, src_rect :
    PixelRect
    , x : Double, y : Double, width : Double, height : Double, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> RenderPipeline

    Queue a keyed transformed sampled raw RGBA-bytes source-rectangle command.

    RenderPipeline::fill_path

    Queue a filled path command.

    RenderPipeline::fill_rect

    fn RenderPipeline::fill_rect(self : RenderPipeline, x : Double, y : Double, width : Double, height : Double, paint :
    Paint
    ) -> RenderPipeline

    Queue a filled rectangle command.

    RenderPipeline::get_commands

    fn RenderPipeline::get_commands(self : RenderPipeline) -> Array[RenderCommand]

    Return the queued commands.

    RenderPipeline::is_empty

    fn RenderPipeline::is_empty(self : RenderPipeline) -> Bool

    Return whether this pipeline has no queued commands.

    RenderPipeline::len

    fn RenderPipeline::len(self : RenderPipeline) -> Int

    Return the number of queued commands.

    RenderPipeline::new

    Create an empty render pipeline.

    RenderPipeline::push

    Append an already constructed command.

    RenderPipeline::replay_result

    Replay all queued commands through a renderer, preserving checked replay errors.

    RenderPipeline::replay_with_font_loader_resources_result

    fn[L :
    FontLoader
    ] RenderPipeline::replay_with_font_loader_resources_result(self : RenderPipeline, renderer : Renderer, resources : RendererResources, loader : L) -> Result[RenderPipelineResourceReplayResult, RenderPipelineResourceReplayError]

    Replay all queued commands through resources and a font loader, preserving checked replay errors.

    RenderPipeline::replay_with_renderer_resources_result

    fn RenderPipeline::replay_with_renderer_resources_result(self : RenderPipeline, renderer : Renderer, resources : RendererResources) -> Result[RenderPipelineResourceReplayResult, RenderPipelineResourceReplayError]

    Replay all queued commands through resources, preserving checked replay errors.

    RenderPipeline::resource_plan

    Pre-resolve image and parsed-font text resource uses before replay.

    RenderPipeline::stroke_path

    Queue a stroked path command.

    RenderPipeline::stroke_rect

    fn RenderPipeline::stroke_rect(self : RenderPipeline, x : Double, y : Double, width : Double, height : Double, paint :
    Paint
    ) -> RenderPipeline

    Queue a stroked rectangle command.

    RenderPipelineAnalysis

    pub struct RenderPipelineAnalysis {
    command_count : Int
    clear_count : Int
    fill_count : Int
    stroke_count : Int
    image_count : Int
    text_count : Int
    dirty_region :
    DirtyRegion

    } derive(
    Debug
    )

    Conservative CPU-side analysis of a render pipeline before replay.

    RenderPipelineAnalysis::get_clear_count

    fn RenderPipelineAnalysis::get_clear_count(self : RenderPipelineAnalysis) -> Int

    Return the number of clear commands analyzed.

    RenderPipelineAnalysis::get_command_count

    fn RenderPipelineAnalysis::get_command_count(self : RenderPipelineAnalysis) -> Int

    Return the number of commands analyzed.

    RenderPipelineAnalysis::get_dirty_bounds

    Return the conservative dirty bounds estimated for this pipeline.

    RenderPipelineAnalysis::get_dirty_rect_count

    fn RenderPipelineAnalysis::get_dirty_rect_count(self : RenderPipelineAnalysis) -> Int

    Return the number of conservative dirty rectangles estimated.

    RenderPipelineAnalysis::get_dirty_region

    Return the conservative dirty region estimated for this pipeline.

    RenderPipelineAnalysis::get_fill_count

    fn RenderPipelineAnalysis::get_fill_count(self : RenderPipelineAnalysis) -> Int

    Return the number of fill commands analyzed.

    RenderPipelineAnalysis::get_image_count

    fn RenderPipelineAnalysis::get_image_count(self : RenderPipelineAnalysis) -> Int

    Return the number of image commands analyzed.

    RenderPipelineAnalysis::get_present_plan

    fn RenderPipelineAnalysis::get_present_plan(self : RenderPipelineAnalysis, width : Int, height : Int, max_rects : Int) ->
    DirtyPresentPlan

    Build a present plan from the estimated dirty region.

    RenderPipelineAnalysis::get_stroke_count

    fn RenderPipelineAnalysis::get_stroke_count(self : RenderPipelineAnalysis) -> Int

    Return the number of stroke commands analyzed.

    RenderPipelineAnalysis::get_text_count

    fn RenderPipelineAnalysis::get_text_count(self : RenderPipelineAnalysis) -> Int

    Return the number of text commands analyzed.

    RenderPipelineAnalysis::has_dirty

    fn RenderPipelineAnalysis::has_dirty(self : RenderPipelineAnalysis) -> Bool

    Return whether analysis found any pixel area that may need presenting.

    RenderPipelineBatch

    pub struct RenderPipelineBatch {
    kind : RenderPipelineBatchKind
    start_index : Int
    command_count : Int
    dirty_region :
    DirtyRegion

    } derive(
    Debug
    )

    One contiguous run of commands with the same scheduling category.

    RenderPipelineBatch::get_command_count

    fn RenderPipelineBatch::get_command_count(self : RenderPipelineBatch) -> Int

    Return the number of commands covered by this batch.

    RenderPipelineBatch::get_dirty_bounds

    Return the conservative dirty bounds for this batch.

    RenderPipelineBatch::get_dirty_rect_count

    fn RenderPipelineBatch::get_dirty_rect_count(self : RenderPipelineBatch) -> Int

    Return the number of dirty rects estimated for this batch.

    RenderPipelineBatch::get_dirty_region

    Return the conservative dirty region for this batch.

    RenderPipelineBatch::get_kind

    Return this batch's scheduling category.

    RenderPipelineBatch::get_present_plan

    fn RenderPipelineBatch::get_present_plan(self : RenderPipelineBatch, width : Int, height : Int, max_rects : Int) ->
    DirtyPresentPlan

    Build a present plan from this batch's estimated dirty region.

    RenderPipelineBatch::get_start_index

    fn RenderPipelineBatch::get_start_index(self : RenderPipelineBatch) -> Int

    Return the first command index covered by this batch.

    RenderPipelineBatch::has_dirty

    fn RenderPipelineBatch::has_dirty(self : RenderPipelineBatch) -> Bool

    Return whether this batch may dirty pixels.

    RenderPipelineBatchKind

    pub(all) enum RenderPipelineBatchKind {
    Clear
    Fill
    Stroke
    Image
    Text
    } derive(Eq,
    Debug
    )

    Coarse command category used by CPU batch scheduling.

    RenderPipelineBatchKind::equal

    RenderPipelineBatchKind::not_equal

    RenderPipelineBatchPlan

    pub struct RenderPipelineBatchPlan {
    command_count : Int
    batches : Array[RenderPipelineBatch]
    dirty_region :
    DirtyRegion

    } derive(
    Debug
    )

    Scheduler-facing grouping of a render pipeline into contiguous CPU batches.

    RenderPipelineBatchPlan::get_batch_count

    fn RenderPipelineBatchPlan::get_batch_count(self : RenderPipelineBatchPlan) -> Int

    Return the number of contiguous command batches.

    RenderPipelineBatchPlan::get_batches

    Return the scheduler-facing contiguous command batches.

    RenderPipelineBatchPlan::get_command_count

    fn RenderPipelineBatchPlan::get_command_count(self : RenderPipelineBatchPlan) -> Int

    Return the number of commands covered by this plan.

    RenderPipelineBatchPlan::get_dirty_bounds

    Return the conservative dirty bounds for all batches.

    RenderPipelineBatchPlan::get_dirty_region

    Return the conservative dirty region for all batches.

    RenderPipelineBatchPlan::get_present_plan

    fn RenderPipelineBatchPlan::get_present_plan(self : RenderPipelineBatchPlan, width : Int, height : Int, max_rects : Int) ->
    DirtyPresentPlan

    Build a present plan from the batch plan's estimated dirty region.

    RenderPipelineBatchPlan::has_dirty

    fn RenderPipelineBatchPlan::has_dirty(self : RenderPipelineBatchPlan) -> Bool

    Return whether any batch may dirty pixels.

    RenderPipelineDiffResult

    pub struct RenderPipelineDiffResult {
    previous_command_count : Int
    next_command_count : Int
    retained_command_count : Int
    changed_command_count : Int
    inserted_command_count : Int
    removed_command_count : Int
    dirty_region :
    DirtyRegion

    } derive(
    Debug
    )

    Conservative diff between two retained render pipelines.

    RenderPipelineDiffResult::get_changed_command_count

    fn RenderPipelineDiffResult::get_changed_command_count(self : RenderPipelineDiffResult) -> Int

    Return the number of paired commands whose value changed.

    RenderPipelineDiffResult::get_dirty_bounds

    Return the conservative dirty bounds for this display-list diff.

    RenderPipelineDiffResult::get_dirty_rect_count

    fn RenderPipelineDiffResult::get_dirty_rect_count(self : RenderPipelineDiffResult) -> Int

    Return the number of conservative dirty rectangles in this diff.

    RenderPipelineDiffResult::get_dirty_region

    Return the conservative dirty region caused by this display-list diff.

    RenderPipelineDiffResult::get_inserted_command_count

    fn RenderPipelineDiffResult::get_inserted_command_count(self : RenderPipelineDiffResult) -> Int

    Return the number of commands inserted in the next display list.

    RenderPipelineDiffResult::get_next_command_count

    fn RenderPipelineDiffResult::get_next_command_count(self : RenderPipelineDiffResult) -> Int

    Return the number of commands in the next display list.

    RenderPipelineDiffResult::get_present_plan

    fn RenderPipelineDiffResult::get_present_plan(self : RenderPipelineDiffResult, width : Int, height : Int, max_rects : Int) ->
    DirtyPresentPlan

    Build a present plan from this diff's estimated dirty region.

    RenderPipelineDiffResult::get_previous_command_count

    fn RenderPipelineDiffResult::get_previous_command_count(self : RenderPipelineDiffResult) -> Int

    Return the number of commands in the previous display list.

    RenderPipelineDiffResult::get_removed_command_count

    fn RenderPipelineDiffResult::get_removed_command_count(self : RenderPipelineDiffResult) -> Int

    Return the number of commands removed from the previous display list.

    RenderPipelineDiffResult::get_retained_command_count

    fn RenderPipelineDiffResult::get_retained_command_count(self : RenderPipelineDiffResult) -> Int

    Return the number of commands retained without dirtying their bounds.

    RenderPipelineDiffResult::has_changes

    fn RenderPipelineDiffResult::has_changes(self : RenderPipelineDiffResult) -> Bool

    Return whether the retained display list changed structurally or by value.

    RenderPipelineDiffResult::has_dirty

    Return whether this display-list diff has dirty pixels to submit.

    RenderPipelineFontDependency

    pub struct RenderPipelineFontDependency {
    command_index : Int
    font_key : String
    font_byte_count : Int
    } derive(
    Debug
    )

    One keyed font resource use discovered before replaying a pipeline.

    RenderPipelineFontDependency::get_command_index

    fn RenderPipelineFontDependency::get_command_index(self : RenderPipelineFontDependency) -> Int

    Return the command index for this font dependency.

    RenderPipelineFontDependency::get_font_byte_count

    fn RenderPipelineFontDependency::get_font_byte_count(self : RenderPipelineFontDependency) -> Int

    Return the number of bytes in the queued font data.

    RenderPipelineFontDependency::get_font_key

    Return the stable font resource key for this dependency.

    RenderPipelineImageDependency

    pub struct RenderPipelineImageDependency {
    command_index : Int
    resource_key : String?
    source_width : Int
    source_height : Int
    source_pixel_count : Int
    } derive(
    Debug
    )

    One image resource use discovered before replaying a render pipeline.

    RenderPipelineImageDependency::get_command_index

    Return the command index that owns this image dependency.

    RenderPipelineImageDependency::get_resource_key

    fn RenderPipelineImageDependency::get_resource_key(self : RenderPipelineImageDependency) -> String?

    Return the stable resource key for this image dependency when provided.

    RenderPipelineImageDependency::get_source_height

    Return the clipped source height read from the image resource.

    RenderPipelineImageDependency::get_source_pixel_count

    fn RenderPipelineImageDependency::get_source_pixel_count(self : RenderPipelineImageDependency) -> Int

    Return the clipped source pixel count read from the image resource.

    RenderPipelineImageDependency::get_source_width

    Return the clipped source width read from the image resource.

    RenderPipelineImageDependency::has_resource_key

    Return whether this image dependency has a stable resource key.

    RenderPipelineReplayError

    pub(all) enum RenderPipelineReplayError {
    ImageDecodeFailed(String,
    PixmapDecodeError
    )
    FontParseFailed(String,
    FontParseError
    )
    FontLoaderRequired(String)
    } derive(Eq,
    Debug
    )

    Error returned by checked plain render-pipeline replay.

    RenderPipelineReplayError::equal

    RenderPipelineReplayError::not_equal

    RenderPipelineReplayResult

    pub struct RenderPipelineReplayResult {
    command_count : Int
    clear_count : Int
    fill_count : Int
    stroke_count : Int
    image_count : Int
    text_count : Int
    } derive(Eq,
    Debug
    )

    Telemetry returned after replaying a render pipeline.

    RenderPipelineReplayResult::equal

    RenderPipelineReplayResult::get_clear_count

    fn RenderPipelineReplayResult::get_clear_count(self : RenderPipelineReplayResult) -> Int

    Return the number of clear commands replayed.

    RenderPipelineReplayResult::get_command_count

    fn RenderPipelineReplayResult::get_command_count(self : RenderPipelineReplayResult) -> Int

    Return the number of commands replayed.

    RenderPipelineReplayResult::get_fill_count

    fn RenderPipelineReplayResult::get_fill_count(self : RenderPipelineReplayResult) -> Int

    Return the number of fill commands replayed.

    RenderPipelineReplayResult::get_image_count

    fn RenderPipelineReplayResult::get_image_count(self : RenderPipelineReplayResult) -> Int

    Return the number of image commands replayed.

    RenderPipelineReplayResult::get_stroke_count

    fn RenderPipelineReplayResult::get_stroke_count(self : RenderPipelineReplayResult) -> Int

    Return the number of stroke commands replayed.

    RenderPipelineReplayResult::get_text_count

    fn RenderPipelineReplayResult::get_text_count(self : RenderPipelineReplayResult) -> Int

    Return the number of text commands replayed.

    RenderPipelineReplayResult::not_equal

    RenderPipelineResourcePlan

    pub struct RenderPipelineResourcePlan {
    command_count : Int
    font_dependencies : Array[RenderPipelineFontDependency]
    image_dependencies : Array[RenderPipelineImageDependency]
    text_dependencies : Array[RenderPipelineTextDependency]
    } derive(
    Debug
    )

    Resource dependencies that can be pre-resolved from existing commands.

    RenderPipelineResourcePlan::get_command_count

    fn RenderPipelineResourcePlan::get_command_count(self : RenderPipelineResourcePlan) -> Int

    Return the number of commands scanned for resources.

    RenderPipelineResourcePlan::get_font_byte_count

    fn RenderPipelineResourcePlan::get_font_byte_count(self : RenderPipelineResourcePlan) -> Int

    Return the total queued font byte count.

    RenderPipelineResourcePlan::get_font_count

    fn RenderPipelineResourcePlan::get_font_count(self : RenderPipelineResourcePlan) -> Int

    Return the number of discovered font-byte resource uses.

    RenderPipelineResourcePlan::get_font_dependencies

    Return pre-resolved font-byte resource uses.

    RenderPipelineResourcePlan::get_image_count

    fn RenderPipelineResourcePlan::get_image_count(self : RenderPipelineResourcePlan) -> Int

    Return the number of discovered image resource uses.

    RenderPipelineResourcePlan::get_image_dependencies

    Return pre-resolved image resource uses.

    RenderPipelineResourcePlan::get_image_source_pixel_count

    fn RenderPipelineResourcePlan::get_image_source_pixel_count(self : RenderPipelineResourcePlan) -> Int

    Return the total clipped source pixels read by image commands.

    RenderPipelineResourcePlan::get_keyed_font_count

    fn RenderPipelineResourcePlan::get_keyed_font_count(self : RenderPipelineResourcePlan) -> Int

    Return the number of font-byte resource uses with stable keys.

    RenderPipelineResourcePlan::get_keyed_image_count

    fn RenderPipelineResourcePlan::get_keyed_image_count(self : RenderPipelineResourcePlan) -> Int

    Return the number of image resource uses with stable keys.

    RenderPipelineResourcePlan::get_keyed_resource_count

    fn RenderPipelineResourcePlan::get_keyed_resource_count(self : RenderPipelineResourcePlan) -> Int

    Return the number of discovered resource uses with stable keys.

    RenderPipelineResourcePlan::get_keyed_text_count

    fn RenderPipelineResourcePlan::get_keyed_text_count(self : RenderPipelineResourcePlan) -> Int

    Return the number of text resource uses with stable keys.

    RenderPipelineResourcePlan::get_resource_count

    fn RenderPipelineResourcePlan::get_resource_count(self : RenderPipelineResourcePlan) -> Int

    Return the number of discovered resource uses.

    RenderPipelineResourcePlan::get_text_byte_count

    fn RenderPipelineResourcePlan::get_text_byte_count(self : RenderPipelineResourcePlan) -> Int

    Return the total queued text byte count.

    RenderPipelineResourcePlan::get_text_count

    fn RenderPipelineResourcePlan::get_text_count(self : RenderPipelineResourcePlan) -> Int

    Return the number of discovered text resource uses.

    RenderPipelineResourcePlan::get_text_dependencies

    Return pre-resolved text resource uses.

    RenderPipelineResourcePlan::get_text_glyph_count

    fn RenderPipelineResourcePlan::get_text_glyph_count(self : RenderPipelineResourcePlan) -> Int

    Return the total precomputed positioned glyph count.

    RenderPipelineResourcePlan::get_text_run_count

    fn RenderPipelineResourcePlan::get_text_run_count(self : RenderPipelineResourcePlan) -> Int

    Return the total precomputed text layout run count.

    RenderPipelineResourcePlan::has_resources

    fn RenderPipelineResourcePlan::has_resources(self : RenderPipelineResourcePlan) -> Bool

    Return whether the plan discovered at least one resource use.

    RenderPipelineResourceReplayError

    pub(all) enum RenderPipelineResourceReplayError {
    ImageDecodeFailed(String,
    PixmapDecodeError
    )
    FontDataMissing(String)
    FontFileReadFailed(String, String)
    FontParseFailed(String,
    FontParseError
    )
    FontLoaderRequired(String)
    } derive(Eq,
    Debug
    )

    Error returned by checked RendererResources pipeline replay.

    RenderPipelineResourceReplayError::not_equal

    RenderPipelineResourceReplayResult

    pub struct RenderPipelineResourceReplayResult {
    replay_result : RenderPipelineReplayResult
    keyed_font_count : Int
    font_cache_hit_count : Int
    font_parse_count : Int
    keyed_image_count : Int
    image_cache_hit_count : Int
    image_cache_insert_count : Int
    keyed_text_count : Int
    text_cache_hit_count : Int
    text_mask_render_count : Int
    keyed_atlas_text_count : Int
    glyph_cache_hit_count : Int
    glyph_mask_render_count : Int
    atlas_cache_hit_count : Int
    atlas_insert_count : Int
    atlas_clear_count : Int
    } derive(Eq,
    Debug
    )

    Telemetry returned after replaying a pipeline through RendererResources.

    RenderPipelineResourceReplayResult::get_atlas_cache_hit_count

    fn RenderPipelineResourceReplayResult::get_atlas_cache_hit_count(self : RenderPipelineResourceReplayResult) -> Int

    Return the number of atlas glyph placements reused from the atlas.

    RenderPipelineResourceReplayResult::get_atlas_clear_count

    Return the number of atlas draws that cleared the atlas while replaying.

    RenderPipelineResourceReplayResult::get_atlas_insert_count

    Return the number of atlas glyph placements inserted into the atlas.

    RenderPipelineResourceReplayResult::get_clear_count

    Return the number of clear commands replayed.

    RenderPipelineResourceReplayResult::get_command_count

    Return the number of commands replayed.

    RenderPipelineResourceReplayResult::get_fill_count

    Return the number of fill commands replayed.

    RenderPipelineResourceReplayResult::get_font_cache_hit_count

    Return the number of keyed font commands that reused a cached font face.

    RenderPipelineResourceReplayResult::get_font_parse_count

    Return the number of keyed font commands that parsed or loaded a new face.

    RenderPipelineResourceReplayResult::get_glyph_cache_hit_count

    fn RenderPipelineResourceReplayResult::get_glyph_cache_hit_count(self : RenderPipelineResourceReplayResult) -> Int

    Return the number of atlas text glyph masks reused from the glyph cache.

    RenderPipelineResourceReplayResult::get_glyph_mask_render_count

    fn RenderPipelineResourceReplayResult::get_glyph_mask_render_count(self : RenderPipelineResourceReplayResult) -> Int

    Return the number of atlas text glyph masks rasterized into the glyph cache.

    RenderPipelineResourceReplayResult::get_image_cache_hit_count

    fn RenderPipelineResourceReplayResult::get_image_cache_hit_count(self : RenderPipelineResourceReplayResult) -> Int

    Return the number of keyed image commands that reused a cached pixmap.

    RenderPipelineResourceReplayResult::get_image_cache_insert_count

    fn RenderPipelineResourceReplayResult::get_image_cache_insert_count(self : RenderPipelineResourceReplayResult) -> Int

    Return the number of keyed image commands that inserted a pixmap cache entry.

    RenderPipelineResourceReplayResult::get_image_count

    Return the number of image commands replayed.

    RenderPipelineResourceReplayResult::get_keyed_atlas_text_count

    fn RenderPipelineResourceReplayResult::get_keyed_atlas_text_count(self : RenderPipelineResourceReplayResult) -> Int

    Return the number of keyed atlas text commands replayed through glyph resources.

    RenderPipelineResourceReplayResult::get_keyed_font_count

    Return the number of keyed font commands replayed through the font cache.

    RenderPipelineResourceReplayResult::get_keyed_image_count

    Return the number of keyed image commands replayed through the image cache.

    RenderPipelineResourceReplayResult::get_keyed_resource_count

    Return the number of keyed commands replayed through resource caches.

    RenderPipelineResourceReplayResult::get_keyed_text_count

    Return the number of keyed text commands replayed through the text cache.

    RenderPipelineResourceReplayResult::get_replay_result

    Return the base command replay telemetry.

    RenderPipelineResourceReplayResult::get_resource_cache_hit_count

    fn RenderPipelineResourceReplayResult::get_resource_cache_hit_count(self : RenderPipelineResourceReplayResult) -> Int

    Return the number of keyed resource commands that hit a cache.

    RenderPipelineResourceReplayResult::get_resource_cache_miss_count

    fn RenderPipelineResourceReplayResult::get_resource_cache_miss_count(self : RenderPipelineResourceReplayResult) -> Int

    Return the number of keyed resource commands that populated a cache.

    RenderPipelineResourceReplayResult::get_stroke_count

    Return the number of stroke commands replayed.

    RenderPipelineResourceReplayResult::get_text_cache_hit_count

    Return the number of keyed text commands that reused a cached text mask.

    RenderPipelineResourceReplayResult::get_text_count

    Return the number of text commands replayed.

    RenderPipelineResourceReplayResult::get_text_mask_render_count

    fn RenderPipelineResourceReplayResult::get_text_mask_render_count(self : RenderPipelineResourceReplayResult) -> Int

    Return the number of keyed text commands that rendered a new text mask.

    RenderPipelineResourceReplayResult::not_equal

    RenderPipelineTextDependency

    pub struct RenderPipelineTextDependency {
    command_index : Int
    resource_key : String?
    text_byte_count : Int
    run_count : Int
    glyph_count : Int
    layout_width : Double
    layout_height : Double
    } derive(
    Debug
    )

    One parsed-font text resource use discovered before replaying a pipeline.

    RenderPipelineTextDependency::get_command_index

    fn RenderPipelineTextDependency::get_command_index(self : RenderPipelineTextDependency) -> Int

    Return the command index that owns this text dependency.

    RenderPipelineTextDependency::get_glyph_count

    Return the number of positioned glyphs precomputed for this text command.

    RenderPipelineTextDependency::get_layout_height

    fn RenderPipelineTextDependency::get_layout_height(self : RenderPipelineTextDependency) -> Double

    Return the precomputed text layout height.

    RenderPipelineTextDependency::get_layout_width

    fn RenderPipelineTextDependency::get_layout_width(self : RenderPipelineTextDependency) -> Double

    Return the precomputed text layout width.

    RenderPipelineTextDependency::get_resource_key

    fn RenderPipelineTextDependency::get_resource_key(self : RenderPipelineTextDependency) -> String?

    Return the stable resource key for this text dependency when provided.

    RenderPipelineTextDependency::get_run_count

    Return the number of layout runs precomputed for this text command.

    RenderPipelineTextDependency::get_text_byte_count

    fn RenderPipelineTextDependency::get_text_byte_count(self : RenderPipelineTextDependency) -> Int

    Return the number of bytes in the queued text string.

    RenderPipelineTextDependency::has_resource_key

    fn RenderPipelineTextDependency::has_resource_key(self : RenderPipelineTextDependency) -> Bool

    Return whether this text dependency has a stable resource key.

    Renderer

    Renderer core that composes vector drawing, text masks, and pixmap output.

    Renderer::analyze_pipeline

    fn Renderer::analyze_pipeline(self : Renderer, pipeline : RenderPipeline) -> RenderPipelineAnalysis

    Analyze a pipeline against this renderer's canvas dimensions.

    Renderer::diff_pipelines

    fn Renderer::diff_pipelines(self : Renderer, previous : RenderPipeline, next : RenderPipeline) -> RenderPipelineDiffResult

    Diff two retained pipelines against this renderer's canvas dimensions.

    Renderer::draw_bmp_bytes_cached

    fn Renderer::draw_bmp_bytes_cached(self : Renderer, image_data : Bytes, x : Int, y : Int, image_cache :
    PixmapCache
    , image_key : String, paint :
    Paint
    ) -> Result[CachedBmpPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode BMP bytes through a caller-owned pixmap cache and draw the image.

    Renderer::draw_bmp_bytes_cached_with_renderer_resources

    fn Renderer::draw_bmp_bytes_cached_with_renderer_resources(self : Renderer, image_data : Bytes, x : Int, y : Int, resources : RendererResources, image_key : String, paint :
    Paint
    ) -> Result[CachedBmpPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode BMP bytes through renderer-owned resources and draw the image.

    Renderer::draw_bmp_bytes_rect_cached

    Decode BMP bytes through a pixmap cache and draw a source rectangle.

    Renderer::draw_bmp_bytes_rect_cached_with_renderer_resources

    fn Renderer::draw_bmp_bytes_rect_cached_with_renderer_resources(self : Renderer, image_data : Bytes, src_rect :
    PixelRect
    , x : Int, y : Int, resources : RendererResources, image_key : String, paint :
    Paint
    ) -> Result[CachedBmpPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode BMP bytes through renderer-owned resources and draw a source rectangle.

    Renderer::draw_coverage_mask

    Composite an existing text coverage mask on the renderer canvas.

    Renderer::draw_font_bytes_atlas_with_renderer_resources

    fn Renderer::draw_font_bytes_atlas_with_renderer_resources(self : Renderer, font_data : Bytes, text : String, x : Double, y : Double, config :
    LayoutConfig
    , resources : RendererResources, font_key : String, glyph_key_prefix : String, paint :
    Paint
    ) -> Result[CachedFontAtlasDrawResult,
    FontParseError
    ]

    Parse font bytes through renderer resources, then draw through glyph cache and atlas resources.

    Renderer::draw_font_bytes_cached_with_renderer_resources

    fn Renderer::draw_font_bytes_cached_with_renderer_resources(self : Renderer, font_data : Bytes, text : String, x : Double, y : Double, config :
    LayoutConfig
    , resources : RendererResources, font_key : String, text_key : String, paint :
    Paint
    ) -> Result[CachedFontTextDrawResult,
    FontParseError
    ]

    Parse font bytes through renderer resources, then draw through the rendered text-mask cache.

    Renderer::draw_font_bytes_fallback_line_atlas_with_renderer_resources

    fn Renderer::draw_font_bytes_fallback_line_atlas_with_renderer_resources(self : Renderer, sources : Array[FontBytesFallbackSource], text : String, x : Double, y : Double, config :
    LayoutConfig
    , resources : RendererResources, glyph_key_prefix : String, paint :
    Paint
    ) -> Result[CachedFontFallbackAtlasDrawResult,
    FontParseError
    ]

    Parse an ordered font-byte stack through renderer resources, then draw a fallback line through the shared glyph mask cache and atlas.

    Renderer::draw_font_bytes_fallback_line_cached_with_renderer_resources

    fn Renderer::draw_font_bytes_fallback_line_cached_with_renderer_resources(self : Renderer, sources : Array[FontBytesFallbackSource], text : String, x : Double, y : Double, config :
    LayoutConfig
    , resources : RendererResources, text_key_prefix : String, paint :
    Paint
    ) -> Result[CachedFontFallbackDrawResult,
    FontParseError
    ]

    Parse an ordered font-byte stack through renderer resources, then draw a cached fallback line through the shared text-mask cache.

    Renderer::draw_glyph_atlas_entry

    Draw one glyph entry from a coverage-mask atlas snapshot.

    Renderer::draw_loaded_font_atlas_with_renderer_resources

    fn[L :
    FontLoader
    ] Renderer::draw_loaded_font_atlas_with_renderer_resources(self : Renderer, loader : L, text : String, x : Double, y : Double, config :
    LayoutConfig
    , resources : RendererResources, font_key : String, glyph_key_prefix : String, paint :
    Paint
    ) -> Result[CachedFontAtlasDrawResult,
    FontLoadError
    ]

    Load a font face through renderer resources, then draw through glyph cache and atlas resources.

    Renderer::draw_loaded_font_cached_with_renderer_resources

    fn[L :
    FontLoader
    ] Renderer::draw_loaded_font_cached_with_renderer_resources(self : Renderer, loader : L, text : String, x : Double, y : Double, config :
    LayoutConfig
    , resources : RendererResources, font_key : String, text_key : String, paint :
    Paint
    ) -> Result[CachedFontTextDrawResult,
    FontLoadError
    ]

    Load a font face through renderer resources, then draw through the rendered text-mask cache.

    Renderer::draw_nine_patch_bmp_bytes_cached

    Decode BMP bytes through a pixmap cache and draw with nine-patch scaling.

    Renderer::draw_nine_patch_bmp_bytes_cached_with_renderer_resources

    fn Renderer::draw_nine_patch_bmp_bytes_cached_with_renderer_resources(self : Renderer, image_data : Bytes, x : Int, y : Int, width : Int, height : Int, insets :
    NinePatchInsets
    , resources : RendererResources, image_key : String, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> Result[CachedBmpPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode BMP bytes through renderer-owned resources and draw with nine-patch scaling.

    Renderer::draw_nine_patch_pixmap_cached

    Draw an image through a pixmap cache using nine-patch scaling.

    Renderer::draw_nine_patch_pixmap_cached_with_renderer_resources

    fn Renderer::draw_nine_patch_pixmap_cached_with_renderer_resources(self : Renderer, pixmap :
    Pixmap
    , x : Int, y : Int, width : Int, height : Int, insets :
    NinePatchInsets
    , resources : RendererResources, image_key : String, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> CachedPixmapDrawResult

    Draw an image through renderer-owned resources using nine-patch scaling.

    Renderer::draw_nine_patch_png_bytes_cached

    Decode PNG bytes through a pixmap cache and draw with nine-patch scaling.

    Renderer::draw_nine_patch_png_bytes_cached_with_renderer_resources

    fn Renderer::draw_nine_patch_png_bytes_cached_with_renderer_resources(self : Renderer, image_data : Bytes, x : Int, y : Int, width : Int, height : Int, insets :
    NinePatchInsets
    , resources : RendererResources, image_key : String, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> Result[CachedPngPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode PNG bytes through renderer-owned resources and draw with nine-patch scaling.

    Renderer::draw_nine_patch_rgba_bytes_cached

    fn Renderer::draw_nine_patch_rgba_bytes_cached(self : Renderer, image_data : Bytes, image_width : Int, image_height : Int, x : Int, y : Int, width : Int, height : Int, insets :
    NinePatchInsets
    , image_cache :
    PixmapCache
    , image_key : String, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> Result[CachedRgbaPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode raw RGBA bytes through a pixmap cache and draw with nine-patch scaling.

    Renderer::draw_nine_patch_rgba_bytes_cached_with_renderer_resources

    fn Renderer::draw_nine_patch_rgba_bytes_cached_with_renderer_resources(self : Renderer, image_data : Bytes, image_width : Int, image_height : Int, x : Int, y : Int, width : Int, height : Int, insets :
    NinePatchInsets
    , resources : RendererResources, image_key : String, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> Result[CachedRgbaPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode raw RGBA bytes through renderer-owned resources and draw with nine-patch scaling.

    Renderer::draw_pipeline_result

    fn Renderer::draw_pipeline_result(self : Renderer, pipeline : RenderPipeline) -> Result[RenderPipelineReplayResult, RenderPipelineReplayError]

    Replay all queued commands through this renderer, preserving checked errors.

    Renderer::draw_pipeline_with_font_loader_resources_result

    fn[L :
    FontLoader
    ] Renderer::draw_pipeline_with_font_loader_resources_result(self : Renderer, pipeline : RenderPipeline, resources : RendererResources, loader : L) -> Result[RenderPipelineResourceReplayResult, RenderPipelineResourceReplayError]

    Replay a pipeline through resources and a font loader, preserving checked replay errors.

    Renderer::draw_pipeline_with_renderer_resources_result

    fn Renderer::draw_pipeline_with_renderer_resources_result(self : Renderer, pipeline : RenderPipeline, resources : RendererResources) -> Result[RenderPipelineResourceReplayResult, RenderPipelineResourceReplayError]

    Replay a pipeline through resources, preserving checked replay errors.

    Renderer::draw_pixmap_cached

    fn Renderer::draw_pixmap_cached(self : Renderer, pixmap :
    Pixmap
    , x : Int, y : Int, image_cache :
    PixmapCache
    , image_key : String, paint :
    Paint
    ) -> CachedPixmapDrawResult

    Draw an image through a caller-owned pixmap cache.

    Renderer::draw_pixmap_cached_with_renderer_resources

    fn Renderer::draw_pixmap_cached_with_renderer_resources(self : Renderer, pixmap :
    Pixmap
    , x : Int, y : Int, resources : RendererResources, image_key : String, paint :
    Paint
    ) -> CachedPixmapDrawResult

    Draw an image through renderer-owned resources and the pixmap cache.

    Renderer::draw_pixmap_rect_cached

    Draw a source rectangle from an image through a caller-owned pixmap cache.

    Renderer::draw_pixmap_rect_cached_with_renderer_resources

    fn Renderer::draw_pixmap_rect_cached_with_renderer_resources(self : Renderer, pixmap :
    Pixmap
    , src_rect :
    PixelRect
    , x : Int, y : Int, resources : RendererResources, image_key : String, paint :
    Paint
    ) -> CachedPixmapDrawResult

    Draw a source rectangle from an image through renderer-owned resources.

    Renderer::draw_png_bytes_cached

    fn Renderer::draw_png_bytes_cached(self : Renderer, image_data : Bytes, x : Int, y : Int, image_cache :
    PixmapCache
    , image_key : String, paint :
    Paint
    ) -> Result[CachedPngPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode PNG bytes through a caller-owned pixmap cache and draw the image.

    Renderer::draw_png_bytes_cached_with_renderer_resources

    fn Renderer::draw_png_bytes_cached_with_renderer_resources(self : Renderer, image_data : Bytes, x : Int, y : Int, resources : RendererResources, image_key : String, paint :
    Paint
    ) -> Result[CachedPngPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode PNG bytes through renderer-owned resources and draw the image.

    Renderer::draw_png_bytes_rect_cached

    Decode PNG bytes through a pixmap cache and draw a source rectangle.

    Renderer::draw_png_bytes_rect_cached_with_renderer_resources

    fn Renderer::draw_png_bytes_rect_cached_with_renderer_resources(self : Renderer, image_data : Bytes, src_rect :
    PixelRect
    , x : Int, y : Int, resources : RendererResources, image_key : String, paint :
    Paint
    ) -> Result[CachedPngPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode PNG bytes through renderer-owned resources and draw a source rectangle.

    Renderer::draw_quality_bmp_bytes_cached

    fn Renderer::draw_quality_bmp_bytes_cached(self : Renderer, image_data : Bytes, x : Int, y : Int, width : Int, height : Int, image_cache :
    PixmapCache
    , image_key : String, paint :
    Paint
    , quality :
    ImageQuality
    ) -> Result[CachedBmpPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode BMP bytes through a caller-owned pixmap cache and draw a scaled image.

    Renderer::draw_quality_bmp_bytes_cached_with_renderer_resources

    fn Renderer::draw_quality_bmp_bytes_cached_with_renderer_resources(self : Renderer, image_data : Bytes, x : Int, y : Int, width : Int, height : Int, resources : RendererResources, image_key : String, paint :
    Paint
    , quality :
    ImageQuality
    ) -> Result[CachedBmpPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode BMP bytes through renderer-owned resources and draw a scaled image.

    Renderer::draw_quality_bmp_bytes_rect_cached

    fn Renderer::draw_quality_bmp_bytes_rect_cached(self : Renderer, image_data : Bytes, src_rect :
    PixelRect
    , x : Int, y : Int, width : Int, height : Int, image_cache :
    PixmapCache
    , image_key : String, paint :
    Paint
    , quality :
    ImageQuality
    ) -> Result[CachedBmpPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode BMP bytes through a pixmap cache and draw a scaled source rectangle.

    Renderer::draw_quality_bmp_bytes_rect_cached_with_renderer_resources

    fn Renderer::draw_quality_bmp_bytes_rect_cached_with_renderer_resources(self : Renderer, image_data : Bytes, src_rect :
    PixelRect
    , x : Int, y : Int, width : Int, height : Int, resources : RendererResources, image_key : String, paint :
    Paint
    , quality :
    ImageQuality
    ) -> Result[CachedBmpPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode BMP bytes through renderer-owned resources and draw a scaled source rectangle.

    Renderer::draw_quality_nine_patch_bmp_bytes_cached

    fn Renderer::draw_quality_nine_patch_bmp_bytes_cached(self : Renderer, image_data : Bytes, x : Int, y : Int, width : Int, height : Int, insets :
    NinePatchInsets
    , image_cache :
    PixmapCache
    , image_key : String, paint :
    Paint
    , quality :
    ImageQuality
    ) -> Result[CachedBmpPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode BMP bytes through a pixmap cache and draw with nine-patch quality scaling.

    Renderer::draw_quality_nine_patch_bmp_bytes_cached_with_renderer_resources

    fn Renderer::draw_quality_nine_patch_bmp_bytes_cached_with_renderer_resources(self : Renderer, image_data : Bytes, x : Int, y : Int, width : Int, height : Int, insets :
    NinePatchInsets
    , resources : RendererResources, image_key : String, paint :
    Paint
    , quality :
    ImageQuality
    ) -> Result[CachedBmpPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode BMP bytes through renderer-owned resources and draw with nine-patch quality scaling.

    Renderer::draw_quality_nine_patch_pixmap_cached

    Draw an image through a pixmap cache using nine-patch quality scaling.

    Renderer::draw_quality_nine_patch_pixmap_cached_with_renderer_resources

    fn Renderer::draw_quality_nine_patch_pixmap_cached_with_renderer_resources(self : Renderer, pixmap :
    Pixmap
    , x : Int, y : Int, width : Int, height : Int, insets :
    NinePatchInsets
    , resources : RendererResources, image_key : String, paint :
    Paint
    , quality :
    ImageQuality
    ) -> CachedPixmapDrawResult

    Draw an image through renderer-owned resources using nine-patch quality scaling.

    Renderer::draw_quality_nine_patch_png_bytes_cached

    fn Renderer::draw_quality_nine_patch_png_bytes_cached(self : Renderer, image_data : Bytes, x : Int, y : Int, width : Int, height : Int, insets :
    NinePatchInsets
    , image_cache :
    PixmapCache
    , image_key : String, paint :
    Paint
    , quality :
    ImageQuality
    ) -> Result[CachedPngPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode PNG bytes through a pixmap cache and draw with nine-patch quality scaling.

    Renderer::draw_quality_nine_patch_png_bytes_cached_with_renderer_resources

    fn Renderer::draw_quality_nine_patch_png_bytes_cached_with_renderer_resources(self : Renderer, image_data : Bytes, x : Int, y : Int, width : Int, height : Int, insets :
    NinePatchInsets
    , resources : RendererResources, image_key : String, paint :
    Paint
    , quality :
    ImageQuality
    ) -> Result[CachedPngPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode PNG bytes through renderer-owned resources and draw with nine-patch quality scaling.

    Renderer::draw_quality_nine_patch_rgba_bytes_cached

    fn Renderer::draw_quality_nine_patch_rgba_bytes_cached(self : Renderer, image_data : Bytes, image_width : Int, image_height : Int, x : Int, y : Int, width : Int, height : Int, insets :
    NinePatchInsets
    , image_cache :
    PixmapCache
    , image_key : String, paint :
    Paint
    , quality :
    ImageQuality
    ) -> Result[CachedRgbaPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode raw RGBA bytes through a pixmap cache and draw with nine-patch quality scaling.

    Renderer::draw_quality_nine_patch_rgba_bytes_cached_with_renderer_resources

    fn Renderer::draw_quality_nine_patch_rgba_bytes_cached_with_renderer_resources(self : Renderer, image_data : Bytes, image_width : Int, image_height : Int, x : Int, y : Int, width : Int, height : Int, insets :
    NinePatchInsets
    , resources : RendererResources, image_key : String, paint :
    Paint
    , quality :
    ImageQuality
    ) -> Result[CachedRgbaPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode raw RGBA bytes through renderer-owned resources and draw with nine-patch quality scaling.

    Renderer::draw_quality_pixmap_cached

    fn Renderer::draw_quality_pixmap_cached(self : Renderer, pixmap :
    Pixmap
    , x : Int, y : Int, width : Int, height : Int, image_cache :
    PixmapCache
    , image_key : String, paint :
    Paint
    , quality :
    ImageQuality
    ) -> CachedPixmapDrawResult

    Draw a scaled image through a caller-owned pixmap cache and quality policy.

    Renderer::draw_quality_pixmap_cached_with_renderer_resources

    fn Renderer::draw_quality_pixmap_cached_with_renderer_resources(self : Renderer, pixmap :
    Pixmap
    , x : Int, y : Int, width : Int, height : Int, resources : RendererResources, image_key : String, paint :
    Paint
    , quality :
    ImageQuality
    ) -> CachedPixmapDrawResult

    Draw a scaled image through renderer-owned resources and quality policy.

    Renderer::draw_quality_pixmap_rect_cached

    fn Renderer::draw_quality_pixmap_rect_cached(self : Renderer, pixmap :
    Pixmap
    , src_rect :
    PixelRect
    , x : Int, y : Int, width : Int, height : Int, image_cache :
    PixmapCache
    , image_key : String, paint :
    Paint
    , quality :
    ImageQuality
    ) -> CachedPixmapDrawResult

    Draw a scaled image source rectangle through a caller-owned pixmap cache.

    Renderer::draw_quality_pixmap_rect_cached_with_renderer_resources

    fn Renderer::draw_quality_pixmap_rect_cached_with_renderer_resources(self : Renderer, pixmap :
    Pixmap
    , src_rect :
    PixelRect
    , x : Int, y : Int, width : Int, height : Int, resources : RendererResources, image_key : String, paint :
    Paint
    , quality :
    ImageQuality
    ) -> CachedPixmapDrawResult

    Draw a scaled image source rectangle through renderer-owned resources.

    Renderer::draw_quality_png_bytes_cached

    fn Renderer::draw_quality_png_bytes_cached(self : Renderer, image_data : Bytes, x : Int, y : Int, width : Int, height : Int, image_cache :
    PixmapCache
    , image_key : String, paint :
    Paint
    , quality :
    ImageQuality
    ) -> Result[CachedPngPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode PNG bytes through a caller-owned pixmap cache and draw a scaled image with a quality policy.

    Renderer::draw_quality_png_bytes_cached_with_renderer_resources

    fn Renderer::draw_quality_png_bytes_cached_with_renderer_resources(self : Renderer, image_data : Bytes, x : Int, y : Int, width : Int, height : Int, resources : RendererResources, image_key : String, paint :
    Paint
    , quality :
    ImageQuality
    ) -> Result[CachedPngPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode PNG bytes through renderer-owned resources and draw a scaled image with a quality policy.

    Renderer::draw_quality_png_bytes_rect_cached

    fn Renderer::draw_quality_png_bytes_rect_cached(self : Renderer, image_data : Bytes, src_rect :
    PixelRect
    , x : Int, y : Int, width : Int, height : Int, image_cache :
    PixmapCache
    , image_key : String, paint :
    Paint
    , quality :
    ImageQuality
    ) -> Result[CachedPngPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode PNG bytes through a pixmap cache and draw a scaled source rectangle with a quality policy.

    Renderer::draw_quality_png_bytes_rect_cached_with_renderer_resources

    fn Renderer::draw_quality_png_bytes_rect_cached_with_renderer_resources(self : Renderer, image_data : Bytes, src_rect :
    PixelRect
    , x : Int, y : Int, width : Int, height : Int, resources : RendererResources, image_key : String, paint :
    Paint
    , quality :
    ImageQuality
    ) -> Result[CachedPngPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode PNG bytes through renderer-owned resources and draw a scaled source rectangle with a quality policy.

    Renderer::draw_quality_rgba_bytes_cached

    fn Renderer::draw_quality_rgba_bytes_cached(self : Renderer, image_data : Bytes, image_width : Int, image_height : Int, x : Int, y : Int, width : Int, height : Int, image_cache :
    PixmapCache
    , image_key : String, paint :
    Paint
    , quality :
    ImageQuality
    ) -> Result[CachedRgbaPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode raw RGBA bytes through a caller-owned pixmap cache and draw a scaled image with a quality policy.

    Renderer::draw_quality_rgba_bytes_cached_with_renderer_resources

    fn Renderer::draw_quality_rgba_bytes_cached_with_renderer_resources(self : Renderer, image_data : Bytes, image_width : Int, image_height : Int, x : Int, y : Int, width : Int, height : Int, resources : RendererResources, image_key : String, paint :
    Paint
    , quality :
    ImageQuality
    ) -> Result[CachedRgbaPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode raw RGBA bytes through renderer-owned resources and draw a scaled image with a quality policy.

    Renderer::draw_quality_rgba_bytes_rect_cached

    fn Renderer::draw_quality_rgba_bytes_rect_cached(self : Renderer, image_data : Bytes, image_width : Int, image_height : Int, src_rect :
    PixelRect
    , x : Int, y : Int, width : Int, height : Int, image_cache :
    PixmapCache
    , image_key : String, paint :
    Paint
    , quality :
    ImageQuality
    ) -> Result[CachedRgbaPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode raw RGBA bytes through a pixmap cache and draw a scaled source rectangle with a quality policy.

    Renderer::draw_quality_rgba_bytes_rect_cached_with_renderer_resources

    fn Renderer::draw_quality_rgba_bytes_rect_cached_with_renderer_resources(self : Renderer, image_data : Bytes, image_width : Int, image_height : Int, src_rect :
    PixelRect
    , x : Int, y : Int, width : Int, height : Int, resources : RendererResources, image_key : String, paint :
    Paint
    , quality :
    ImageQuality
    ) -> Result[CachedRgbaPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode raw RGBA bytes through renderer-owned resources and draw a scaled source rectangle with a quality policy.

    Renderer::draw_rgba_bytes_cached

    fn Renderer::draw_rgba_bytes_cached(self : Renderer, image_data : Bytes, image_width : Int, image_height : Int, x : Int, y : Int, image_cache :
    PixmapCache
    , image_key : String, paint :
    Paint
    ) -> Result[CachedRgbaPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode raw RGBA bytes through a caller-owned pixmap cache and draw the image.

    Renderer::draw_rgba_bytes_cached_with_renderer_resources

    fn Renderer::draw_rgba_bytes_cached_with_renderer_resources(self : Renderer, image_data : Bytes, image_width : Int, image_height : Int, x : Int, y : Int, resources : RendererResources, image_key : String, paint :
    Paint
    ) -> Result[CachedRgbaPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode raw RGBA bytes through renderer-owned resources and draw the image.

    Renderer::draw_rgba_bytes_rect_cached

    fn Renderer::draw_rgba_bytes_rect_cached(self : Renderer, image_data : Bytes, image_width : Int, image_height : Int, src_rect :
    PixelRect
    , x : Int, y : Int, image_cache :
    PixmapCache
    , image_key : String, paint :
    Paint
    ) -> Result[CachedRgbaPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode raw RGBA bytes through a pixmap cache and draw a source rectangle.

    Renderer::draw_rgba_bytes_rect_cached_with_renderer_resources

    fn Renderer::draw_rgba_bytes_rect_cached_with_renderer_resources(self : Renderer, image_data : Bytes, image_width : Int, image_height : Int, src_rect :
    PixelRect
    , x : Int, y : Int, resources : RendererResources, image_key : String, paint :
    Paint
    ) -> Result[CachedRgbaPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode raw RGBA bytes through renderer-owned resources and draw a source rectangle.

    Renderer::draw_sampled_bmp_bytes_cached

    fn Renderer::draw_sampled_bmp_bytes_cached(self : Renderer, image_data : Bytes, x : Int, y : Int, width : Int, height : Int, image_cache :
    PixmapCache
    , image_key : String, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> Result[CachedBmpPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode BMP bytes through a pixmap cache and draw a sampled scaled image.

    Renderer::draw_sampled_bmp_bytes_cached_with_renderer_resources

    fn Renderer::draw_sampled_bmp_bytes_cached_with_renderer_resources(self : Renderer, image_data : Bytes, x : Int, y : Int, width : Int, height : Int, resources : RendererResources, image_key : String, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> Result[CachedBmpPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode BMP bytes through renderer-owned resources and draw a sampled scaled image.

    Renderer::draw_sampled_bmp_bytes_rect_cached

    fn Renderer::draw_sampled_bmp_bytes_rect_cached(self : Renderer, image_data : Bytes, src_rect :
    PixelRect
    , x : Int, y : Int, width : Int, height : Int, image_cache :
    PixmapCache
    , image_key : String, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> Result[CachedBmpPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode BMP bytes through a pixmap cache and draw a sampled scaled source rectangle.

    Renderer::draw_sampled_bmp_bytes_rect_cached_with_renderer_resources

    fn Renderer::draw_sampled_bmp_bytes_rect_cached_with_renderer_resources(self : Renderer, image_data : Bytes, src_rect :
    PixelRect
    , x : Int, y : Int, width : Int, height : Int, resources : RendererResources, image_key : String, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> Result[CachedBmpPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode BMP bytes through renderer-owned resources and draw a sampled scaled source rectangle.

    Renderer::draw_sampled_pixmap_cached

    fn Renderer::draw_sampled_pixmap_cached(self : Renderer, pixmap :
    Pixmap
    , x : Int, y : Int, width : Int, height : Int, image_cache :
    PixmapCache
    , image_key : String, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> CachedPixmapDrawResult

    Draw a sampled scaled image through a caller-owned pixmap cache.

    Renderer::draw_sampled_pixmap_cached_with_renderer_resources

    fn Renderer::draw_sampled_pixmap_cached_with_renderer_resources(self : Renderer, pixmap :
    Pixmap
    , x : Int, y : Int, width : Int, height : Int, resources : RendererResources, image_key : String, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> CachedPixmapDrawResult

    Draw a sampled scaled image through renderer-owned resources.

    Renderer::draw_sampled_pixmap_rect_cached

    Draw a sampled scaled image source rectangle through a caller-owned pixmap cache.

    Renderer::draw_sampled_pixmap_rect_cached_with_renderer_resources

    fn Renderer::draw_sampled_pixmap_rect_cached_with_renderer_resources(self : Renderer, pixmap :
    Pixmap
    , src_rect :
    PixelRect
    , x : Int, y : Int, width : Int, height : Int, resources : RendererResources, image_key : String, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> CachedPixmapDrawResult

    Draw a sampled scaled image source rectangle through renderer-owned resources.

    Renderer::draw_sampled_png_bytes_cached

    fn Renderer::draw_sampled_png_bytes_cached(self : Renderer, image_data : Bytes, x : Int, y : Int, width : Int, height : Int, image_cache :
    PixmapCache
    , image_key : String, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> Result[CachedPngPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode PNG bytes through a pixmap cache and draw a sampled scaled image.

    Renderer::draw_sampled_png_bytes_cached_with_renderer_resources

    fn Renderer::draw_sampled_png_bytes_cached_with_renderer_resources(self : Renderer, image_data : Bytes, x : Int, y : Int, width : Int, height : Int, resources : RendererResources, image_key : String, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> Result[CachedPngPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode PNG bytes through renderer-owned resources and draw a sampled scaled image.

    Renderer::draw_sampled_png_bytes_rect_cached

    fn Renderer::draw_sampled_png_bytes_rect_cached(self : Renderer, image_data : Bytes, src_rect :
    PixelRect
    , x : Int, y : Int, width : Int, height : Int, image_cache :
    PixmapCache
    , image_key : String, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> Result[CachedPngPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode PNG bytes through a pixmap cache and draw a sampled scaled source rectangle.

    Renderer::draw_sampled_png_bytes_rect_cached_with_renderer_resources

    fn Renderer::draw_sampled_png_bytes_rect_cached_with_renderer_resources(self : Renderer, image_data : Bytes, src_rect :
    PixelRect
    , x : Int, y : Int, width : Int, height : Int, resources : RendererResources, image_key : String, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> Result[CachedPngPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode PNG bytes through renderer-owned resources and draw a sampled scaled source rectangle.

    Renderer::draw_sampled_rgba_bytes_cached

    fn Renderer::draw_sampled_rgba_bytes_cached(self : Renderer, image_data : Bytes, image_width : Int, image_height : Int, x : Int, y : Int, width : Int, height : Int, image_cache :
    PixmapCache
    , image_key : String, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> Result[CachedRgbaPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode raw RGBA bytes through a pixmap cache and draw a sampled scaled image.

    Renderer::draw_sampled_rgba_bytes_cached_with_renderer_resources

    fn Renderer::draw_sampled_rgba_bytes_cached_with_renderer_resources(self : Renderer, image_data : Bytes, image_width : Int, image_height : Int, x : Int, y : Int, width : Int, height : Int, resources : RendererResources, image_key : String, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> Result[CachedRgbaPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode raw RGBA bytes through renderer-owned resources and draw a sampled scaled image.

    Renderer::draw_sampled_rgba_bytes_rect_cached

    fn Renderer::draw_sampled_rgba_bytes_rect_cached(self : Renderer, image_data : Bytes, image_width : Int, image_height : Int, src_rect :
    PixelRect
    , x : Int, y : Int, width : Int, height : Int, image_cache :
    PixmapCache
    , image_key : String, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> Result[CachedRgbaPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode raw RGBA bytes through a pixmap cache and draw a sampled scaled source rectangle.

    Renderer::draw_sampled_rgba_bytes_rect_cached_with_renderer_resources

    fn Renderer::draw_sampled_rgba_bytes_rect_cached_with_renderer_resources(self : Renderer, image_data : Bytes, image_width : Int, image_height : Int, src_rect :
    PixelRect
    , x : Int, y : Int, width : Int, height : Int, resources : RendererResources, image_key : String, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> Result[CachedRgbaPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode raw RGBA bytes through renderer-owned resources and draw a sampled scaled source rectangle.

    Renderer::draw_text_face

    fn Renderer::draw_text_face(self : Renderer, face :
    FontFace
    , text : String, x : Double, y : Double, config :
    LayoutConfig
    , paint :
    Paint
    ) -> Unit

    Draw text through the stable font-face layout pipeline.

    Renderer::draw_text_face_atlas

    Draw text through caller-owned glyph mask cache and glyph atlas resources.

    Renderer::draw_text_face_atlas_with_renderer_resources

    fn Renderer::draw_text_face_atlas_with_renderer_resources(self : Renderer, face :
    FontFace
    , text : String, x : Double, y : Double, config :
    LayoutConfig
    , resources : RendererResources, glyph_key_prefix : String, paint :
    Paint
    ) -> TextAtlasDrawResult

    Draw text through renderer-owned resources and the glyph atlas path.

    Renderer::draw_text_face_atlas_with_resources

    fn Renderer::draw_text_face_atlas_with_resources(self : Renderer, face :
    FontFace
    , text : String, x : Double, y : Double, config :
    LayoutConfig
    , resources : RendererTextResources, glyph_key_prefix : String, paint :
    Paint
    ) -> TextAtlasDrawResult

    Draw text through renderer-owned text resources and the glyph atlas path.

    Renderer::draw_text_face_cached

    fn Renderer::draw_text_face_cached(self : Renderer, face :
    FontFace
    , text : String, x : Double, y : Double, config :
    LayoutConfig
    , text_cache :
    TextMaskCache
    , text_key : String, paint :
    Paint
    ) -> TextMaskDrawResult

    Draw text through a caller-owned rendered text-mask cache.

    Renderer::draw_text_face_cached_with_renderer_resources

    fn Renderer::draw_text_face_cached_with_renderer_resources(self : Renderer, face :
    FontFace
    , text : String, x : Double, y : Double, config :
    LayoutConfig
    , resources : RendererResources, text_key : String, paint :
    Paint
    ) -> TextMaskDrawResult

    Draw text through renderer-owned resources and the rendered mask cache.

    Renderer::draw_text_face_cached_with_resources

    fn Renderer::draw_text_face_cached_with_resources(self : Renderer, face :
    FontFace
    , text : String, x : Double, y : Double, config :
    LayoutConfig
    , resources : RendererTextResources, text_key : String, paint :
    Paint
    ) -> TextMaskDrawResult

    Draw text through renderer-owned text resources and the rendered mask cache.

    Renderer::draw_text_fallback_line

    fn Renderer::draw_text_fallback_line(self : Renderer, faces : Array[
    FontFace
    ], text : String, x : Double, y : Double, config :
    LayoutConfig
    , paint :
    Paint
    ) -> TextFallbackDrawResult

    Draw a single left-to-right text line through an ordered font fallback stack.

    Renderer::draw_text_fallback_line_atlas

    Draw a single fallback line through caller-owned glyph mask cache and atlas resources.

    Renderer::draw_text_fallback_line_atlas_with_renderer_resources

    fn Renderer::draw_text_fallback_line_atlas_with_renderer_resources(self : Renderer, faces : Array[
    FontFace
    ], text : String, x : Double, y : Double, config :
    LayoutConfig
    , resources : RendererResources, glyph_key_prefix : String, paint :
    Paint
    ) -> TextFallbackAtlasDrawResult

    Draw a fallback line through renderer-owned resources and the glyph atlas path.

    Renderer::draw_text_fallback_line_atlas_with_resources

    fn Renderer::draw_text_fallback_line_atlas_with_resources(self : Renderer, faces : Array[
    FontFace
    ], text : String, x : Double, y : Double, config :
    LayoutConfig
    , resources : RendererTextResources, glyph_key_prefix : String, paint :
    Paint
    ) -> TextFallbackAtlasDrawResult

    Draw a fallback line through renderer-owned text resources and the glyph atlas path.

    Renderer::draw_text_fallback_line_cached

    fn Renderer::draw_text_fallback_line_cached(self : Renderer, faces : Array[
    FontFace
    ], text : String, x : Double, y : Double, config :
    LayoutConfig
    , text_cache :
    TextMaskCache
    , text_key_prefix : String, paint :
    Paint
    ) -> TextFallbackDrawResult

    Draw a single fallback line through a caller-owned rendered text-mask cache.

    Renderer::draw_text_fallback_line_cached_with_renderer_resources

    fn Renderer::draw_text_fallback_line_cached_with_renderer_resources(self : Renderer, faces : Array[
    FontFace
    ], text : String, x : Double, y : Double, config :
    LayoutConfig
    , resources : RendererResources, text_key_prefix : String, paint :
    Paint
    ) -> TextFallbackDrawResult

    Draw a cached fallback line through renderer-owned resources.

    Renderer::draw_text_fallback_line_cached_with_resources

    fn Renderer::draw_text_fallback_line_cached_with_resources(self : Renderer, faces : Array[
    FontFace
    ], text : String, x : Double, y : Double, config :
    LayoutConfig
    , resources : RendererTextResources, text_key_prefix : String, paint :
    Paint
    ) -> TextFallbackDrawResult

    Draw a cached fallback line through renderer-owned text resources.

    Renderer::draw_tiled_bmp_bytes_rect_cached

    fn Renderer::draw_tiled_bmp_bytes_rect_cached(self : Renderer, image_data : Bytes, src_rect :
    PixelRect
    , x : Int, y : Int, width : Int, height : Int, image_cache :
    PixmapCache
    , image_key : String, paint :
    Paint
    ) -> Result[CachedBmpPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode BMP bytes through a pixmap cache and draw a tiled source rectangle.

    Renderer::draw_tiled_bmp_bytes_rect_cached_with_renderer_resources

    fn Renderer::draw_tiled_bmp_bytes_rect_cached_with_renderer_resources(self : Renderer, image_data : Bytes, src_rect :
    PixelRect
    , x : Int, y : Int, width : Int, height : Int, resources : RendererResources, image_key : String, paint :
    Paint
    ) -> Result[CachedBmpPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode BMP bytes through renderer-owned resources and draw a tiled source rectangle.

    Renderer::draw_tiled_pixmap_rect_cached

    fn Renderer::draw_tiled_pixmap_rect_cached(self : Renderer, pixmap :
    Pixmap
    , src_rect :
    PixelRect
    , x : Int, y : Int, width : Int, height : Int, image_cache :
    PixmapCache
    , image_key : String, paint :
    Paint
    ) -> CachedPixmapDrawResult

    Draw a tiled source rectangle from an image through a caller-owned pixmap cache.

    Renderer::draw_tiled_pixmap_rect_cached_with_renderer_resources

    fn Renderer::draw_tiled_pixmap_rect_cached_with_renderer_resources(self : Renderer, pixmap :
    Pixmap
    , src_rect :
    PixelRect
    , x : Int, y : Int, width : Int, height : Int, resources : RendererResources, image_key : String, paint :
    Paint
    ) -> CachedPixmapDrawResult

    Draw a tiled source rectangle from an image through renderer-owned resources.

    Renderer::draw_tiled_png_bytes_rect_cached

    fn Renderer::draw_tiled_png_bytes_rect_cached(self : Renderer, image_data : Bytes, src_rect :
    PixelRect
    , x : Int, y : Int, width : Int, height : Int, image_cache :
    PixmapCache
    , image_key : String, paint :
    Paint
    ) -> Result[CachedPngPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode PNG bytes through a pixmap cache and draw a tiled source rectangle.

    Renderer::draw_tiled_png_bytes_rect_cached_with_renderer_resources

    fn Renderer::draw_tiled_png_bytes_rect_cached_with_renderer_resources(self : Renderer, image_data : Bytes, src_rect :
    PixelRect
    , x : Int, y : Int, width : Int, height : Int, resources : RendererResources, image_key : String, paint :
    Paint
    ) -> Result[CachedPngPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode PNG bytes through renderer-owned resources and draw a tiled source rectangle.

    Renderer::draw_tiled_rgba_bytes_rect_cached

    fn Renderer::draw_tiled_rgba_bytes_rect_cached(self : Renderer, image_data : Bytes, image_width : Int, image_height : Int, src_rect :
    PixelRect
    , x : Int, y : Int, width : Int, height : Int, image_cache :
    PixmapCache
    , image_key : String, paint :
    Paint
    ) -> Result[CachedRgbaPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode raw RGBA bytes through a pixmap cache and draw a tiled source rectangle.

    Renderer::draw_tiled_rgba_bytes_rect_cached_with_renderer_resources

    fn Renderer::draw_tiled_rgba_bytes_rect_cached_with_renderer_resources(self : Renderer, image_data : Bytes, image_width : Int, image_height : Int, src_rect :
    PixelRect
    , x : Int, y : Int, width : Int, height : Int, resources : RendererResources, image_key : String, paint :
    Paint
    ) -> Result[CachedRgbaPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode raw RGBA bytes through renderer-owned resources and draw a tiled source rectangle.

    Renderer::draw_transformed_quality_bmp_bytes_cached

    fn Renderer::draw_transformed_quality_bmp_bytes_cached(self : Renderer, image_data : Bytes, x : Double, y : Double, width : Double, height : Double, image_cache :
    PixmapCache
    , image_key : String, paint :
    Paint
    , quality :
    ImageQuality
    ) -> Result[CachedBmpPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode BMP bytes through a pixmap cache and draw a transformed image with a quality policy.

    Renderer::draw_transformed_quality_bmp_bytes_cached_with_renderer_resources

    fn Renderer::draw_transformed_quality_bmp_bytes_cached_with_renderer_resources(self : Renderer, image_data : Bytes, x : Double, y : Double, width : Double, height : Double, resources : RendererResources, image_key : String, paint :
    Paint
    , quality :
    ImageQuality
    ) -> Result[CachedBmpPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode BMP bytes through renderer-owned resources and draw a transformed image with a quality policy.

    Renderer::draw_transformed_quality_bmp_bytes_rect_cached

    fn Renderer::draw_transformed_quality_bmp_bytes_rect_cached(self : Renderer, image_data : Bytes, src_rect :
    PixelRect
    , x : Double, y : Double, width : Double, height : Double, image_cache :
    PixmapCache
    , image_key : String, paint :
    Paint
    , quality :
    ImageQuality
    ) -> Result[CachedBmpPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode BMP bytes through a pixmap cache and draw a transformed source rectangle with a quality policy.

    Renderer::draw_transformed_quality_bmp_bytes_rect_cached_with_renderer_resources

    fn Renderer::draw_transformed_quality_bmp_bytes_rect_cached_with_renderer_resources(self : Renderer, image_data : Bytes, src_rect :
    PixelRect
    , x : Double, y : Double, width : Double, height : Double, resources : RendererResources, image_key : String, paint :
    Paint
    , quality :
    ImageQuality
    ) -> Result[CachedBmpPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode BMP bytes through renderer-owned resources and draw a transformed source rectangle with a quality policy.

    Renderer::draw_transformed_quality_pixmap_cached

    fn Renderer::draw_transformed_quality_pixmap_cached(self : Renderer, pixmap :
    Pixmap
    , x : Double, y : Double, width : Double, height : Double, image_cache :
    PixmapCache
    , image_key : String, paint :
    Paint
    , quality :
    ImageQuality
    ) -> CachedPixmapDrawResult

    Draw a transformed image through a caller-owned pixmap cache and quality policy.

    Renderer::draw_transformed_quality_pixmap_cached_with_renderer_resources

    fn Renderer::draw_transformed_quality_pixmap_cached_with_renderer_resources(self : Renderer, pixmap :
    Pixmap
    , x : Double, y : Double, width : Double, height : Double, resources : RendererResources, image_key : String, paint :
    Paint
    , quality :
    ImageQuality
    ) -> CachedPixmapDrawResult

    Draw a transformed image through renderer-owned resources and quality policy.

    Renderer::draw_transformed_quality_pixmap_rect_cached

    fn Renderer::draw_transformed_quality_pixmap_rect_cached(self : Renderer, pixmap :
    Pixmap
    , src_rect :
    PixelRect
    , x : Double, y : Double, width : Double, height : Double, image_cache :
    PixmapCache
    , image_key : String, paint :
    Paint
    , quality :
    ImageQuality
    ) -> CachedPixmapDrawResult

    Draw a transformed image source rectangle through a caller-owned pixmap cache and quality policy.

    Renderer::draw_transformed_quality_pixmap_rect_cached_with_renderer_resources

    fn Renderer::draw_transformed_quality_pixmap_rect_cached_with_renderer_resources(self : Renderer, pixmap :
    Pixmap
    , src_rect :
    PixelRect
    , x : Double, y : Double, width : Double, height : Double, resources : RendererResources, image_key : String, paint :
    Paint
    , quality :
    ImageQuality
    ) -> CachedPixmapDrawResult

    Draw a transformed image source rectangle through renderer-owned resources and quality policy.

    Renderer::draw_transformed_quality_png_bytes_cached

    fn Renderer::draw_transformed_quality_png_bytes_cached(self : Renderer, image_data : Bytes, x : Double, y : Double, width : Double, height : Double, image_cache :
    PixmapCache
    , image_key : String, paint :
    Paint
    , quality :
    ImageQuality
    ) -> Result[CachedPngPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode PNG bytes through a pixmap cache and draw a transformed image with a quality policy.

    Renderer::draw_transformed_quality_png_bytes_cached_with_renderer_resources

    fn Renderer::draw_transformed_quality_png_bytes_cached_with_renderer_resources(self : Renderer, image_data : Bytes, x : Double, y : Double, width : Double, height : Double, resources : RendererResources, image_key : String, paint :
    Paint
    , quality :
    ImageQuality
    ) -> Result[CachedPngPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode PNG bytes through renderer-owned resources and draw a transformed image with a quality policy.

    Renderer::draw_transformed_quality_png_bytes_rect_cached

    fn Renderer::draw_transformed_quality_png_bytes_rect_cached(self : Renderer, image_data : Bytes, src_rect :
    PixelRect
    , x : Double, y : Double, width : Double, height : Double, image_cache :
    PixmapCache
    , image_key : String, paint :
    Paint
    , quality :
    ImageQuality
    ) -> Result[CachedPngPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode PNG bytes through a pixmap cache and draw a transformed source rectangle with a quality policy.

    Renderer::draw_transformed_quality_png_bytes_rect_cached_with_renderer_resources

    fn Renderer::draw_transformed_quality_png_bytes_rect_cached_with_renderer_resources(self : Renderer, image_data : Bytes, src_rect :
    PixelRect
    , x : Double, y : Double, width : Double, height : Double, resources : RendererResources, image_key : String, paint :
    Paint
    , quality :
    ImageQuality
    ) -> Result[CachedPngPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode PNG bytes through renderer-owned resources and draw a transformed source rectangle with a quality policy.

    Renderer::draw_transformed_quality_rgba_bytes_cached

    fn Renderer::draw_transformed_quality_rgba_bytes_cached(self : Renderer, image_data : Bytes, image_width : Int, image_height : Int, x : Double, y : Double, width : Double, height : Double, image_cache :
    PixmapCache
    , image_key : String, paint :
    Paint
    , quality :
    ImageQuality
    ) -> Result[CachedRgbaPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode raw RGBA bytes through a pixmap cache and draw a transformed image with a quality policy.

    Renderer::draw_transformed_quality_rgba_bytes_cached_with_renderer_resources

    fn Renderer::draw_transformed_quality_rgba_bytes_cached_with_renderer_resources(self : Renderer, image_data : Bytes, image_width : Int, image_height : Int, x : Double, y : Double, width : Double, height : Double, resources : RendererResources, image_key : String, paint :
    Paint
    , quality :
    ImageQuality
    ) -> Result[CachedRgbaPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode raw RGBA bytes through renderer-owned resources and draw a transformed image with a quality policy.

    Renderer::draw_transformed_quality_rgba_bytes_rect_cached

    fn Renderer::draw_transformed_quality_rgba_bytes_rect_cached(self : Renderer, image_data : Bytes, image_width : Int, image_height : Int, src_rect :
    PixelRect
    , x : Double, y : Double, width : Double, height : Double, image_cache :
    PixmapCache
    , image_key : String, paint :
    Paint
    , quality :
    ImageQuality
    ) -> Result[CachedRgbaPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode raw RGBA bytes through a pixmap cache and draw a transformed source rectangle with a quality policy.

    Renderer::draw_transformed_quality_rgba_bytes_rect_cached_with_renderer_resources

    fn Renderer::draw_transformed_quality_rgba_bytes_rect_cached_with_renderer_resources(self : Renderer, image_data : Bytes, image_width : Int, image_height : Int, src_rect :
    PixelRect
    , x : Double, y : Double, width : Double, height : Double, resources : RendererResources, image_key : String, paint :
    Paint
    , quality :
    ImageQuality
    ) -> Result[CachedRgbaPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode raw RGBA bytes through renderer-owned resources and draw a transformed source rectangle with a quality policy.

    Renderer::draw_transformed_sampled_bmp_bytes_cached

    fn Renderer::draw_transformed_sampled_bmp_bytes_cached(self : Renderer, image_data : Bytes, x : Double, y : Double, width : Double, height : Double, image_cache :
    PixmapCache
    , image_key : String, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> Result[CachedBmpPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode BMP bytes through a pixmap cache and draw a transformed sampled image.

    Renderer::draw_transformed_sampled_bmp_bytes_cached_with_renderer_resources

    fn Renderer::draw_transformed_sampled_bmp_bytes_cached_with_renderer_resources(self : Renderer, image_data : Bytes, x : Double, y : Double, width : Double, height : Double, resources : RendererResources, image_key : String, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> Result[CachedBmpPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode BMP bytes through renderer-owned resources and draw a transformed sampled image.

    Renderer::draw_transformed_sampled_bmp_bytes_rect_cached

    fn Renderer::draw_transformed_sampled_bmp_bytes_rect_cached(self : Renderer, image_data : Bytes, src_rect :
    PixelRect
    , x : Double, y : Double, width : Double, height : Double, image_cache :
    PixmapCache
    , image_key : String, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> Result[CachedBmpPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode BMP bytes through a pixmap cache and draw a transformed sampled source rectangle.

    Renderer::draw_transformed_sampled_bmp_bytes_rect_cached_with_renderer_resources

    fn Renderer::draw_transformed_sampled_bmp_bytes_rect_cached_with_renderer_resources(self : Renderer, image_data : Bytes, src_rect :
    PixelRect
    , x : Double, y : Double, width : Double, height : Double, resources : RendererResources, image_key : String, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> Result[CachedBmpPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode BMP bytes through renderer-owned resources and draw a transformed sampled source rectangle.

    Renderer::draw_transformed_sampled_pixmap_cached

    fn Renderer::draw_transformed_sampled_pixmap_cached(self : Renderer, pixmap :
    Pixmap
    , x : Double, y : Double, width : Double, height : Double, image_cache :
    PixmapCache
    , image_key : String, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> CachedPixmapDrawResult

    Draw a transformed sampled image through a caller-owned pixmap cache.

    Renderer::draw_transformed_sampled_pixmap_cached_with_renderer_resources

    fn Renderer::draw_transformed_sampled_pixmap_cached_with_renderer_resources(self : Renderer, pixmap :
    Pixmap
    , x : Double, y : Double, width : Double, height : Double, resources : RendererResources, image_key : String, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> CachedPixmapDrawResult

    Draw a transformed sampled image through renderer-owned resources.

    Renderer::draw_transformed_sampled_pixmap_rect_cached

    fn Renderer::draw_transformed_sampled_pixmap_rect_cached(self : Renderer, pixmap :
    Pixmap
    , src_rect :
    PixelRect
    , x : Double, y : Double, width : Double, height : Double, image_cache :
    PixmapCache
    , image_key : String, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> CachedPixmapDrawResult

    Draw a transformed sampled source rectangle through a caller-owned pixmap cache.

    Renderer::draw_transformed_sampled_pixmap_rect_cached_with_renderer_resources

    fn Renderer::draw_transformed_sampled_pixmap_rect_cached_with_renderer_resources(self : Renderer, pixmap :
    Pixmap
    , src_rect :
    PixelRect
    , x : Double, y : Double, width : Double, height : Double, resources : RendererResources, image_key : String, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> CachedPixmapDrawResult

    Draw a transformed sampled source rectangle through renderer-owned resources.

    Renderer::draw_transformed_sampled_png_bytes_cached

    fn Renderer::draw_transformed_sampled_png_bytes_cached(self : Renderer, image_data : Bytes, x : Double, y : Double, width : Double, height : Double, image_cache :
    PixmapCache
    , image_key : String, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> Result[CachedPngPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode PNG bytes through a pixmap cache and draw a transformed sampled image.

    Renderer::draw_transformed_sampled_png_bytes_cached_with_renderer_resources

    fn Renderer::draw_transformed_sampled_png_bytes_cached_with_renderer_resources(self : Renderer, image_data : Bytes, x : Double, y : Double, width : Double, height : Double, resources : RendererResources, image_key : String, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> Result[CachedPngPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode PNG bytes through renderer-owned resources and draw a transformed sampled image.

    Renderer::draw_transformed_sampled_png_bytes_rect_cached

    fn Renderer::draw_transformed_sampled_png_bytes_rect_cached(self : Renderer, image_data : Bytes, src_rect :
    PixelRect
    , x : Double, y : Double, width : Double, height : Double, image_cache :
    PixmapCache
    , image_key : String, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> Result[CachedPngPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode PNG bytes through a pixmap cache and draw a transformed sampled source rectangle.

    Renderer::draw_transformed_sampled_png_bytes_rect_cached_with_renderer_resources

    fn Renderer::draw_transformed_sampled_png_bytes_rect_cached_with_renderer_resources(self : Renderer, image_data : Bytes, src_rect :
    PixelRect
    , x : Double, y : Double, width : Double, height : Double, resources : RendererResources, image_key : String, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> Result[CachedPngPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode PNG bytes through renderer-owned resources and draw a transformed sampled source rectangle.

    Renderer::draw_transformed_sampled_rgba_bytes_cached

    fn Renderer::draw_transformed_sampled_rgba_bytes_cached(self : Renderer, image_data : Bytes, image_width : Int, image_height : Int, x : Double, y : Double, width : Double, height : Double, image_cache :
    PixmapCache
    , image_key : String, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> Result[CachedRgbaPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode raw RGBA bytes through a pixmap cache and draw a transformed sampled image.

    Renderer::draw_transformed_sampled_rgba_bytes_cached_with_renderer_resources

    fn Renderer::draw_transformed_sampled_rgba_bytes_cached_with_renderer_resources(self : Renderer, image_data : Bytes, image_width : Int, image_height : Int, x : Double, y : Double, width : Double, height : Double, resources : RendererResources, image_key : String, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> Result[CachedRgbaPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode raw RGBA bytes through renderer-owned resources and draw a transformed sampled image.

    Renderer::draw_transformed_sampled_rgba_bytes_rect_cached

    fn Renderer::draw_transformed_sampled_rgba_bytes_rect_cached(self : Renderer, image_data : Bytes, image_width : Int, image_height : Int, src_rect :
    PixelRect
    , x : Double, y : Double, width : Double, height : Double, image_cache :
    PixmapCache
    , image_key : String, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> Result[CachedRgbaPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode raw RGBA bytes through a pixmap cache and draw a transformed sampled source rectangle.

    Renderer::draw_transformed_sampled_rgba_bytes_rect_cached_with_renderer_resources

    fn Renderer::draw_transformed_sampled_rgba_bytes_rect_cached_with_renderer_resources(self : Renderer, image_data : Bytes, image_width : Int, image_height : Int, src_rect :
    PixelRect
    , x : Double, y : Double, width : Double, height : Double, resources : RendererResources, image_key : String, paint :
    Paint
    , sampling :
    ImageSampling
    ) -> Result[CachedRgbaPixmapDrawResult,
    PixmapDecodeError
    ]

    Decode raw RGBA bytes through renderer-owned resources and draw a transformed sampled source rectangle.

    Renderer::get_canvas

    Get the renderer canvas.

    Renderer::new

    Create a renderer around an existing canvas.

    Renderer::plan_pipeline_batches

    fn Renderer::plan_pipeline_batches(self : Renderer, pipeline : RenderPipeline) -> RenderPipelineBatchPlan

    Build a scheduler-facing batch plan against this renderer's canvas size.

    Renderer::plan_pipeline_resources

    fn Renderer::plan_pipeline_resources(self : Renderer, pipeline : RenderPipeline) -> RenderPipelineResourcePlan

    Pre-resolve image and parsed-font text resource uses for a pipeline.

    Renderer::to_repr

    RendererResources

    Caller-owned renderer resources shared across GUI text and image draws.

    RendererResources::clear

    fn RendererResources::clear(self : RendererResources) -> Unit

    Drop all cached font faces, text masks, glyph masks, atlas entries, and image pixmaps.

    RendererResources::contains_font_face

    fn RendererResources::contains_font_face(self : RendererResources, key : String) -> Bool

    Return whether these resources have a parsed font face for this key.

    RendererResources::contains_glyph_mask

    fn RendererResources::contains_glyph_mask(self : RendererResources, key : String) -> Bool

    Return whether these resources have a rendered glyph mask for this key.

    RendererResources::contains_image

    fn RendererResources::contains_image(self : RendererResources, key : String) -> Bool

    Return whether these resources have an image pixmap for this key.

    RendererResources::contains_text_mask

    fn RendererResources::contains_text_mask(self : RendererResources, key : String) -> Bool

    Return whether these resources have a rendered text mask for this key.

    RendererResources::get_font_face_cache

    Get the reusable checked font-face cache.

    RendererResources::get_glyph_mask_atlas

    Get the reusable glyph mask atlas.

    RendererResources::get_glyph_mask_cache

    Get the reusable glyph mask cache.

    RendererResources::get_image_cache

    Get the reusable image pixmap cache.

    RendererResources::get_text_mask_cache

    Get the reusable rendered text-mask cache.

    RendererResources::get_text_resources

    Get the reusable text rendering resources.

    RendererResources::new

    fn RendererResources::new(atlas_width : Int, atlas_height : Int) -> RendererResources

    Create renderer resources with unbounded font, text, and image caches.

    RendererResources::snapshot

    Return a compact snapshot of renderer-wide resource telemetry.

    RendererResources::with_capacities

    fn RendererResources::with_capacities(atlas_width : Int, atlas_height : Int, text_mask_capacity : Int, glyph_mask_capacity : Int, image_capacity : Int) -> RendererResources

    Create renderer resources with bounded text and image caches.

    RendererResources::with_font_capacity

    fn RendererResources::with_font_capacity(atlas_width : Int, atlas_height : Int, font_face_capacity : Int, text_mask_capacity : Int, glyph_mask_capacity : Int, image_capacity : Int) -> RendererResources

    Create renderer resources with bounded font, text, and image caches.

    RendererResourcesSnapshot

    pub struct RendererResourcesSnapshot {
    font_face_count : Int
    font_face_capacity : Int
    font_face_is_bounded : Bool
    text_snapshot : RendererTextResourcesSnapshot
    image_count : Int
    image_capacity : Int
    image_is_bounded : Bool
    } derive(
    Debug
    )

    Snapshot of renderer-wide resource cache state.

    RendererResourcesSnapshot::get_font_face_capacity

    fn RendererResourcesSnapshot::get_font_face_capacity(self : RendererResourcesSnapshot) -> Int

    Return the font-face cache capacity, or 0 for unbounded caches.

    RendererResourcesSnapshot::get_font_face_count

    fn RendererResourcesSnapshot::get_font_face_count(self : RendererResourcesSnapshot) -> Int

    Return the number of cached font faces in this snapshot.

    RendererResourcesSnapshot::get_image_capacity

    fn RendererResourcesSnapshot::get_image_capacity(self : RendererResourcesSnapshot) -> Int

    Return the image cache capacity, or 0 for unbounded caches.

    RendererResourcesSnapshot::get_image_count

    fn RendererResourcesSnapshot::get_image_count(self : RendererResourcesSnapshot) -> Int

    Return the number of cached image pixmaps in this snapshot.

    RendererResourcesSnapshot::get_text_snapshot

    Return the nested text-resource snapshot.

    RendererResourcesSnapshot::is_font_face_capacity_bounded

    fn RendererResourcesSnapshot::is_font_face_capacity_bounded(self : RendererResourcesSnapshot) -> Bool

    Return whether the font-face cache has an entry limit.

    RendererResourcesSnapshot::is_image_capacity_bounded

    fn RendererResourcesSnapshot::is_image_capacity_bounded(self : RendererResourcesSnapshot) -> Bool

    Return whether the image cache has an entry limit.

    RendererTextResources

    Caller-owned text rendering resources shared across renderer text draws.

    RendererTextResources::clear

    Drop all cached text masks, glyph masks, and atlas entries.

    RendererTextResources::contains_glyph_mask

    fn RendererTextResources::contains_glyph_mask(self : RendererTextResources, key : String) -> Bool

    Return whether these text resources have a rendered glyph mask for this key.

    RendererTextResources::contains_text_mask

    fn RendererTextResources::contains_text_mask(self : RendererTextResources, key : String) -> Bool

    Return whether these text resources have a rendered text mask for this key.

    RendererTextResources::get_glyph_mask_atlas

    Get the reusable glyph mask atlas.

    RendererTextResources::get_glyph_mask_cache

    Get the reusable glyph mask cache.

    RendererTextResources::get_text_mask_cache

    Get the reusable rendered text-mask cache.

    RendererTextResources::new

    fn RendererTextResources::new(atlas_width : Int, atlas_height : Int) -> RendererTextResources

    Create text resources with unbounded text/glyph caches and a glyph atlas.

    RendererTextResources::snapshot

    Return a compact snapshot of text cache and glyph atlas telemetry.

    RendererTextResources::with_capacities

    fn RendererTextResources::with_capacities(atlas_width : Int, atlas_height : Int, text_mask_capacity : Int, glyph_mask_capacity : Int) -> RendererTextResources

    Create text resources with bounded text/glyph caches and a glyph atlas.

    RendererTextResourcesSnapshot

    pub struct RendererTextResourcesSnapshot {
    text_mask_count : Int
    text_mask_capacity : Int
    text_mask_is_bounded : Bool
    glyph_mask_count : Int
    glyph_mask_capacity : Int
    glyph_mask_is_bounded : Bool
    atlas_entry_count : Int
    atlas_width : Int
    atlas_height : Int
    atlas_capacity : Int
    atlas_used_pixel_count : Int
    atlas_free_pixel_count : Int
    atlas_occupancy_ratio : Double
    } derive(
    Debug
    )

    Snapshot of renderer text resource cache and atlas state.

    RendererTextResourcesSnapshot::get_atlas_capacity

    fn RendererTextResourcesSnapshot::get_atlas_capacity(self : RendererTextResourcesSnapshot) -> Int

    Return the total glyph atlas pixel capacity.

    RendererTextResourcesSnapshot::get_atlas_entry_count

    fn RendererTextResourcesSnapshot::get_atlas_entry_count(self : RendererTextResourcesSnapshot) -> Int

    Return the number of placed glyph atlas entries.

    RendererTextResourcesSnapshot::get_atlas_free_pixel_count

    fn RendererTextResourcesSnapshot::get_atlas_free_pixel_count(self : RendererTextResourcesSnapshot) -> Int

    Return the number of glyph atlas pixels still free.

    RendererTextResourcesSnapshot::get_atlas_height

    Return the glyph atlas height.

    RendererTextResourcesSnapshot::get_atlas_occupancy_ratio

    fn RendererTextResourcesSnapshot::get_atlas_occupancy_ratio(self : RendererTextResourcesSnapshot) -> Double

    Return used atlas pixels divided by atlas capacity.

    RendererTextResourcesSnapshot::get_atlas_used_pixel_count

    fn RendererTextResourcesSnapshot::get_atlas_used_pixel_count(self : RendererTextResourcesSnapshot) -> Int

    Return the number of glyph atlas pixels currently occupied.

    RendererTextResourcesSnapshot::get_atlas_width

    Return the glyph atlas width.

    RendererTextResourcesSnapshot::get_glyph_mask_capacity

    fn RendererTextResourcesSnapshot::get_glyph_mask_capacity(self : RendererTextResourcesSnapshot) -> Int

    Return the glyph-mask cache capacity, or 0 for unbounded caches.

    RendererTextResourcesSnapshot::get_glyph_mask_count

    fn RendererTextResourcesSnapshot::get_glyph_mask_count(self : RendererTextResourcesSnapshot) -> Int

    Return the number of cached glyph masks in this snapshot.

    RendererTextResourcesSnapshot::get_text_mask_capacity

    fn RendererTextResourcesSnapshot::get_text_mask_capacity(self : RendererTextResourcesSnapshot) -> Int

    Return the text-mask cache capacity, or 0 for unbounded caches.

    RendererTextResourcesSnapshot::get_text_mask_count

    fn RendererTextResourcesSnapshot::get_text_mask_count(self : RendererTextResourcesSnapshot) -> Int

    Return the number of cached text masks in this snapshot.

    RendererTextResourcesSnapshot::is_glyph_mask_capacity_bounded

    fn RendererTextResourcesSnapshot::is_glyph_mask_capacity_bounded(self : RendererTextResourcesSnapshot) -> Bool

    Return whether the glyph-mask cache has an entry limit.

    RendererTextResourcesSnapshot::is_text_mask_capacity_bounded

    fn RendererTextResourcesSnapshot::is_text_mask_capacity_bounded(self : RendererTextResourcesSnapshot) -> Bool

    Return whether the text-mask cache has an entry limit.

    TextAtlasDrawResult

    pub struct TextAtlasDrawResult {
    glyph_count : Int
    drawn_glyph_count : Int
    skipped_glyph_count : Int
    cache_hit_count : Int
    rasterized_glyph_count : Int
    atlas_hit_count : Int
    atlas_inserted_count : Int
    did_clear_atlas : Bool
    } derive(
    Debug
    )

    Result of drawing text through glyph-mask cache and atlas resources.

    TextAtlasDrawResult::did_clear_atlas

    fn TextAtlasDrawResult::did_clear_atlas(self : TextAtlasDrawResult) -> Bool

    Return whether the atlas was cleared while drawing this text.

    TextAtlasDrawResult::get_atlas_hit_count

    fn TextAtlasDrawResult::get_atlas_hit_count(self : TextAtlasDrawResult) -> Int

    Return the number of glyph placements reused from the atlas.

    TextAtlasDrawResult::get_atlas_inserted_count

    fn TextAtlasDrawResult::get_atlas_inserted_count(self : TextAtlasDrawResult) -> Int

    Return the number of glyph placements newly inserted into the atlas.

    TextAtlasDrawResult::get_cache_hit_count

    fn TextAtlasDrawResult::get_cache_hit_count(self : TextAtlasDrawResult) -> Int

    Return the number of drawable glyphs reused from the glyph mask cache.

    TextAtlasDrawResult::get_drawn_glyph_count

    fn TextAtlasDrawResult::get_drawn_glyph_count(self : TextAtlasDrawResult) -> Int

    Return the number of glyphs composited from the atlas.

    TextAtlasDrawResult::get_glyph_count

    fn TextAtlasDrawResult::get_glyph_count(self : TextAtlasDrawResult) -> Int

    Return the number of layout glyphs visited by an atlas text draw.

    TextAtlasDrawResult::get_rasterized_glyph_count

    fn TextAtlasDrawResult::get_rasterized_glyph_count(self : TextAtlasDrawResult) -> Int

    Return the number of glyph masks rasterized on cache miss.

    TextAtlasDrawResult::get_skipped_glyph_count

    fn TextAtlasDrawResult::get_skipped_glyph_count(self : TextAtlasDrawResult) -> Int

    Return the number of layout glyphs that could not be drawn through the atlas.

    TextFallbackAtlasDrawResult

    pub struct TextFallbackAtlasDrawResult {
    plan :
    FontFallbackPlan

    drawn_span_count : Int
    skipped_span_count : Int
    advance_width : Double
    atlas_result : TextAtlasDrawResult
    } derive(
    Debug
    )

    Result of drawing one fallback line through glyph-mask cache and atlas resources.

    TextFallbackAtlasDrawResult::did_clear_atlas

    fn TextFallbackAtlasDrawResult::did_clear_atlas(self : TextFallbackAtlasDrawResult) -> Bool

    Return whether the atlas was cleared while drawing this fallback line.

    TextFallbackAtlasDrawResult::get_advance_width

    fn TextFallbackAtlasDrawResult::get_advance_width(self : TextFallbackAtlasDrawResult) -> Double

    Return the horizontal advance consumed by the fallback atlas draw.

    TextFallbackAtlasDrawResult::get_atlas_hit_count

    fn TextFallbackAtlasDrawResult::get_atlas_hit_count(self : TextFallbackAtlasDrawResult) -> Int

    Return the number of glyph placements reused from the atlas.

    TextFallbackAtlasDrawResult::get_atlas_inserted_count

    fn TextFallbackAtlasDrawResult::get_atlas_inserted_count(self : TextFallbackAtlasDrawResult) -> Int

    Return the number of glyph placements newly inserted into the atlas.

    TextFallbackAtlasDrawResult::get_atlas_result

    Return the underlying glyph-atlas draw result.

    TextFallbackAtlasDrawResult::get_cache_hit_count

    fn TextFallbackAtlasDrawResult::get_cache_hit_count(self : TextFallbackAtlasDrawResult) -> Int

    Return the number of drawable glyphs reused from the glyph mask cache.

    TextFallbackAtlasDrawResult::get_drawn_glyph_count

    fn TextFallbackAtlasDrawResult::get_drawn_glyph_count(self : TextFallbackAtlasDrawResult) -> Int

    Return the number of glyphs composited from the atlas.

    TextFallbackAtlasDrawResult::get_drawn_span_count

    fn TextFallbackAtlasDrawResult::get_drawn_span_count(self : TextFallbackAtlasDrawResult) -> Int

    Return the number of fallback spans drawn with a covering face.

    TextFallbackAtlasDrawResult::get_glyph_count

    fn TextFallbackAtlasDrawResult::get_glyph_count(self : TextFallbackAtlasDrawResult) -> Int

    Return the number of layout glyphs visited by covered fallback spans.

    TextFallbackAtlasDrawResult::get_missing_char_count

    fn TextFallbackAtlasDrawResult::get_missing_char_count(self : TextFallbackAtlasDrawResult) -> Int

    Return the number of text scalars not covered by any fallback face.

    TextFallbackAtlasDrawResult::get_missing_span_count

    fn TextFallbackAtlasDrawResult::get_missing_span_count(self : TextFallbackAtlasDrawResult) -> Int

    Return the number of missing-glyph spans skipped by this atlas draw.

    TextFallbackAtlasDrawResult::get_plan

    Get the fallback plan used by this atlas draw.

    TextFallbackAtlasDrawResult::get_rasterized_glyph_count

    fn TextFallbackAtlasDrawResult::get_rasterized_glyph_count(self : TextFallbackAtlasDrawResult) -> Int

    Return the number of glyph masks rasterized on cache miss.

    TextFallbackAtlasDrawResult::get_skipped_glyph_count

    fn TextFallbackAtlasDrawResult::get_skipped_glyph_count(self : TextFallbackAtlasDrawResult) -> Int

    Return the number of layout glyphs that could not be drawn through the atlas.

    TextFallbackAtlasDrawResult::get_skipped_span_count

    fn TextFallbackAtlasDrawResult::get_skipped_span_count(self : TextFallbackAtlasDrawResult) -> Int

    Return the number of missing-glyph spans skipped by this atlas draw.

    TextFallbackAtlasDrawResult::get_span_count

    Return the number of fallback spans visited by this atlas draw.

    TextFallbackAtlasDrawResult::has_missing_glyphs

    fn TextFallbackAtlasDrawResult::has_missing_glyphs(self : TextFallbackAtlasDrawResult) -> Bool

    Return whether this atlas draw skipped at least one missing glyph span.

    TextFallbackDrawResult

    pub struct TextFallbackDrawResult {
    plan :
    FontFallbackPlan

    drawn_span_count : Int
    skipped_span_count : Int
    rendered_mask_count : Int
    cache_hit_count : Int
    advance_width : Double
    } derive(
    Debug
    )

    Result of drawing a single line through an ordered font fallback stack.

    TextFallbackDrawResult::get_advance_width

    fn TextFallbackDrawResult::get_advance_width(self : TextFallbackDrawResult) -> Double

    Return the horizontal advance consumed by the fallback line draw.

    TextFallbackDrawResult::get_cache_hit_count

    fn TextFallbackDrawResult::get_cache_hit_count(self : TextFallbackDrawResult) -> Int

    Return the number of fallback spans reused from a text-mask cache.

    TextFallbackDrawResult::get_drawn_span_count

    fn TextFallbackDrawResult::get_drawn_span_count(self : TextFallbackDrawResult) -> Int

    Return the number of fallback spans drawn with a covering face.

    TextFallbackDrawResult::get_missing_char_count

    fn TextFallbackDrawResult::get_missing_char_count(self : TextFallbackDrawResult) -> Int

    Return the number of text scalars not covered by any fallback face.

    TextFallbackDrawResult::get_missing_span_count

    fn TextFallbackDrawResult::get_missing_span_count(self : TextFallbackDrawResult) -> Int

    Return the number of missing-glyph spans skipped by this draw.

    TextFallbackDrawResult::get_plan

    Get the fallback plan used by this draw.

    TextFallbackDrawResult::get_rendered_mask_count

    fn TextFallbackDrawResult::get_rendered_mask_count(self : TextFallbackDrawResult) -> Int

    Return the number of fallback spans that rendered a fresh mask.

    TextFallbackDrawResult::get_skipped_span_count

    fn TextFallbackDrawResult::get_skipped_span_count(self : TextFallbackDrawResult) -> Int

    Return the number of missing-glyph spans skipped by this draw.

    TextFallbackDrawResult::get_span_count

    fn TextFallbackDrawResult::get_span_count(self : TextFallbackDrawResult) -> Int

    Return the number of fallback spans visited by this draw.

    TextFallbackDrawResult::has_missing_glyphs

    fn TextFallbackDrawResult::has_missing_glyphs(self : TextFallbackDrawResult) -> Bool

    Return whether this draw skipped at least one missing glyph span.

    TextMaskDrawResult

    pub struct TextMaskDrawResult {
    did_render_mask : Bool
    } derive(
    Debug
    )

    Result of drawing text through a caller-owned rendered text-mask cache.

    TextMaskDrawResult::did_hit_cache

    fn TextMaskDrawResult::did_hit_cache(self : TextMaskDrawResult) -> Bool

    Return whether this draw reused a rendered text mask from cache.

    TextMaskDrawResult::did_render_mask

    fn TextMaskDrawResult::did_render_mask(self : TextMaskDrawResult) -> Bool

    Return whether this draw rendered a new text mask instead of hitting cache.