Module carp

Source

Structs§

CarpGraph
A graph is CarpGraph’s representation of an image. It’s essentially just a reproducable series of commands which a renderer can traverse to reconstruct an image.
Command

Enums§

CommandType
A type of Command.

Constants§

COLOR
The color command marks the beginning of a hex-encoded color string.
END_OF_HEADER
Starting at the beginning of the file, the header details specific information about the file.
EOF
An end-of-file marker.
LINE
Marks the beginning of a new line.
POINT
A point marks the coordinates (relative to the previous DELTA_ORIGIN, or (0, 0)) in which a point should be drawn.
SIZE
The size command marks the beginning of a integer brush size.