package claudius
A retro-style graphics library
Install
dune-project
Dependency
Authors
Maintainers
Sources
1.0.1.tar.gz
sha256=9c6ef0f46bfebbad7124e0377cf11a5928b326dc70f78b7e1b45e537085480b8
sha512=5b25e6b97be4703a8e81cd6f3693d40d33a1eba0ec9dc588f885ea208848d4e1bee37adf294d92bed36302117c3e3a341fd6a9a922ca7ce038aa1d21acc706b5
doc/claudius/Claudius/Primitives/index.html
Module Claudius.Primitives
Source
Primatives are a way to build up a list of rendering operations for the framebuffer in a functional style and then render them at once.
Source
type t =
| Circle of point * float * int
| FilledCircle of point * float * int
| Ellipse of point * float * float * int
| FilledEllipse of point * float * float * int
| Line of point * point * int
| Pixel of point * int
| Polygon of point list * int
| FilledPolygon of point list * int
| Rect of point * point * int
| FilledRect of point * point * int
| Triangle of point * point * point * int
| FilledTriangle of point * point * point * int
| Char of point * Font.t * char * int
| String of point * Font.t * string * int
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>