![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
Where an outline builder gets its geometry from. More...
#include <masks_distort.h>
Collaboration diagram for dt_masks_distort_t:Data Fields | |
| dt_dev_pixelpipe_t * | pipe |
| dt_develop_t * | dev |
| int32_t | iwidth |
| int32_t | iheight |
| int | rasterization_step |
Where an outline builder gets its geometry from.
Build one with dt_masks_distort_for_pipe or dt_masks_distort_for_gui; do not fill it by hand, so that the two suppliers stay the only two.
Definition at line 62 of file masks_distort.h.
| dt_develop_t* dt_masks_distort_t::dev |
Needed by the GUI supplier, and harmless for the other.
Definition at line 67 of file masks_distort.h.
| int32_t dt_masks_distort_t::iheight |
Definition at line 70 of file masks_distort.h.
| int32_t dt_masks_distort_t::iwidth |
Full-resolution image size the outline's normalised coordinates scale against.
Definition at line 70 of file masks_distort.h.
| dt_dev_pixelpipe_t* dt_masks_distort_t::pipe |
The pipe to compose, or NULL to compose through the geometry service.
Definition at line 65 of file masks_distort.h.
| int dt_masks_distort_t::rasterization_step |
How far apart consecutive samples of the outline may land, in image pixels. Above one, the samples spread out and the radial spokes stamped between them leave gaps (#1116), so a caller that wants a pixel-accurate outline asks for one.
Definition at line 77 of file masks_distort.h.