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

#include <masks_functions.h>

+ Collaboration diagram for dt_masks_sample_grid_t:

Data Fields

int x0
 
int y0
 
int width
 
int height
 
int step
 
int px
 
int py
 
float iscale
 

Detailed Description

One rectangular lattice of sample points over a rasterisation ROI.

Every shape whose mask is evaluated on a coarse grid and then interpolated back up describes that grid the same way: a cell count, a spacing in output pixels, the ROI origin, and the inverse of the ROI scale. x0/y0 are the index of the first cell – non-zero for the shapes that grid only their own bounding box (circle, ellipse), zero for the ones that grid the whole ROI (gradient).

Definition at line 224 of file masks_functions.h.

Field Documentation

◆ height

int dt_masks_sample_grid_t::height

◆ iscale

float dt_masks_sample_grid_t::iscale

Definition at line 230 of file masks_functions.h.

Referenced by dt_masks_sample_grid_backtransform().

◆ px

int dt_masks_sample_grid_t::px

Definition at line 229 of file masks_functions.h.

Referenced by dt_masks_sample_grid_backtransform().

◆ py

int dt_masks_sample_grid_t::py

Definition at line 229 of file masks_functions.h.

Referenced by dt_masks_sample_grid_backtransform().

◆ step

int dt_masks_sample_grid_t::step

◆ width

int dt_masks_sample_grid_t::width

◆ x0

◆ y0

int dt_masks_sample_grid_t::y0

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