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#pragma once
2
3#include "develop/imageop.h"
5
10#define DRAWLAYER_NAME_SIZE 64
11#define DRAWLAYER_PROFILE_SIZE 256
12
21
23
30
31gboolean dt_drawlayer_commit_dabs(dt_iop_module_t *self, gboolean record_history);
41 gboolean have_last_dab, float last_dab_x, float last_dab_y,
42 uint32_t publish_serial);
44 const dt_drawlayer_paint_raw_input_t *first_input);
49 const char *title,
50 const char *message);
51void gui_update(dt_iop_module_t *self);
Stroke-level path sampling and runtime-state API for drawlayer.
const float uint32_t state[4]
gboolean dt_drawlayer_flush_layer_cache(dt_iop_module_t *self)
Definition layers.c:358
#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:2687
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:1639
gboolean dt_drawlayer_sync_widget_cache(dt_iop_module_t *self)
Definition layers.c:468
void gui_update(dt_iop_module_t *self)
Refresh GUI controls from current params and configuration.
Definition ashift.c:5553
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:2623
void dt_drawlayer_release_all_base_patch_extra_refs(dt_iop_drawlayer_gui_data_t *g)
Definition drawlayer.c:483
gboolean dt_drawlayer_commit_dabs(dt_iop_module_t *self, gboolean record_history)
Definition drawlayer.c:1742
void dt_drawlayer_set_pipeline_realtime_mode(dt_iop_module_t *self, gboolean state)
Definition layers.c:450
#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:1263
void dt_drawlayer_end_gui_stroke_capture(dt_iop_module_t *self)
Definition drawlayer.c:2646
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
Fully resolved input dab descriptor.
Definition brush.h:64
One raw pointer event queued to stroke processing.
Mutable stroke runtime state owned by worker/backend code.