wzzc-dev/moui_sun/renderer does not have a README file
pub struct CachedFontAtlasDrawResult {
did_parse_font : Bool
atlas_result : TextAtlasDrawResult
} derive(Debug)fn CachedFontAtlasDrawResult::get_atlas_result(self : CachedFontAtlasDrawResult) -> TextAtlasDrawResultpub struct CachedFontFallbackAtlasDrawResult {
parsed_font_count : Int
font_cache_hit_count : Int
fallback_result : TextFallbackAtlasDrawResult
} derive(Debug)fn CachedFontFallbackAtlasDrawResult::did_clear_atlas(self : CachedFontFallbackAtlasDrawResult) -> Boolfn CachedFontFallbackAtlasDrawResult::get_advance_width(self : CachedFontFallbackAtlasDrawResult) -> Doublefn CachedFontFallbackAtlasDrawResult::get_atlas_hit_count(self : CachedFontFallbackAtlasDrawResult) -> Intfn CachedFontFallbackAtlasDrawResult::get_atlas_inserted_count(self : CachedFontFallbackAtlasDrawResult) -> Intfn CachedFontFallbackAtlasDrawResult::get_atlas_result(self : CachedFontFallbackAtlasDrawResult) -> TextAtlasDrawResultfn CachedFontFallbackAtlasDrawResult::get_cache_hit_count(self : CachedFontFallbackAtlasDrawResult) -> Intfn CachedFontFallbackAtlasDrawResult::get_drawn_glyph_count(self : CachedFontFallbackAtlasDrawResult) -> Intfn CachedFontFallbackAtlasDrawResult::get_drawn_span_count(self : CachedFontFallbackAtlasDrawResult) -> Intfn CachedFontFallbackAtlasDrawResult::get_fallback_result(self : CachedFontFallbackAtlasDrawResult) -> TextFallbackAtlasDrawResultfn CachedFontFallbackAtlasDrawResult::get_font_cache_hit_count(self : CachedFontFallbackAtlasDrawResult) -> Intfn CachedFontFallbackAtlasDrawResult::get_glyph_count(self : CachedFontFallbackAtlasDrawResult) -> Intfn CachedFontFallbackAtlasDrawResult::get_missing_char_count(self : CachedFontFallbackAtlasDrawResult) -> Intfn CachedFontFallbackAtlasDrawResult::get_missing_span_count(self : CachedFontFallbackAtlasDrawResult) -> Intfn CachedFontFallbackAtlasDrawResult::get_parsed_font_count(self : CachedFontFallbackAtlasDrawResult) -> Intfn CachedFontFallbackAtlasDrawResult::get_rasterized_glyph_count(self : CachedFontFallbackAtlasDrawResult) -> Intfn CachedFontFallbackAtlasDrawResult::get_skipped_glyph_count(self : CachedFontFallbackAtlasDrawResult) -> Intfn CachedFontFallbackAtlasDrawResult::get_skipped_span_count(self : CachedFontFallbackAtlasDrawResult) -> Intfn CachedFontFallbackAtlasDrawResult::get_span_count(self : CachedFontFallbackAtlasDrawResult) -> Intfn CachedFontFallbackAtlasDrawResult::has_missing_glyphs(self : CachedFontFallbackAtlasDrawResult) -> Boolpub struct CachedFontFallbackDrawResult {
parsed_font_count : Int
font_cache_hit_count : Int
fallback_result : TextFallbackDrawResult
} derive(Debug)fn CachedFontFallbackDrawResult::get_fallback_result(self : CachedFontFallbackDrawResult) -> TextFallbackDrawResultfn CachedFontFallbackDrawResult::get_font_cache_hit_count(self : CachedFontFallbackDrawResult) -> Intfn CachedFontFallbackDrawResult::get_rendered_mask_count(self : CachedFontFallbackDrawResult) -> Intfn CachedFontFallbackDrawResult::get_text_cache_hit_count(self : CachedFontFallbackDrawResult) -> Intpub struct CachedFontTextDrawResult {
did_parse_font : Bool
text_result : TextMaskDrawResult
} derive(Debug)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)fn RenderPipeline::analyze(self : RenderPipeline, width : Int, height : Int) -> RenderPipelineAnalysisfn RenderPipeline::batch_plan(self : RenderPipeline, width : Int, height : Int) -> RenderPipelineBatchPlanfn RenderPipeline::diff(previous : RenderPipeline, next : RenderPipeline, width : Int, height : Int) -> RenderPipelineDiffResultfn RenderPipeline::dirty_present_plan(self : RenderPipeline, width : Int, height : Int, max_rects : Int) -> DirtyPresentPlanfn RenderPipeline::draw_bmp_bytes_keyed(self : RenderPipeline, resource_key : String, image_data : Bytes, x : Int, y : Int, paint : Paint) -> RenderPipelinefn RenderPipeline::draw_bmp_bytes_rect_keyed(self : RenderPipeline, resource_key : String, image_data : Bytes, src_rect : PixelRect, x : Int, y : Int, paint : Paint) -> RenderPipelinefn 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) -> RenderPipelinefn 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) -> RenderPipelinefn 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) -> RenderPipelinefn 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) -> RenderPipelinefn 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) -> RenderPipelinefn 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) -> RenderPipelinefn 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) -> RenderPipelinefn RenderPipeline::draw_loaded_font_keyed(self : RenderPipeline, font_key : String, text_key : String, text : String, x : Double, y : Double, config : LayoutConfig, paint : Paint) -> RenderPipelinefn 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) -> RenderPipelinefn 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) -> RenderPipelinefn 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) -> RenderPipelinefn RenderPipeline::draw_pixmap(self : RenderPipeline, pixmap : Pixmap, x : Int, y : Int, paint : Paint) -> RenderPipelinefn RenderPipeline::draw_pixmap_keyed(self : RenderPipeline, resource_key : String, pixmap : Pixmap, x : Int, y : Int, paint : Paint) -> RenderPipelinefn RenderPipeline::draw_pixmap_rect(self : RenderPipeline, pixmap : Pixmap, src_rect : PixelRect, x : Int, y : Int, paint : Paint) -> RenderPipelinefn RenderPipeline::draw_pixmap_rect_keyed(self : RenderPipeline, resource_key : String, pixmap : Pixmap, src_rect : PixelRect, x : Int, y : Int, paint : Paint) -> RenderPipelinefn RenderPipeline::draw_png_bytes_keyed(self : RenderPipeline, resource_key : String, image_data : Bytes, x : Int, y : Int, paint : Paint) -> RenderPipelinefn RenderPipeline::draw_png_bytes_rect_keyed(self : RenderPipeline, resource_key : String, image_data : Bytes, src_rect : PixelRect, x : Int, y : Int, paint : Paint) -> RenderPipelinefn 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) -> RenderPipelinefn 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) -> RenderPipelinefn 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) -> RenderPipelinefn 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) -> RenderPipelinefn 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) -> RenderPipelinefn 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) -> RenderPipelinefn 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) -> RenderPipelinefn 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) -> RenderPipelinefn 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) -> RenderPipelinefn 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) -> RenderPipelinefn 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) -> RenderPipelinefn 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) -> RenderPipelinefn 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) -> RenderPipelinefn 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) -> RenderPipelinefn RenderPipeline::draw_text_face(self : RenderPipeline, face : FontFace, text : String, x : Double, y : Double, config : LayoutConfig, paint : Paint) -> RenderPipelinefn RenderPipeline::draw_text_face_keyed(self : RenderPipeline, resource_key : String, face : FontFace, text : String, x : Double, y : Double, config : LayoutConfig, paint : Paint) -> RenderPipelinefn 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) -> RenderPipelinefn 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) -> RenderPipelinefn 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) -> RenderPipelinefn 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) -> RenderPipelinefn 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) -> RenderPipelinefn 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) -> RenderPipelinefn 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) -> RenderPipelinefn 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) -> RenderPipelinefn 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) -> RenderPipelinefn 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) -> RenderPipelinefn 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) -> RenderPipelinefn 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) -> RenderPipelinefn 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) -> RenderPipelinefn 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) -> RenderPipelinefn 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) -> RenderPipelinefn RenderPipeline::fill_rect(self : RenderPipeline, x : Double, y : Double, width : Double, height : Double, paint : Paint) -> RenderPipelinefn RenderPipeline::replay_result(self : RenderPipeline, renderer : Renderer) -> Result[RenderPipelineReplayResult, RenderPipelineReplayError]fn[L : FontLoader] RenderPipeline::replay_with_font_loader_resources_result(self : RenderPipeline, renderer : Renderer, resources : RendererResources, loader : L) -> Result[RenderPipelineResourceReplayResult, RenderPipelineResourceReplayError]fn RenderPipeline::replay_with_renderer_resources_result(self : RenderPipeline, renderer : Renderer, resources : RendererResources) -> Result[RenderPipelineResourceReplayResult, RenderPipelineResourceReplayError]fn RenderPipeline::stroke_rect(self : RenderPipeline, x : Double, y : Double, width : Double, height : Double, paint : Paint) -> RenderPipelinepub 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)fn RenderPipelineAnalysis::get_present_plan(self : RenderPipelineAnalysis, width : Int, height : Int, max_rects : Int) -> DirtyPresentPlanpub struct RenderPipelineBatch {
kind : RenderPipelineBatchKind
start_index : Int
command_count : Int
dirty_region : DirtyRegion
} derive(Debug)fn RenderPipelineBatch::get_present_plan(self : RenderPipelineBatch, width : Int, height : Int, max_rects : Int) -> DirtyPresentPlanfn RenderPipelineBatchKind::not_equal(x : RenderPipelineBatchKind, y : RenderPipelineBatchKind) -> Boolpub struct RenderPipelineBatchPlan {
command_count : Int
batches : Array[RenderPipelineBatch]
dirty_region : DirtyRegion
} derive(Debug)fn RenderPipelineBatchPlan::get_batches(self : RenderPipelineBatchPlan) -> Array[RenderPipelineBatch]fn RenderPipelineBatchPlan::get_present_plan(self : RenderPipelineBatchPlan, width : Int, height : Int, max_rects : Int) -> DirtyPresentPlanpub 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)fn RenderPipelineDiffResult::get_present_plan(self : RenderPipelineDiffResult, width : Int, height : Int, max_rects : Int) -> DirtyPresentPlanpub struct RenderPipelineFontDependency {
command_index : Int
font_key : String
font_byte_count : Int
} derive(Debug)pub struct RenderPipelineImageDependency {
command_index : Int
resource_key : String?
source_width : Int
source_height : Int
source_pixel_count : Int
} derive(Debug)fn RenderPipelineImageDependency::get_source_pixel_count(self : RenderPipelineImageDependency) -> Intpub(all) enum RenderPipelineReplayError {
ImageDecodeFailed(String, PixmapDecodeError)
FontParseFailed(String, FontParseError)
FontLoaderRequired(String)
} derive(Eq, Debug)fn RenderPipelineReplayError::not_equal(x : RenderPipelineReplayError, y : RenderPipelineReplayError) -> Boolfn RenderPipelineReplayResult::equal(RenderPipelineReplayResult, RenderPipelineReplayResult) -> Boolfn RenderPipelineReplayResult::not_equal(x : RenderPipelineReplayResult, y : RenderPipelineReplayResult) -> Boolpub struct RenderPipelineResourcePlan {
command_count : Int
font_dependencies : Array[RenderPipelineFontDependency]
image_dependencies : Array[RenderPipelineImageDependency]
text_dependencies : Array[RenderPipelineTextDependency]
} derive(Debug)fn RenderPipelineResourcePlan::get_font_dependencies(self : RenderPipelineResourcePlan) -> Array[RenderPipelineFontDependency]fn RenderPipelineResourcePlan::get_image_dependencies(self : RenderPipelineResourcePlan) -> Array[RenderPipelineImageDependency]fn RenderPipelineResourcePlan::get_image_source_pixel_count(self : RenderPipelineResourcePlan) -> Intfn RenderPipelineResourcePlan::get_text_dependencies(self : RenderPipelineResourcePlan) -> Array[RenderPipelineTextDependency]pub(all) enum RenderPipelineResourceReplayError {
ImageDecodeFailed(String, PixmapDecodeError)
FontDataMissing(String)
FontFileReadFailed(String, String)
FontParseFailed(String, FontParseError)
FontLoaderRequired(String)
} derive(Eq, Debug)fn RenderPipelineResourceReplayError::not_equal(x : RenderPipelineResourceReplayError, y : RenderPipelineResourceReplayError) -> Boolpub 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)fn RenderPipelineResourceReplayResult::get_atlas_cache_hit_count(self : RenderPipelineResourceReplayResult) -> Intfn RenderPipelineResourceReplayResult::get_atlas_clear_count(self : RenderPipelineResourceReplayResult) -> Intfn RenderPipelineResourceReplayResult::get_atlas_insert_count(self : RenderPipelineResourceReplayResult) -> Intfn RenderPipelineResourceReplayResult::get_clear_count(self : RenderPipelineResourceReplayResult) -> Intfn RenderPipelineResourceReplayResult::get_command_count(self : RenderPipelineResourceReplayResult) -> Intfn RenderPipelineResourceReplayResult::get_fill_count(self : RenderPipelineResourceReplayResult) -> Intfn RenderPipelineResourceReplayResult::get_font_cache_hit_count(self : RenderPipelineResourceReplayResult) -> Intfn RenderPipelineResourceReplayResult::get_font_parse_count(self : RenderPipelineResourceReplayResult) -> Intfn RenderPipelineResourceReplayResult::get_glyph_cache_hit_count(self : RenderPipelineResourceReplayResult) -> Intfn RenderPipelineResourceReplayResult::get_glyph_mask_render_count(self : RenderPipelineResourceReplayResult) -> Intfn RenderPipelineResourceReplayResult::get_image_cache_hit_count(self : RenderPipelineResourceReplayResult) -> Intfn RenderPipelineResourceReplayResult::get_image_cache_insert_count(self : RenderPipelineResourceReplayResult) -> Intfn RenderPipelineResourceReplayResult::get_image_count(self : RenderPipelineResourceReplayResult) -> Intfn RenderPipelineResourceReplayResult::get_keyed_atlas_text_count(self : RenderPipelineResourceReplayResult) -> Intfn RenderPipelineResourceReplayResult::get_keyed_font_count(self : RenderPipelineResourceReplayResult) -> Intfn RenderPipelineResourceReplayResult::get_keyed_image_count(self : RenderPipelineResourceReplayResult) -> Intfn RenderPipelineResourceReplayResult::get_keyed_resource_count(self : RenderPipelineResourceReplayResult) -> Intfn RenderPipelineResourceReplayResult::get_keyed_text_count(self : RenderPipelineResourceReplayResult) -> Intfn RenderPipelineResourceReplayResult::get_replay_result(self : RenderPipelineResourceReplayResult) -> RenderPipelineReplayResultfn RenderPipelineResourceReplayResult::get_resource_cache_hit_count(self : RenderPipelineResourceReplayResult) -> Intfn RenderPipelineResourceReplayResult::get_resource_cache_miss_count(self : RenderPipelineResourceReplayResult) -> Intfn RenderPipelineResourceReplayResult::get_stroke_count(self : RenderPipelineResourceReplayResult) -> Intfn RenderPipelineResourceReplayResult::get_text_cache_hit_count(self : RenderPipelineResourceReplayResult) -> Intfn RenderPipelineResourceReplayResult::get_text_count(self : RenderPipelineResourceReplayResult) -> Intfn RenderPipelineResourceReplayResult::get_text_mask_render_count(self : RenderPipelineResourceReplayResult) -> Intfn RenderPipelineResourceReplayResult::not_equal(x : RenderPipelineResourceReplayResult, y : RenderPipelineResourceReplayResult) -> Boolpub 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)fn Renderer::diff_pipelines(self : Renderer, previous : RenderPipeline, next : RenderPipeline) -> RenderPipelineDiffResultfn 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]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]fn Renderer::draw_bmp_bytes_rect_cached(self : Renderer, image_data : Bytes, src_rect : PixelRect, x : Int, y : Int, image_cache : PixmapCache, image_key : String, paint : Paint) -> Result[CachedBmpPixmapDrawResult, PixmapDecodeError]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]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]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]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]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]fn Renderer::draw_glyph_atlas_entry(self : Renderer, atlas_mask : CoverageMask, entry : GlyphAtlasEntry, x : Int, y : Int, paint : Paint) -> Unitfn[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]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]fn Renderer::draw_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, sampling : ImageSampling) -> Result[CachedBmpPixmapDrawResult, PixmapDecodeError]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]fn Renderer::draw_nine_patch_pixmap_cached(self : Renderer, pixmap : Pixmap, x : Int, y : Int, width : Int, height : Int, insets : NinePatchInsets, image_cache : PixmapCache, image_key : String, paint : Paint, sampling : ImageSampling) -> CachedPixmapDrawResultfn 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) -> CachedPixmapDrawResultfn Renderer::draw_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, sampling : ImageSampling) -> Result[CachedPngPixmapDrawResult, PixmapDecodeError]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]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]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]fn Renderer::draw_pipeline_result(self : Renderer, pipeline : RenderPipeline) -> Result[RenderPipelineReplayResult, RenderPipelineReplayError]fn[L : FontLoader] Renderer::draw_pipeline_with_font_loader_resources_result(self : Renderer, pipeline : RenderPipeline, resources : RendererResources, loader : L) -> Result[RenderPipelineResourceReplayResult, RenderPipelineResourceReplayError]fn Renderer::draw_pipeline_with_renderer_resources_result(self : Renderer, pipeline : RenderPipeline, resources : RendererResources) -> Result[RenderPipelineResourceReplayResult, RenderPipelineResourceReplayError]fn Renderer::draw_pixmap_cached(self : Renderer, pixmap : Pixmap, x : Int, y : Int, image_cache : PixmapCache, image_key : String, paint : Paint) -> CachedPixmapDrawResultfn Renderer::draw_pixmap_cached_with_renderer_resources(self : Renderer, pixmap : Pixmap, x : Int, y : Int, resources : RendererResources, image_key : String, paint : Paint) -> CachedPixmapDrawResultfn Renderer::draw_pixmap_rect_cached(self : Renderer, pixmap : Pixmap, src_rect : PixelRect, x : Int, y : Int, image_cache : PixmapCache, image_key : String, paint : Paint) -> CachedPixmapDrawResultfn 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) -> CachedPixmapDrawResultfn 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]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]fn Renderer::draw_png_bytes_rect_cached(self : Renderer, image_data : Bytes, src_rect : PixelRect, x : Int, y : Int, image_cache : PixmapCache, image_key : String, paint : Paint) -> Result[CachedPngPixmapDrawResult, PixmapDecodeError]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]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]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]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]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]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]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]fn Renderer::draw_quality_nine_patch_pixmap_cached(self : Renderer, pixmap : Pixmap, x : Int, y : Int, width : Int, height : Int, insets : NinePatchInsets, image_cache : PixmapCache, image_key : String, paint : Paint, quality : ImageQuality) -> CachedPixmapDrawResultfn 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) -> CachedPixmapDrawResultfn 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]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]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]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]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) -> CachedPixmapDrawResultfn 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) -> CachedPixmapDrawResultfn 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) -> CachedPixmapDrawResultfn 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) -> CachedPixmapDrawResultfn 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]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]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]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]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]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]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]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]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]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]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]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]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]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]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]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]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) -> CachedPixmapDrawResultfn 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) -> CachedPixmapDrawResultfn Renderer::draw_sampled_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, sampling : ImageSampling) -> CachedPixmapDrawResultfn 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) -> CachedPixmapDrawResultfn 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]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]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]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]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]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]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]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]fn Renderer::draw_text_face(self : Renderer, face : FontFace, text : String, x : Double, y : Double, config : LayoutConfig, paint : Paint) -> Unitfn Renderer::draw_text_face_atlas(self : Renderer, face : FontFace, text : String, x : Double, y : Double, config : LayoutConfig, glyph_cache : GlyphMaskCache, atlas : GlyphMaskAtlas, glyph_key_prefix : String, paint : Paint) -> TextAtlasDrawResultfn 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) -> TextAtlasDrawResultfn 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) -> TextAtlasDrawResultfn 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) -> TextMaskDrawResultfn 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) -> TextMaskDrawResultfn 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) -> TextMaskDrawResultfn Renderer::draw_text_fallback_line(self : Renderer, faces : Array[FontFace], text : String, x : Double, y : Double, config : LayoutConfig, paint : Paint) -> TextFallbackDrawResultfn Renderer::draw_text_fallback_line_atlas(self : Renderer, faces : Array[FontFace], text : String, x : Double, y : Double, config : LayoutConfig, glyph_cache : GlyphMaskCache, atlas : GlyphMaskAtlas, glyph_key_prefix : String, paint : Paint) -> TextFallbackAtlasDrawResultfn 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) -> TextFallbackAtlasDrawResultfn 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) -> TextFallbackAtlasDrawResultfn 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) -> TextFallbackDrawResultfn 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) -> TextFallbackDrawResultfn 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) -> TextFallbackDrawResultfn 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]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]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) -> CachedPixmapDrawResultfn 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) -> CachedPixmapDrawResultfn 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]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]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]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]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]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]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]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]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) -> CachedPixmapDrawResultfn 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) -> CachedPixmapDrawResultfn 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) -> CachedPixmapDrawResultfn 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) -> CachedPixmapDrawResultfn 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]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]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]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]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]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]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]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]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]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]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]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]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) -> CachedPixmapDrawResultfn 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) -> CachedPixmapDrawResultfn 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) -> CachedPixmapDrawResultfn 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) -> CachedPixmapDrawResultfn 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]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]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]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]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]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]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]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]fn Renderer::plan_pipeline_batches(self : Renderer, pipeline : RenderPipeline) -> RenderPipelineBatchPlanfn Renderer::plan_pipeline_resources(self : Renderer, pipeline : RenderPipeline) -> RenderPipelineResourcePlanpub struct RendererResources {
font_cache : FontFaceCache
text : RendererTextResources
image_cache : PixmapCache
} derive(Debug)fn RendererResources::with_capacities(atlas_width : Int, atlas_height : Int, text_mask_capacity : Int, glyph_mask_capacity : Int, image_capacity : Int) -> RendererResourcesfn 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) -> RendererResourcespub 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)fn RendererResourcesSnapshot::get_text_snapshot(self : RendererResourcesSnapshot) -> RendererTextResourcesSnapshotfn RendererResourcesSnapshot::is_font_face_capacity_bounded(self : RendererResourcesSnapshot) -> Boolpub struct RendererTextResources {
text_cache : TextMaskCache
glyph_cache : GlyphMaskCache
atlas : GlyphMaskAtlas
} derive(Debug)fn RendererTextResources::with_capacities(atlas_width : Int, atlas_height : Int, text_mask_capacity : Int, glyph_mask_capacity : Int) -> RendererTextResourcespub 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)fn RendererTextResourcesSnapshot::get_atlas_entry_count(self : RendererTextResourcesSnapshot) -> Intfn RendererTextResourcesSnapshot::get_atlas_free_pixel_count(self : RendererTextResourcesSnapshot) -> Intfn RendererTextResourcesSnapshot::get_atlas_occupancy_ratio(self : RendererTextResourcesSnapshot) -> Doublefn RendererTextResourcesSnapshot::get_atlas_used_pixel_count(self : RendererTextResourcesSnapshot) -> Intfn RendererTextResourcesSnapshot::get_glyph_mask_capacity(self : RendererTextResourcesSnapshot) -> Intfn RendererTextResourcesSnapshot::get_text_mask_capacity(self : RendererTextResourcesSnapshot) -> Intfn RendererTextResourcesSnapshot::is_glyph_mask_capacity_bounded(self : RendererTextResourcesSnapshot) -> Boolfn RendererTextResourcesSnapshot::is_text_mask_capacity_bounded(self : RendererTextResourcesSnapshot) -> Boolpub 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)pub struct TextFallbackAtlasDrawResult {
plan : FontFallbackPlan
drawn_span_count : Int
skipped_span_count : Int
advance_width : Double
atlas_result : TextAtlasDrawResult
} derive(Debug)fn TextFallbackAtlasDrawResult::get_atlas_result(self : TextFallbackAtlasDrawResult) -> TextAtlasDrawResultfn TextFallbackAtlasDrawResult::get_rasterized_glyph_count(self : TextFallbackAtlasDrawResult) -> Intpub 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)Install
Download zipExperimental MoonBit-native CPU raster stack for MoUI
Dependencies