![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include <masks.h>
Data Fields | |
int | point_struct_size |
void(* | sanitize_config )(dt_masks_type_t type_flags) |
void(* | set_form_name )(struct dt_masks_form_t *const form, const size_t nb) |
void(* | set_hint_message )(const struct dt_masks_form_gui_t *const gui, const struct dt_masks_form_t *const form, const int opacity, char *const __restrict__ msgbuf, const size_t msgbuf_len) |
void(* | duplicate_points )(struct dt_develop_t *const dev, struct dt_masks_form_t *base, struct dt_masks_form_t *dest) |
void(* | initial_source_pos )(const float iwd, const float iht, float *x, float *y) |
void(* | get_distance )(float x, float y, float as, struct dt_masks_form_gui_t *gui, int index, int num_points, int *inside, int *inside_border, int *near, int *inside_source, float *dist) |
int(* | get_points )(dt_develop_t *dev, float x, float y, float radius_a, float radius_b, float rotation, float **points, int *points_count) |
int(* | get_points_border )(dt_develop_t *dev, struct dt_masks_form_t *form, float **points, int *points_count, float **border, int *border_count, int source, const dt_iop_module_t *const module) |
int(* | get_mask )(const dt_iop_module_t *const module, const dt_dev_pixelpipe_iop_t *const piece, struct dt_masks_form_t *const form, float **buffer, int *width, int *height, int *posx, int *posy) |
int(* | get_mask_roi )(const dt_iop_module_t *const fmodule, const dt_dev_pixelpipe_iop_t *const piece, struct dt_masks_form_t *const form, const dt_iop_roi_t *roi, float *buffer) |
int(* | get_area )(const dt_iop_module_t *const module, const dt_dev_pixelpipe_iop_t *const piece, struct dt_masks_form_t *const form, int *width, int *height, int *posx, int *posy) |
int(* | get_source_area )(dt_iop_module_t *module, dt_dev_pixelpipe_iop_t *piece, struct dt_masks_form_t *form, int *width, int *height, int *posx, int *posy) |
int(* | mouse_moved )(struct dt_iop_module_t *module, float pzx, float pzy, double pressure, int which, struct dt_masks_form_t *form, int parentid, struct dt_masks_form_gui_t *gui, int index) |
int(* | mouse_scrolled )(struct dt_iop_module_t *module, float pzx, float pzy, int up, uint32_t state, struct dt_masks_form_t *form, int parentid, struct dt_masks_form_gui_t *gui, int index, dt_masks_interaction_t interaction) |
int(* | button_pressed )(struct dt_iop_module_t *module, float pzx, float pzy, double pressure, int which, int type, uint32_t state, struct dt_masks_form_t *form, int parentid, struct dt_masks_form_gui_t *gui, int index) |
int(* | button_released )(struct dt_iop_module_t *module, float pzx, float pzy, int which, uint32_t state, struct dt_masks_form_t *form, int parentid, struct dt_masks_form_gui_t *gui, int index) |
void(* | post_expose )(cairo_t *cr, float zoom_scale, struct dt_masks_form_gui_t *gui, int index, int num_points) |
structure used to store pointers to the functions implementing operations on a mask shape plus a few per-class descriptive data items
int(* dt_masks_functions_t::button_pressed) (struct dt_iop_module_t *module, float pzx, float pzy, double pressure, int which, int type, uint32_t state, struct dt_masks_form_t *form, int parentid, struct dt_masks_form_gui_t *gui, int index) |
Referenced by _group_events_button_pressed(), and dt_masks_events_button_pressed().
int(* dt_masks_functions_t::button_released) (struct dt_iop_module_t *module, float pzx, float pzy, int which, uint32_t state, struct dt_masks_form_t *form, int parentid, struct dt_masks_form_gui_t *gui, int index) |
Referenced by _group_events_button_released(), and dt_masks_events_button_released().
void(* dt_masks_functions_t::duplicate_points) (struct dt_develop_t *const dev, struct dt_masks_form_t *base, struct dt_masks_form_t *dest) |
Referenced by dt_masks_form_duplicate().
int(* dt_masks_functions_t::get_area) (const dt_iop_module_t *const module, const dt_dev_pixelpipe_iop_t *const piece, struct dt_masks_form_t *const form, int *width, int *height, int *posx, int *posy) |
Referenced by dt_masks_get_area().
void(* dt_masks_functions_t::get_distance) (float x, float y, float as, struct dt_masks_form_gui_t *gui, int index, int num_points, int *inside, int *inside_border, int *near, int *inside_source, float *dist) |
Referenced by _group_events_button_released().
int(* dt_masks_functions_t::get_mask) (const dt_iop_module_t *const module, const dt_dev_pixelpipe_iop_t *const piece, struct dt_masks_form_t *const form, float **buffer, int *width, int *height, int *posx, int *posy) |
Referenced by dt_masks_get_mask().
int(* dt_masks_functions_t::get_mask_roi) (const dt_iop_module_t *const fmodule, const dt_dev_pixelpipe_iop_t *const piece, struct dt_masks_form_t *const form, const dt_iop_roi_t *roi, float *buffer) |
Referenced by dt_masks_get_mask_roi().
int(* dt_masks_functions_t::get_points) (dt_develop_t *dev, float x, float y, float radius_a, float radius_b, float rotation, float **points, int *points_count) |
Referenced by _circle_get_points_border().
int(* dt_masks_functions_t::get_points_border) (dt_develop_t *dev, struct dt_masks_form_t *form, float **points, int *points_count, float **border, int *border_count, int source, const dt_iop_module_t *const module) |
Referenced by dt_masks_get_points_border().
int(* dt_masks_functions_t::get_source_area) (dt_iop_module_t *module, dt_dev_pixelpipe_iop_t *piece, struct dt_masks_form_t *form, int *width, int *height, int *posx, int *posy) |
Referenced by dt_masks_get_source_area().
void(* dt_masks_functions_t::initial_source_pos) (const float iwd, const float iht, float *x, float *y) |
Referenced by dt_masks_calculate_source_pos_value(), and dt_masks_set_source_pos_initial_value().
int(* dt_masks_functions_t::mouse_moved) (struct dt_iop_module_t *module, float pzx, float pzy, double pressure, int which, struct dt_masks_form_t *form, int parentid, struct dt_masks_form_gui_t *gui, int index) |
Referenced by _group_events_mouse_moved(), and dt_masks_events_mouse_moved().
int(* dt_masks_functions_t::mouse_scrolled) (struct dt_iop_module_t *module, float pzx, float pzy, int up, uint32_t state, struct dt_masks_form_t *form, int parentid, struct dt_masks_form_gui_t *gui, int index, dt_masks_interaction_t interaction) |
Referenced by _group_events_mouse_scrolled(), and dt_masks_events_mouse_scrolled().
int dt_masks_functions_t::point_struct_size |
void(* dt_masks_functions_t::post_expose) (cairo_t *cr, float zoom_scale, struct dt_masks_form_gui_t *gui, int index, int num_points) |
Referenced by dt_group_events_post_expose(), and dt_masks_events_post_expose().
void(* dt_masks_functions_t::sanitize_config) (dt_masks_type_t type_flags) |
Referenced by dt_masks_create().
void(* dt_masks_functions_t::set_form_name) (struct dt_masks_form_t *const form, const size_t nb) |
Referenced by dt_masks_gui_form_save_creation().
void(* dt_masks_functions_t::set_hint_message) (const struct dt_masks_form_gui_t *const gui, const struct dt_masks_form_t *const form, const int opacity, char *const __restrict__ msgbuf, const size_t msgbuf_len) |
Referenced by _set_hinter_message().