Allocate memory for the canvas at the specified size.
Sets the color mixing factor (which formula to mix colors with).
Mixing factor (sfactor, dfactor).
Cleared the canvas with one color.
Draws a buffer to a storage object.
Move the visibility port to the specified coordinates.
Draw a point on the canvas. Draw only a point, the rest of the shapes are rendered.
Set port of visibility.
Blending mode (blend or not).
Camera position (offset of all drawing points).
Canvas data.
The real size of the world, where from the world it will be drawn to the size of the canvas.
Canvas size.
Implementation of the interface for interacting with the rendering canvas.