2D affine transform (CanvasRenderingContext2D layout): [ a c e ] [ b d f ] [ 0 0 1 ]
More...
#include <scene_node.hpp>
|
| float | a = 1.0f |
| float | b = 0.0f |
| float | c = 0.0f |
| float | d = 1.0f |
| float | e = 0.0f |
| float | f = 0.0f |
2D affine transform (CanvasRenderingContext2D layout): [ a c e ] [ b d f ] [ 0 0 1 ]
◆ composed_with()
Multiply (this * rhs).
Used by the walker when composing a child's transform onto its parent's CTM during paint() and paint_bounds().
◆ identity()
◆ is_identity()
| bool pulp::canvas::SceneTransform::is_identity |
( |
| ) |
const |
|
inlineconstexpr |
◆ map_rect()
Transform an axis-aligned rect — returns the AABB of the four transformed corners.
Used by the dirty-rect walker so the reported "sub-tree bounding box" is in scene coordinates.
◆ translation()
| constexpr SceneTransform pulp::canvas::SceneTransform::translation |
( |
float | tx, |
|
|
float | ty ) |
|
inlinestaticconstexpr |
| float pulp::canvas::SceneTransform::a = 1.0f |
| float pulp::canvas::SceneTransform::b = 0.0f |
| float pulp::canvas::SceneTransform::c = 0.0f |
| float pulp::canvas::SceneTransform::d = 1.0f |
| float pulp::canvas::SceneTransform::e = 0.0f |
| float pulp::canvas::SceneTransform::f = 0.0f |
The documentation for this struct was generated from the following file:
- /home/runner/work/pulp/pulp/core/canvas/include/pulp/canvas/scene/scene_node.hpp