![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include <cairo.h>#include <glib.h>#include <stdint.h>
Include dependency graph for dev_snapshot.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | dt_dev_snapshot_t |
Typedefs | |
| typedef struct dt_dev_snapshot_t | dt_dev_snapshot_t |
Functions | |
| gboolean | dt_dev_snapshot_capture (dt_dev_snapshot_t *snap, int32_t imgid, float scale, GList *history_override, GList *iop_order_override, int32_t history_end_override) |
| void | dt_dev_snapshot_clear (dt_dev_snapshot_t *snap) |
| void | dt_dev_snapshot_draw (dt_dev_snapshot_t *snap, cairo_t *cri, struct dt_develop_t *dev, int32_t width, int32_t height, double clip_x, double clip_y, double clip_w, double clip_h) |
| typedef struct dt_dev_snapshot_t dt_dev_snapshot_t |
| gboolean dt_dev_snapshot_capture | ( | dt_dev_snapshot_t * | snap, |
| int32_t | imgid, | ||
| float | scale, | ||
| GList * | history_override, | ||
| GList * | iop_order_override, | ||
| int32_t | history_end_override | ||
| ) |
Definition at line 154 of file dev_snapshot.c.
References _render(), DT_DEBUG_DEV, dt_dev_cleanup(), dt_dev_create_module_instance(), dt_dev_get_module_instance(), dt_dev_history_compute_hash(), dt_dev_history_free_history(), dt_dev_init(), dt_dev_load_image(), dt_dev_set_history_end_ext(), dt_dev_set_history_hash(), dt_dev_snapshot_clear(), dt_free, dt_free_gpointer(), dt_iop_get_module_by_op_priority(), dt_print(), FALSE, dt_develop_t::history, dt_dev_snapshot_t::image, dt_develop_t::iop, dt_develop_t::iop_order_list, IS_NULL_PTR, dt_dev_history_item_t::multi_name, dt_dev_history_item_t::multi_priority, dt_dev_history_item_t::op_name, and dt_dev_snapshot_t::sample_scale.
Referenced by _lib_duplicate_thumb_press_callback(), and _lib_snapshot_capture_state().
| void dt_dev_snapshot_clear | ( | dt_dev_snapshot_t * | snap | ) |
Definition at line 33 of file dev_snapshot.c.
References dt_dev_snapshot_t::crop_h, dt_dev_snapshot_t::crop_w, dt_dev_snapshot_t::crop_x, dt_dev_snapshot_t::crop_y, dt_dev_snapshot_t::display_image, dt_dev_snapshot_t::display_scale, dt_dev_snapshot_t::image, IS_NULL_PTR, and dt_dev_snapshot_t::sample_scale.
Referenced by _lib_duplicate_init_callback(), _lib_snapshot_clear_state(), dt_dev_snapshot_capture(), gui_cleanup(), and view_leave().
| void dt_dev_snapshot_draw | ( | dt_dev_snapshot_t * | snap, |
| cairo_t * | cri, | ||
| struct dt_develop_t * | dev, | ||
| int32_t | width, | ||
| int32_t | height, | ||
| double | clip_x, | ||
| double | clip_y, | ||
| double | clip_w, | ||
| double | clip_h | ||
| ) |
Definition at line 351 of file dev_snapshot.c.
References _build_display_image(), dt_dev_snapshot_t::crop_x, dt_dev_snapshot_t::crop_y, darktable, dt_dev_snapshot_t::display_image, double(), dt_dev_get_zoom_level(), darktable_t::gui, height, dt_dev_snapshot_t::image, IS_NULL_PTR, dt_gui_gtk_t::ppd, dt_develop_t::roi, dt_dev_snapshot_t::sample_scale, width, dt_develop_t::x, and dt_develop_t::y.
Referenced by gui_post_expose().