paint
The spectral paint engine: paint documents of layers and frames, brushes, and the file format.
| Group | paint |
Detailed description
libpaint stores paint as 80-band spectral pixels, grouped in chunks. A paint document, paint::Space, holds an ordered set of paint::Layer objects and the artists who painted on it, and each layer holds paint::Frame images. Space writes and reads the .paint file.
Type documentation
BlendMode enum
[since 1.0] enum paint::BlendMode
How a paint::Layer composites over the layers below it.
The per-layer mode is a V0 placeholder with one value. The blend modes of the spectral brush are a separate set, paint::BlendId.
| Constant | Value | Description |
|---|---|---|
paint::BlendMode::Normal |
0 |
Source-over compositing. |
This enum was introduced in 1.0.
See also paint::Layer.
Classes
| Class | What it is |
|---|---|
| Frame | One still image of a paint::Layer: a sparse grid of pixel chunks |
| Layer | Ordered set of paint frames with compositing controls |
Namespaces
| Namespace | What it is |
|---|---|
| settings | Paint schema, and the one resolver that reads and writes it |