paint::Layer

Ordered set of paint frames with compositing controls.

Declared in src/libs/libpaint/paint/Layer.hpp
Group paint

Detailed description

A Layer is a back-to-front compositing slot in the paint pipeline. V1 layers always carry exactly one Frame (animation deferred to V2 per §PM-2); singleFrame() materialises that frame lazily. Per-layer visible, opacity, and blendMode control how the frame composites against the layers below.

Not to be confused with qmapcontrol::LayerBase (libmap), which is the map-control library's renderable layer type.

See also paint::Frame, paint::BlendMode.

In this section