package picasso
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Abstract elements drawing library
Install
dune-project
Dependency
Authors
Maintainers
Sources
0.4.tar.gz
md5=d6028ccae6933bf903f34137c335f5ce
sha512=d8adf3324a27f016d0f6a08ff4afa714185c31e6dcf176e36053564c5e66e3cb734115e11ce6b68a7ed118291ef47f108efea3e3a2272e35b946661ea88e5eff
doc/picasso/Picasso/Rendering/index.html
Module Picasso.RenderingSource
Module for 2d drawing of abstract elements, handles the 'camera' settings, 2D projection, and some graphical options
Type of 2D scenes
Source
val create :
?title:string ->
?padding:float ->
?grid:bool ->
?axis:bool ->
abciss:string ->
ordinate:string ->
float ->
float ->
tInitalizes an empty 2d scene.
Registers an abstract element, associated to a color, into a scene. Automatically changes the camera settings to encompass the newly added abstract element. You can disable this behaviour by settings the optional argument autofit to false
Registers a list of element into a scene. add_l r l is equivalent to calling add successively on the elements of l
Camera settings
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page