Claudius.Primitives
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.
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