![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
Functions | |
void | draw_no_image (cairo_t *cr, GtkWidget *widget) |
void | draw_line (cairo_t *cr, point_t start, point_t end) |
void | draw_cross (cairo_t *cr, point_t center) |
void | draw_box (cairo_t *cr, box_t box, const float *homography) |
void | clear_background (cairo_t *cr) |
void | center_image (cairo_t *cr, image_t *image) |
void | draw_image (cairo_t *cr, image_t *image) |
void | draw_boundingbox (cairo_t *cr, point_t *bb) |
void | draw_f_boxes (cairo_t *cr, const float *homography, chart_t *chart) |
static void | _draw_boxes (cairo_t *cr, const float *homography, GHashTable *table) |
void | draw_d_boxes (cairo_t *cr, const float *homography, chart_t *chart) |
void | draw_color_boxes_outline (cairo_t *cr, const float *homography, chart_t *chart) |
void | draw_color_boxes_inside (cairo_t *cr, const float *homography, chart_t *chart, float shrink, float line_width, gboolean colored) |
void | stroke_boxes (cairo_t *cr, float line_width) |
void | set_offset_and_scale (image_t *image, float width, float height) |
cairo_surface_t * | cairo_surface_create_from_xyz_data (const float *const image, const int width, const int height) |
Variables | |
static cairo_user_data_key_t | source_data_buffer_key |
|
static |
References draw_box(), homography(), and key.
Referenced by draw_color_boxes_outline(), and draw_d_boxes().
cairo_surface_t * cairo_surface_create_from_xyz_data | ( | const float *const | image, |
const int | width, | ||
const int | height | ||
) |
References dt_XYZ_to_sRGB_clipped(), height, source_data_buffer_key, and width.
Referenced by open_image().
References image_t::offset_x, and image_t::offset_y.
Referenced by draw_image_callback().
void clear_background | ( | cairo_t * | cr | ) |
Referenced by draw_image_callback().
References draw_line().
Referenced by draw_image_callback().
References apply_homography(), BOTTOM_LEFT, BOTTOM_RIGHT, box_t::h, homography(), box_t::p, TOP_LEFT, TOP_RIGHT, box_t::w, point_t::x, and point_t::y.
Referenced by _draw_boxes(), and draw_color_boxes_inside().
void draw_color_boxes_inside | ( | cairo_t * | cr, |
const float * | homography, | ||
chart_t * | chart, | ||
float | shrink, | ||
float | line_width, | ||
gboolean | colored | ||
) |
References chart_t::bb_h, chart_t::bb_w, chart_t::box_shrink, chart_t::box_table, draw_box(), box_t::h, homography(), key, box_t::p, box_t::rgb, box_t::w, point_t::x, and point_t::y.
Referenced by draw_image_callback().
References _draw_boxes(), chart_t::box_table, and homography().
Referenced by draw_image_callback().
References point_t::x, and point_t::y.
Referenced by draw_f_boxes().
References _draw_boxes(), chart_t::d_table, and homography().
Referenced by draw_image_callback().
References apply_homography(), draw_cross(), f(), chart_t::f_list, and homography().
Referenced by draw_image_callback().
References image_t::image.
Referenced by draw_image_callback().
References point_t::x, and point_t::y.
Referenced by draw_boundingbox().
void draw_no_image | ( | cairo_t * | cr, |
GtkWidget * | widget | ||
) |
Referenced by draw_image_callback().
References image_t::height, height, image_t::image, MAX, image_t::offset_x, image_t::offset_y, image_t::scale, image_t::width, and width.
Referenced by open_image(), and size_allocate_callback().
void stroke_boxes | ( | cairo_t * | cr, |
float | line_width | ||
) |
Referenced by draw_image_callback().
|
static |
Referenced by cairo_surface_create_from_xyz_data().