Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
coordinates.h
Go to the documentation of this file.
1#pragma once
2
5
17
26
27gboolean dt_drawlayer_widget_points_to_layer_coords(dt_iop_module_t *self, float *pts, int count);
28gboolean dt_drawlayer_layer_points_to_widget_coords(dt_iop_module_t *self, float *pts, int count);
29gboolean dt_drawlayer_widget_to_layer_coords(dt_iop_module_t *self, double wx, double wy, float *lx, float *ly);
30gboolean dt_drawlayer_layer_to_widget_coords(dt_iop_module_t *self, float x, float y, float *wx, float *wy);
31gboolean dt_drawlayer_layer_bounds_to_widget_bounds(dt_iop_module_t *self, float x0, float y0,
32 float x1, float y1,
33 float *left, float *top,
34 float *right, float *bottom);
const float top
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)
Definition coordinates.c:81
gboolean dt_drawlayer_widget_points_to_layer_coords(dt_iop_module_t *self, float *pts, int count)
Definition coordinates.c:50
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)
Definition coordinates.c:66
gboolean dt_drawlayer_layer_to_widget_coords(dt_iop_module_t *self, float x, float y, float *wx, float *wy)
Definition coordinates.c:94
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)
Definition darkroom.c:227
Patch/cache helpers for drawlayer process and preview buffers.
static const float x
Shared drawlayer runtime helpers used across module/runtime files.
drawlayer_view_patch_t patch
Definition coordinates.h:20
Fully resolved input dab descriptor.
Definition brush.h:64