(arc angle1 angle2 radius)
A circular arc drawn counter-clockwise between two angles (in degrees) at the given radius.
A circular arc drawn counter-clockwise between two angles (in degrees) at the given radius.
(arc-solid angle1 angle2 radius)
A solid arc, drawn counter-clockwise between two angles at the given radius.
A solid arc, drawn counter-clockwise between two angles at the given radius.
(blank)
A blank picture, with nothing in it.
A blank picture, with nothing in it.
(circle radius)
A circle with the given radius.
A circle with the given radius.
(circle-solid radius)
A solid circle with the given radius.
A solid circle with the given radius.
(color red green blue alpha picture)
A picture drawn with given color.
A picture drawn with given color.
(image path)
An image from given filepath.
Given filepath can point to a jpeg, png or bmp file.
Images are stored in memory, indexed by filepath. If a filepath has already been loaded, mindra will use the corresponding image from its cache.
An image from given filepath. Given filepath can point to a jpeg, png or bmp file. Images are stored in memory, indexed by filepath. If a filepath has already been loaded, mindra will use the corresponding image from its cache.
(image-section x y width height path)
A subsection of an image starting from given x y location with given width and height.
Besides the subsection selection, should be similar to image function. See docstring of image function for more details.
A subsection of an image starting from given x y location with given width and height. Besides the subsection selection, should be similar to image function. See docstring of image function for more details.
(line points)
A line along a list of points.
A line along a list of points.
(line-loop points)
A closed loop along a list of points.
A closed loop along a list of points.
(line-loop' & points)
Variadic version of line-loop.
Variadic version of line-loop.
(pictures pics)
A picture consisting of several others.
A picture consisting of several others.
(pictures' & pics)
Variadic version of pictures.
Variadic version of pictures.
(polygon points)
A convex polygon along a list of points; filled with a solid color.
A convex polygon along a list of points; filled with a solid color.
(polygon' & points)
Variadic version of polygon.
Variadic version of polygon.
(rectangle-solid width height)
A solid rectangle centered about the origin.
A solid rectangle centered about the origin.
(rectangle-upper-solid width height)
A solid rectangle in the y > 0 half of the x-y plane.
A solid rectangle in the y > 0 half of the x-y plane.
(rectangle-upper-wire width height)
A wireframe rectangle in the y > 0 half of the x-y plane.
A wireframe rectangle in the y > 0 half of the x-y plane.
(rectangle-wire width height)
A wireframe rectangle centered about the origin.
A wireframe rectangle centered about the origin.
(rotate angle picture)
A picture rotated clockwise by the given angle (in degrees).
A picture rotated clockwise by the given angle (in degrees).
(scale x y picture)
A picture scaled by the given x and y factors.
A picture scaled by the given x and y factors.
(sector-wire angle1 angle2 radius)
A wireframe sector of a circle.
An arc is draw counter-clockwise from the first to the second angle at the given radius. Lines are drawn from the origin to the ends of the arc.
A wireframe sector of a circle. An arc is draw counter-clockwise from the first to the second angle at the given radius. Lines are drawn from the origin to the ends of the arc.
(text s)
Some text to draw with a vector font.
Some text to draw with a vector font.
(thick-arc angle1 angle2 radius thickness)
A circular arc drawn counter-clockwise between two angles (in degrees), with the given radius and thickness.
If the thickness is 0 then this is equivalent to arc.
A circular arc drawn counter-clockwise between two angles (in degrees), with the given radius and thickness. If the thickness is 0 then this is equivalent to arc.
(thick-circle radius thickness)
A circle with the given radius and thickness.
If the thickness is 0 then this is equivalent to circle.
A circle with the given radius and thickness. If the thickness is 0 then this is equivalent to circle.
(translate x y picture)
A picture translated by the given x and y coordinates.
A picture translated by the given x and y coordinates.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close