Library
Module
Module type
Parameter
Class
Class type
Picasso is an Abstract element drawing library. It handles most of the boilerplate you usually write to draw abstract elements and allows you to view those.
module Colors : sig ... end
Colors handling
module Drawable : sig ... end
Module of drawable abstractions
module Rendering : sig ... end
Module for 2d drawing of abstract elements, handles the 'camera' settings, 2D projection, and some graphical options
module Rendering3d : sig ... end
Module for 3D model generation of abstract elements
val in_gtk_canvas : Rendering.t -> unit
Displays a Rendering.t within a scrollable, zoomable gtk canvas
val to_latex : ?tikz_only:bool -> Rendering.t -> string -> unit
Outputs a tex file with a tikz figure corresponding to a Rendering.t. If the tikz_only option is set to false (default is true), it outputs the full tex document and not only the tikz figure
val to_obj : Rendering3d.t -> string -> unit
Builds an obj file rorresponding to a Rendering3D context