Skip to main content

Module software_text_raster

Module software_text_raster 

Source

Structs§

FontFamilyKey
Identity an app-supplied face was registered under.
SoftwareGlyphAtlasGlyph
SoftwareGlyphAtlasKey
SoftwareGlyphAtlasMask
SoftwareGlyphAtlasPlacement
SoftwareGlyphRasterCache
SoftwareGlyphRasterCacheStats
SoftwareTextFont
SoftwareTextFontSet
SoftwareTextMeasurer
StyledTextRef
The slice of a text payload that solid-run rasterization reads: content plus span styles. Borrowable from both an AnnotatedString (UI-side text) and a RenderString (a lowered scene’s link-handler-free view), so the run collectors serve both without copying either.

Enums§

FontBytes
The bytes a face is parsed from.
SoftwareGlyphAtlasRunGlyph
SoftwareTextFontError

Functions§

collect_cached_solid_text_atlas_placements
collect_solid_text_atlas_glyphs
collect_solid_text_atlas_run
Appends the glyphs of text that put pixels down to out: each either placed from the mask cache or rasterized into it.
cursor_x_for_offset_with_font
default_software_text_font
layout_text_with_font
measure_annotated_text_with_font
measure_annotated_text_with_font_set
measure_text_with_font
rasterize_annotated_text_region
Rasterizes an annotated paragraph into rect, preserving its original text_origin when the image covers only a clipped portion of the paragraph. Glyphs from every span share line baselines and may extend across line boxes.
rasterize_annotated_text_to_image_with_glyph_cache
rasterize_text_to_image
rasterize_text_to_image_with_font
Rasterize a raw font at its ab_glyph pixel scale with explicit style spacing. Use rasterize_text_to_image for registered font sizing and automatic tracking.
rasterize_text_to_image_with_glyph_cache
software_text_font_from_fonts_or_default
software_text_font_set_from_fonts_or_default
text_offset_for_position_with_font
try_default_software_text_font