Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
coordinates.c File Reference
+ Include dependency graph for coordinates.c:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static void _virtual_piece_input_offset (dt_iop_module_t *self, int *x, int *y)
 
gboolean dt_drawlayer_widget_points_to_layer_coords (dt_iop_module_t *self, float *pts, const int count)
 
gboolean dt_drawlayer_layer_points_to_widget_coords (dt_iop_module_t *self, float *pts, const int count)
 
gboolean dt_drawlayer_widget_to_layer_coords (dt_iop_module_t *self, const double wx, const double wy, float *lx, float *ly)
 
gboolean dt_drawlayer_layer_to_widget_coords (dt_iop_module_t *self, const float x, const float y, float *wx, float *wy)
 
gboolean dt_drawlayer_layer_bounds_to_widget_bounds (dt_iop_module_t *self, const float x0, const float y0, const float x1, const float y1, float *left, float *top, float *right, float *bottom)
 
float dt_drawlayer_widget_brush_radius (dt_iop_module_t *self, const dt_drawlayer_brush_dab_t *dab, const float fallback)
 
float dt_drawlayer_current_live_padding (dt_iop_module_t *self)
 
gboolean dt_drawlayer_compute_view_patch (dt_iop_module_t *self, const float padding, drawlayer_view_patch_info_t *view)
 
gboolean dt_drawlayer_compute_process_patch_geometry (const dt_dev_pixelpipe_iop_t *piece, const dt_iop_roi_t *roi_in, const dt_iop_roi_t *roi_out, const int base_width, const int base_height, const float brush_radius, dt_drawlayer_process_patch_geometry_t *geometry)
 

Function Documentation

◆ _virtual_piece_input_offset()

◆ dt_drawlayer_compute_process_patch_geometry()

◆ dt_drawlayer_compute_view_patch()

◆ dt_drawlayer_current_live_padding()

float dt_drawlayer_current_live_padding ( dt_iop_module_t self)

◆ dt_drawlayer_layer_bounds_to_widget_bounds()

gboolean dt_drawlayer_layer_bounds_to_widget_bounds ( dt_iop_module_t self,
const float  x0,
const float  y0,
const float  x1,
const float  y1,
float *  left,
float *  top,
float *  right,
float *  bottom 
)

◆ dt_drawlayer_layer_points_to_widget_coords()

◆ dt_drawlayer_layer_to_widget_coords()

gboolean dt_drawlayer_layer_to_widget_coords ( dt_iop_module_t self,
const float  x,
const float  y,
float *  wx,
float *  wy 
)

◆ dt_drawlayer_widget_brush_radius()

◆ dt_drawlayer_widget_points_to_layer_coords()

◆ dt_drawlayer_widget_to_layer_coords()

gboolean dt_drawlayer_widget_to_layer_coords ( dt_iop_module_t self,
const double  wx,
const double  wy,
float *  lx,
float *  ly 
)