mlpost
OCaml library on top of Metapost
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
round_rect w h rx ry
returns a rectangle of width w
and height h
with rounded corners. The rounded corners are arcs of an ellipse of radii rx
and ry
. rx
(resp. ry
) should be positive and smaller than w/2
(resp. h/2
).
ellipse rx ry
returns an ellipse of great axis rx
and small axis ry
. The ellipse is centered on the origin and aligned with the x axis.
See Box.patatoid
.
See Box.patatoid2
.