Searched refs:fitscale (Results 1 – 4 of 4) sorted by relevance
/dports/graphics/darktable/darktable-3.6.1/src/views/ |
H A D | darkroom.c | 3626 else if(scale >= fitscale) in scrolled() 3633 …if(fitscale <= 2.0f && ((scale == fitscale && constrained) || scale < 0.5 * fitscale)) return; // … in scrolled() 3637 if(scale <= fitscale) in scrolled() 3652 if((scale - fitscale) * (oldscale - fitscale) < 0) scale = fitscale; in scrolled() 3653 scale = fmaxf(scale, 0.5 * fitscale); in scrolled() 3658 if((scale - fitscale) * (oldscale - fitscale) < 0) scale = fitscale; in scrolled() 4279 else if(scale >= fitscale) in second_window_scrolled() 4286 …if(fitscale <= 2.0f && ((scale == fitscale && constrained) || scale < 0.5 * fitscale)) return; // … in second_window_scrolled() 4290 if(scale <= fitscale) in second_window_scrolled() 4304 if((scale - fitscale) * (oldscale - fitscale) < 0) scale = fitscale; in second_window_scrolled() [all …]
|
/dports/graphics/darktable38/darktable-3.8.0/src/views/ |
H A D | darkroom.c | 3720 else if(scale >= fitscale) in scrolled() 3727 …if(fitscale <= 2.0f && ((scale == fitscale && constrained) || scale < 0.5 * fitscale)) return; // … in scrolled() 3731 if(scale <= fitscale) in scrolled() 3746 if((scale - fitscale) * (oldscale - fitscale) < 0) scale = fitscale; in scrolled() 3747 scale = fmaxf(scale, 0.5 * fitscale); in scrolled() 3752 if((scale - fitscale) * (oldscale - fitscale) < 0) scale = fitscale; in scrolled() 4235 else if(scale >= fitscale) in second_window_scrolled() 4242 …if(fitscale <= 2.0f && ((scale == fitscale && constrained) || scale < 0.5 * fitscale)) return; // … in second_window_scrolled() 4246 if(scale <= fitscale) in second_window_scrolled() 4260 if((scale - fitscale) * (oldscale - fitscale) < 0) scale = fitscale; in second_window_scrolled() [all …]
|
/dports/print/pdflib-perl/PDFlib-Lite-7.0.5p3/libs/pdflib/ |
H A D | p_image.c | 956 pdc_vector tmpscale, elemscale, fitscale, purescale; in pdf_fit_xobject_internal() local 1181 &elemsize, &relpos, &elembox, &fitscale); in pdf_fit_xobject_internal() 1187 fitscale.x, fitscale.y); in pdf_fit_xobject_internal() 1289 ss = fitscale.x; in pdf_fit_xobject_internal() 1290 fitscale.x = fitscale.y; in pdf_fit_xobject_internal() 1291 fitscale.y = ss; in pdf_fit_xobject_internal() 1300 mirror.x = elemscale.x * fitscale.x; in pdf_fit_xobject_internal() 1304 mirror.y = p->ydirection * elemscale.y * fitscale.y; in pdf_fit_xobject_internal() 1306 mirror.y = p->ydirection * rowsize * fitscale.y; in pdf_fit_xobject_internal() 1352 purescale.x *= fitscale.x; in pdf_fit_xobject_internal() [all …]
|
/dports/print/pdflib/PDFlib-Lite-7.0.5p3/libs/pdflib/ |
H A D | p_image.c | 956 pdc_vector tmpscale, elemscale, fitscale, purescale; in pdf_fit_xobject_internal() local 1181 &elemsize, &relpos, &elembox, &fitscale); in pdf_fit_xobject_internal() 1187 fitscale.x, fitscale.y); in pdf_fit_xobject_internal() 1289 ss = fitscale.x; in pdf_fit_xobject_internal() 1290 fitscale.x = fitscale.y; in pdf_fit_xobject_internal() 1291 fitscale.y = ss; in pdf_fit_xobject_internal() 1300 mirror.x = elemscale.x * fitscale.x; in pdf_fit_xobject_internal() 1304 mirror.y = p->ydirection * elemscale.y * fitscale.y; in pdf_fit_xobject_internal() 1306 mirror.y = p->ydirection * rowsize * fitscale.y; in pdf_fit_xobject_internal() 1352 purescale.x *= fitscale.x; in pdf_fit_xobject_internal() [all …]
|