mizchi/crater-painter/x/image does not have a README file
pub(all) struct ClipRect {
x : Int
y : Int
w : Int
h : Int
}pub(all) struct Color {
r : Int
g : Int
b : Int
}fn Framebuffer::draw_char(self : Framebuffer, x : Int, y : Int, c : Char, color : Int, scale : Int) -> Intfn Framebuffer::draw_text(self : Framebuffer, x : Int, y : Int, text : String, max_width : Int, color : Int, scale : Int) -> Intfn Framebuffer::fill_rect(self : Framebuffer, x : Int, y : Int, w : Int, h : Int, color : Int) -> Unitfn Framebuffer::fill_rect_hatched(self : Framebuffer, x : Int, y : Int, w : Int, h : Int, bg_color : Int, line_color : Int, spacing : Int) -> Unitfn Framebuffer::stroke_rect(self : Framebuffer, x : Int, y : Int, w : Int, h : Int, color : Int) -> Unitpub(all) struct GlyphProvider {
get_glyph : (Int, Double, Bool) -> (Array[PathCommand], Double)
get_kern : (Int, Int, Double, Bool) -> Double
ascent_ratio : Double
get_glyph_for_family : (Int, Double, Bool, String) -> (Array[PathCommand], Double)??
get_kern_for_family : (Int, Int, Double, Bool, String) -> Double?
get_ascent_for_family : (String) -> Double?
}fn is_font_supported(c : Char) -> Boolfn render_layout_with_options(layout : Layout, width : Int, height : Int, show_box_model : Bool) -> Stringfn render_paint_node_to_framebuffer(node : PaintNode, fb : Framebuffer, palette : DynamicPalette) -> Unitfn render_paint_node_to_framebuffer_scrolled(node : PaintNode, fb : Framebuffer, palette : DynamicPalette, scroll_y : Int) -> Unitfn render_paint_node_to_sixel_scrolled(node : PaintNode, width : Int, height : Int, scroll_y : Int) -> Stringfn render_svg_scene_with_camera(scene : Scene, fb : Framebuffer, palette : DynamicPalette, camera : Camera) -> Unit