Compositing operation for blending new drawing and old pixels. The sourceCopy, sourceIn, sourceOut, destinationAtop, and destinationIn operations may clear parts of the canvas outside the new drawing but within the clip region. Defaults to: sourceOver.
The gamma space where colors are manipulated. Proper sRGB conversion to linear and back is very expensive.
The shape used to draw the end points of lines.
The shape used to join two line segments where they meet.
Options you can give while initializing a Canvasity.
Main canvas API. Given an image buffer, a Canvasity can draw 2D shapes without any GPU usage.
D Port of canvas_ity.h Modifications: * some SIMD * buffer is passed and external instead of owned, it can be any format * removal of text, gradients, patterns, TODO add them back * integration with gamut and colors