Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
src/iop/drawlayer/common.h
Go to the documentation of this file.
1#ifndef DT_IOP_DRAWLAYER_COMMON_H
2#define DT_IOP_DRAWLAYER_COMMON_H
3
4#include "develop/imageop.h"
6
11#define DRAWLAYER_NAME_SIZE 64
12#define DRAWLAYER_PROFILE_SIZE 256
13
22
24
31
32gboolean dt_drawlayer_commit_dabs(dt_iop_module_t *self, gboolean record_history);
42 gboolean have_last_dab, float last_dab_x, float last_dab_y,
43 uint32_t publish_serial);
45 const dt_drawlayer_paint_raw_input_t *first_input);
50 const char *title,
51 const char *message);
52void gui_update(dt_iop_module_t *self);
53#endif // DT_IOP_DRAWLAYER_COMMON_H
Stroke-level path sampling and runtime-state API for drawlayer.
gboolean dt_drawlayer_flush_layer_cache(dt_iop_module_t *self)
Definition layers.c:359
#define DRAWLAYER_NAME_SIZE
void dt_drawlayer_show_runtime_feedback(const dt_iop_drawlayer_gui_data_t *g, dt_drawlayer_runtime_feedback_t feedback)
Definition drawlayer.c:2703
void dt_drawlayer_touch_stroke_commit_hash(dt_iop_drawlayer_params_t *params, int dab_count, gboolean have_last_dab, float last_dab_x, float last_dab_y, uint32_t publish_serial)
Definition drawlayer.c:1651
gboolean dt_drawlayer_sync_widget_cache(dt_iop_module_t *self)
Definition layers.c:469
void gui_update(dt_iop_module_t *self)
Refresh GUI controls from current params and configuration.
Definition ashift.c:5736
dt_drawlayer_runtime_feedback_t
@ DT_DRAWLAYER_RUNTIME_FEEDBACK_NONE
@ DT_DRAWLAYER_RUNTIME_FEEDBACK_FOCUS_LOSS_WAIT
@ DT_DRAWLAYER_RUNTIME_FEEDBACK_SAVE_WAIT
void dt_drawlayer_begin_gui_stroke_capture(dt_iop_module_t *self, const dt_drawlayer_paint_raw_input_t *first_input)
Definition drawlayer.c:2639
void dt_drawlayer_release_all_base_patch_extra_refs(dt_iop_drawlayer_gui_data_t *g)
Definition drawlayer.c:474
gboolean dt_drawlayer_commit_dabs(dt_iop_module_t *self, gboolean record_history)
Definition drawlayer.c:1754
void dt_drawlayer_set_pipeline_realtime_mode(dt_iop_module_t *self, gboolean state)
Definition layers.c:451
#define DRAWLAYER_PROFILE_SIZE
void dt_drawlayer_wait_for_rasterization_modal(const dt_iop_drawlayer_gui_data_t *g, const char *title, const char *message)
Definition drawlayer.c:1250
void dt_drawlayer_end_gui_stroke_capture(dt_iop_module_t *self)
Definition drawlayer.c:2662
gboolean dt_drawlayer_build_worker_input_dab(dt_iop_module_t *self, dt_drawlayer_paint_stroke_t *state, const dt_drawlayer_paint_raw_input_t *input, dt_drawlayer_brush_dab_t *dab)
Definition worker.c:153
gboolean dt_drawlayer_ensure_layer_cache(dt_iop_module_t *self)
Definition layers.c:126
const float uint32_t state[4]
Fully resolved input dab descriptor.
Definition brush.h:65
One raw pointer event queued to stroke processing.
Mutable stroke runtime state owned by worker/backend code.