Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
dt_masks_distort_t Struct Reference

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_tpipe
 
dt_develop_tdev
 
int32_t iwidth
 
int32_t iheight
 
int rasterization_step
 

Detailed Description

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.

Field Documentation

◆ dev

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.

◆ iheight

int32_t dt_masks_distort_t::iheight

Definition at line 70 of file masks_distort.h.

◆ iwidth

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.

◆ pipe

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.

◆ rasterization_step

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.


The documentation for this struct was generated from the following file: