Structs

  • BlitCache is used if there is chance that you might have to render the same thing multiple times without moving or changing it.

Enums

  • Wrapping is used to determine how you want to handle out-of-bounds pixels during plotting pixels to the screen. Here’s how each possible value functions:

Functions

  • Returns true if the points in the vector are arranged in a clockwise orientation
  • Combine a vector of Vec2Ds and a single fill_char into a vector of (Vec2D, char) tuples, ready to return for ViewElement::active_pixels. Useful if your ViewElement only has one fill character across all of it