Home
last modified time | relevance | path

Searched refs:ppd_thb (Results 1 – 22 of 22) sorted by relevance

/dports/graphics/darktable38/darktable-3.8.0/src/dtgtk/
H A Dthumbnail.c256 const float scaler = 1.0f / darktable.gui->ppd_thb; in _thumb_draw_image()
268 gtk_render_frame(context, cr, 0, 0, w * darktable.gui->ppd_thb, h * darktable.gui->ppd_thb); in _thumb_draw_image()
564 …at scale = fminf(image_w / (float)buf_width, image_h / (float)buf_height) * darktable.gui->ppd_thb; in _event_image_draw()
628 const int imgbox_w = MIN(image_w, thumb->img_width / darktable.gui->ppd_thb); in _event_image_draw()
629 const int imgbox_h = MIN(image_h, thumb->img_height / darktable.gui->ppd_thb); in _event_image_draw()
647 …= CLAMP(thumb->zoomx, (nwi * darktable.gui->ppd_thb - thumb->img_width) / darktable.gui->ppd_thb, … in _event_image_draw()
649 …= CLAMP(thumb->zoomy, (nhi * darktable.gui->ppd_thb - thumb->img_height) / darktable.gui->ppd_thb,… in _event_image_draw()
1942 …>zoomx = CLAMP(thumb->zoomx, (iw * darktable.gui->ppd_thb - thumb->img_width) / darktable.gui->ppd… in dt_thumbnail_image_refresh_position()
1943 …>zoomy = CLAMP(thumb->zoomy, (ih * darktable.gui->ppd_thb - thumb->img_height) / darktable.gui->pp… in dt_thumbnail_image_refresh_position()
H A Dculling.c637 const float scale = darktable.gui->ppd_thb / darktable.gui->ppd; in _event_motion_notify()
671 const int mindx = iw * darktable.gui->ppd_thb - th->img_width; in _event_motion_notify()
672 const int mindy = ih * darktable.gui->ppd_thb - th->img_height; in _event_motion_notify()
/dports/graphics/darktable/darktable-3.6.1/src/dtgtk/
H A Dthumbnail.c233 float scaler = 1.0f / darktable.gui->ppd_thb; in _thumb_draw_image()
241 gtk_render_frame(context, cr, 0, 0, w * darktable.gui->ppd_thb, h * darktable.gui->ppd_thb); in _thumb_draw_image()
537 …at scale = fminf(image_w / (float)buf_width, image_h / (float)buf_height) * darktable.gui->ppd_thb; in _event_image_draw()
599 const int imgbox_w = MIN(image_w, thumb->img_width / darktable.gui->ppd_thb); in _event_image_draw()
600 const int imgbox_h = MIN(image_h, thumb->img_height / darktable.gui->ppd_thb); in _event_image_draw()
618 …= CLAMP(thumb->zoomx, (nwi * darktable.gui->ppd_thb - thumb->img_width) / darktable.gui->ppd_thb, … in _event_image_draw()
620 …= CLAMP(thumb->zoomy, (nhi * darktable.gui->ppd_thb - thumb->img_height) / darktable.gui->ppd_thb,… in _event_image_draw()
1901 …>zoomx = CLAMP(thumb->zoomx, (iw * darktable.gui->ppd_thb - thumb->img_width) / darktable.gui->ppd… in dt_thumbnail_image_refresh_position()
1902 …>zoomy = CLAMP(thumb->zoomy, (ih * darktable.gui->ppd_thb - thumb->img_height) / darktable.gui->pp… in dt_thumbnail_image_refresh_position()
H A Dculling.c643 const float scale = darktable.gui->ppd_thb / darktable.gui->ppd; in _event_motion_notify()
677 const int mindx = iw * darktable.gui->ppd_thb - th->img_width; in _event_motion_notify()
678 const int mindy = ih * darktable.gui->ppd_thb - th->img_height; in _event_motion_notify()
/dports/graphics/darktable/darktable-3.6.1/src/common/
H A Dfocus.h301 …prev_scale + fx / scale * darktable.gui->ppd_thb, -ht / 2.0f * prev_scale + fy / scale * darktable… in dt_focus_draw_clusters()
/dports/graphics/darktable38/darktable-3.8.0/src/common/
H A Dfocus.h301 …prev_scale + fx / scale * darktable.gui->ppd_thb, -ht / 2.0f * prev_scale + fy / scale * darktable… in dt_focus_draw_clusters()
/dports/graphics/darktable/darktable-3.6.1/src/gui/
H A Dgtk.h124 double dpi, dpi_factor, ppd, ppd_thb; member
H A Dgtk.c1597 gui->ppd = gui->ppd_thb = dt_get_system_gui_ppd(widget); in dt_configure_ppd_dpi()
1602 gui->ppd_thb *= DT_GUI_THUMBSIZE_REDUCE; in dt_configure_ppd_dpi()
/dports/graphics/darktable38/darktable-3.8.0/src/gui/
H A Dgtk.h128 double dpi, dpi_factor, ppd, ppd_thb; member
H A Dgtk.c1418 gui->ppd = gui->ppd_thb = dt_get_system_gui_ppd(widget); in dt_configure_ppd_dpi()
1423 gui->ppd_thb *= DT_GUI_THUMBSIZE_REDUCE; in dt_configure_ppd_dpi()
/dports/graphics/darktable/darktable-3.6.1/src/views/
H A Dprint.c245 const float scaler = 1.0f / darktable.gui->ppd_thb; in expose_print_page()
H A Dtethering.c347 const float scaler = 1.0f / darktable.gui->ppd_thb; in _expose_tethered_mode()
H A Dview.c1022 float scale = fminf(width / (float)buf_wd, height / (float)buf_ht) * darktable.gui->ppd_thb; in dt_view_image_get_surface()
H A Ddarkroom.c4504 dev->second_window.ppd = dev->second_window.ppd_thb = dt_get_system_gui_ppd(widget); in _second_window_configure_ppd_dpi()
4506 dev->second_window.ppd_thb *= DT_GUI_THUMBSIZE_REDUCE; in _second_window_configure_ppd_dpi()
/dports/graphics/darktable38/darktable-3.8.0/src/develop/
H A Ddevelop.h328 double dpi, dpi_factor, ppd, ppd_thb; member
/dports/graphics/darktable/darktable-3.6.1/src/develop/
H A Ddevelop.h339 double dpi, dpi_factor, ppd, ppd_thb; member
/dports/graphics/darktable/darktable-3.6.1/src/libs/
H A Dduplicate.c327 const float scaler = 1.0f / darktable.gui->ppd_thb; in gui_post_expose()
/dports/graphics/darktable38/darktable-3.8.0/src/libs/
H A Dduplicate.c327 const float scaler = 1.0f / darktable.gui->ppd_thb; in gui_post_expose()
H A Dprint_settings.c1806 const float scaler = 1.0f / darktable.gui->ppd_thb; in gui_post_expose()
/dports/graphics/darktable38/darktable-3.8.0/src/views/
H A Dtethering.c347 const float scaler = 1.0f / darktable.gui->ppd_thb; in _expose_tethered_mode()
H A Dview.c1025 float scale = fminf(width / (float)buf_wd, height / (float)buf_ht) * darktable.gui->ppd_thb; in dt_view_image_get_surface()
H A Ddarkroom.c4460 dev->second_window.ppd = dev->second_window.ppd_thb = dt_get_system_gui_ppd(widget); in _second_window_configure_ppd_dpi()
4462 dev->second_window.ppd_thb *= DT_GUI_THUMBSIZE_REDUCE; in _second_window_configure_ppd_dpi()