Lampese/mathplotlib/drawing does not have a README file
pub struct Drawing { // private fields}
fn Drawing::height(self : Drawing) -> Int
fn Drawing::hit_test(self : Drawing, x : Double, y : Double, radius? : Double) -> HitPoint?
fn Drawing::hit_test_client(self : Drawing, client_x : Double, client_y : Double, left : Double, top : Double, width : Double, height : Double, radius? : Double) -> HitPoint?
fn Drawing::points(self : Drawing) -> Array[HitPoint]
fn Drawing::svg(self : Drawing) -> String
fn Drawing::viewport_point(self : Drawing, client_x : Double, client_y : Double, left : Double, top : Double, width : Double, height : Double) -> (Double, Double)?
fn Drawing::width(self : Drawing) -> Int
pub struct HitPoint { panel_index : Int artist_index : Int point_index : Int data_x : Double data_y : Double screen_x : Double screen_y : Double} derive(Eq, @moonbitlang/core/debug.DebugDebug)
fn HitPoint::equal(HitPoint, HitPoint) -> Bool
fn HitPoint::not_equal(x : HitPoint, y : HitPoint) -> Bool
fn HitPoint::to_repr(HitPoint) -> @moonbitlang/core/debug.ReprRepr
fn drawing(width : Int, height : Int, svg : String, points : Array[HitPoint]) -> Drawing
fn hit_point(panel_index : Int, artist_index : Int, point_index : Int, data_x : Double, data_y : Double, screen_x : Double, screen_y : Double) -> HitPoint
Install
A MoonBit plotting library with SVG output.
No dependents
Powered by MoonBit
© 2026 mooncakes.io