Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
dt_drawlayer_widgets_t Struct Reference

Runtime state for drawlayer custom color widgets. More...

+ Collaboration diagram for dt_drawlayer_widgets_t:

Data Fields

float picker_m
 
float picker_u
 
float picker_v
 
float picker_hue
 
float picker_chroma
 
int picker_drag_mode
 
float color_history [DT_DRAWLAYER_COLOR_HISTORY_COUNT][3]
 
gboolean color_history_valid [DT_DRAWLAYER_COLOR_HISTORY_COUNT]
 
cairo_surface_t * color_surface
 
int color_surface_width
 
int color_surface_height
 
double color_surface_ppd
 
gboolean color_surface_dirty
 
cairo_surface_t * profile_surface
 
int profile_surface_width
 
int profile_surface_height
 
double profile_surface_ppd
 
gboolean profile_surface_dirty
 
float profile_opacity
 
float profile_hardness
 
float profile_sprinkles
 
float profile_sprinkle_size
 
float profile_sprinkle_coarseness
 
int profile_selected_shape
 

Detailed Description

Runtime state for drawlayer custom color widgets.

Field Documentation

◆ color_history

◆ color_history_valid

◆ color_surface

cairo_surface_t* dt_drawlayer_widgets_t::color_surface

Cached picker surface.

Referenced by _clear_color_picker_surface(), and dt_drawlayer_widgets_draw_picker().

◆ color_surface_dirty

◆ color_surface_height

int dt_drawlayer_widgets_t::color_surface_height

Cached surface height in pixels.

Referenced by _clear_color_picker_surface(), and dt_drawlayer_widgets_draw_picker().

◆ color_surface_ppd

double dt_drawlayer_widgets_t::color_surface_ppd

Pixels-per-dip used for surface cache.

Referenced by _clear_color_picker_surface(), and dt_drawlayer_widgets_draw_picker().

◆ color_surface_width

int dt_drawlayer_widgets_t::color_surface_width

Cached surface width in pixels.

Referenced by _clear_color_picker_surface(), and dt_drawlayer_widgets_draw_picker().

◆ picker_chroma

◆ picker_drag_mode

int dt_drawlayer_widgets_t::picker_drag_mode

◆ picker_hue

◆ picker_m

◆ picker_u

◆ picker_v

◆ profile_hardness

float dt_drawlayer_widgets_t::profile_hardness

◆ profile_opacity

float dt_drawlayer_widgets_t::profile_opacity

◆ profile_selected_shape

◆ profile_sprinkle_coarseness

float dt_drawlayer_widgets_t::profile_sprinkle_coarseness

◆ profile_sprinkle_size

float dt_drawlayer_widgets_t::profile_sprinkle_size

◆ profile_sprinkles

float dt_drawlayer_widgets_t::profile_sprinkles

Preview sprinkles in [0,1].

Referenced by _render_brush_profile_cell(), and dt_drawlayer_widgets_set_brush_profile_preview().

◆ profile_surface

cairo_surface_t* dt_drawlayer_widgets_t::profile_surface

Cached brush-profile preview row.

Referenced by _clear_profile_surface(), and dt_drawlayer_widgets_draw_brush_profiles().

◆ profile_surface_dirty

gboolean dt_drawlayer_widgets_t::profile_surface_dirty

◆ profile_surface_height

int dt_drawlayer_widgets_t::profile_surface_height

Cached profile surface height in pixels.

Referenced by _clear_profile_surface(), and dt_drawlayer_widgets_draw_brush_profiles().

◆ profile_surface_ppd

double dt_drawlayer_widgets_t::profile_surface_ppd

Pixels-per-dip used for profile surface cache.

Referenced by _clear_profile_surface(), and dt_drawlayer_widgets_draw_brush_profiles().

◆ profile_surface_width

int dt_drawlayer_widgets_t::profile_surface_width

Cached profile surface width in pixels.

Referenced by _clear_profile_surface(), and dt_drawlayer_widgets_draw_brush_profiles().


The documentation for this struct was generated from the following file: