Crate pixels_primitives
source · [−]Expand description
An easy and simple wrapper for lines and simple shapes for the pixels crate.
Functions
Draws an outline of a circle to a frame of pixels.
Draws a filled circle to a frame of pixels.
Draws a 2d line to a frame of pixels.
Draws an outline of a rectangle to a frame of pixels.
Draws a filled rectangle to a frame of pixels.
Draws an outline of a square to a frame of pixels.
Draws a filled square to a frame of pixels.
Draws an outline of a triangle to a frame of pixels.
Draws a filled triangle to a frame of pixels.