C4 Engine
C4 Engine API Documentation

class PaintWidget

Defined in:  C4Paint.h
The PaintWidget class represents an interface widget that displays a painting canvas.
Definition

class PaintWidget final : public ImageWidget

Constructor

PaintWidget(const Vector2D& size, const Integer2D& resolution);

Parameters
size The size of the quad in which the canvas is rendered, in pixels.
resolution The internal resolution of the painting canvas, in pixels.
Description
The PaintWidget class displays an interactive painting canvas.
Base Classes
ImageWidget An PaintWidget is a specialized ImageWidget.
Wiki Articles

Paint Widget