Module eschers::canvas [] [src]

The canvas that we will draw on

Structs

Box

A Box represents the area and position that we will draw in.

Functions

flip_box

Flip box vertically

identity

The identity function for Box

split_box_horizontally

Create two boxes above each other that together make up the original box.

split_box_vertically

Create two boxes beside each other that together make up the original box.

toss_box

Toss box

turn_box

Rotate box through 90 degrees