33 float *left,
float *
top,
34 float *right,
float *bottom);
gboolean dt_drawlayer_compute_view_patch(dt_iop_module_t *self, float padding, drawlayer_view_patch_info_t *view)
gboolean dt_drawlayer_widget_to_layer_coords(dt_iop_module_t *self, double wx, double wy, float *lx, float *ly)
gboolean dt_drawlayer_widget_points_to_layer_coords(dt_iop_module_t *self, float *pts, int count)
float dt_drawlayer_widget_brush_radius(dt_iop_module_t *self, const dt_drawlayer_brush_dab_t *dab, float fallback)
float dt_drawlayer_current_live_padding(dt_iop_module_t *self)
gboolean dt_drawlayer_layer_points_to_widget_coords(dt_iop_module_t *self, float *pts, int count)
gboolean dt_drawlayer_layer_to_widget_coords(dt_iop_module_t *self, float x, float y, float *wx, float *wy)
gboolean dt_drawlayer_layer_bounds_to_widget_bounds(dt_iop_module_t *self, float x0, float y0, float x1, float y1, float *left, float *top, float *right, float *bottom)
uint32_t view(const dt_view_t *self)
Patch/cache helpers for drawlayer process and preview buffers.
Shared drawlayer runtime helpers used across module/runtime files.
drawlayer_view_patch_t patch
Fully resolved input dab descriptor.