Searched refs:MIN (Results 1 - 25 of 29) sorted by relevance

12

/inkscape/src/display/
H A Dsp-ctrlcurve.cpp126 min_x = MIN( min_x, p1[Geom::X] );
127 min_y = MIN( min_y, p1[Geom::Y] );
131 min_x = MIN( min_x, p2[Geom::X] );
132 min_y = MIN( min_y, p2[Geom::Y] );
136 min_x = MIN( min_x, p3[Geom::X] );
137 min_y = MIN( min_y, p3[Geom::Y] );
H A Dsodipodi-ctrlrect.cpp202 canvas->requestRedraw(MIN(area_old[X].min(),area[X].min()) - 1, area[Y].min() - 1,
206 canvas->requestRedraw(MIN(area_old[X].max(),area[X].max()) - 1, area[Y].min() - 1,
222 canvas->requestRedraw(area[X].min() - 1, MIN(area_old[Y].min(),area[Y].min()) - 1,
226 canvas->requestRedraw(area[X].min() - 1, MIN(area_old[Y].max(),area[Y].max()) - 1,
242 canvas->requestRedraw(area[X].max() - 1, MIN(area_old[Y].min(),area[Y].min()) - 1,
246 canvas->requestRedraw(area[X].max() - 1, MIN(area_old[Y].max(),area[Y].max()) - 1,
262 canvas->requestRedraw(MIN(area_old[X].min(),area[X].min()) - 1, area[Y].max() - 1,
266 canvas->requestRedraw(MIN(area_old[X].max(),area[X].max()) - 1, area[Y].max() - 1,
H A Dsp-ctrlline.cpp128 item->x1 = round(MIN(s[Geom::X], e[Geom::X]) - 1);
129 item->y1 = round(MIN(s[Geom::Y], e[Geom::Y]) - 1);
H A Dsodipodi-ctrl.cpp390 while (x < MIN(c+s+1, c+z)) {
/inkscape/src/
H A Dcolor.cpp18 #define MIN(X,Y) ((X) < (Y) ? (X) : (Y)) macro
261 min = MIN (MIN (r, g), b);
337 float min = MIN (MIN (r, g), b);
410 k = MIN (MIN (c, m), y);
H A Dcontext-fns.cpp211 return Geom::Rect(Geom::Point(MIN(p[0][Geom::X], p[1][Geom::X]), MIN(p[0][Geom::Y], p[1][Geom::Y])),
H A Dinkview.cpp312 MIN ((int)(ss.doc)->getWidth().value("px"), (int)gdk_screen_width() - 64),
313 MIN ((int)(ss.doc)->getHeight().value("px"), (int)gdk_screen_height() - 64));
H A Dviewbox.cpp184 scale_uniform = (this->aspect_clip == SP_ASPECT_MEET) ? MIN (scale_x, scale_y) : MAX (scale_x, scale_y);
H A Dsp-namedview.cpp758 gint ax = MIN(gdk_screen_width() - minOnscreen, x);
759 gint ay = MIN(gdk_screen_height() - minOnscreen, y);
798 gint w = MIN(gdk_screen_width(), nv->window_width);
799 gint h = MIN(gdk_screen_height(), nv->window_height);
H A Dsp-flowtext.cpp640 Geom::Coord const x0 = MIN(p0[X], p1[X]);
641 Geom::Coord const y0 = MIN(p0[Y], p1[Y]);
H A Dseltrans.cpp893 default_scale[i] = 1/round(1/(MIN(default_scale[i], 10)));
1002 default_scale[axis] = 1/round(1/(MIN(default_scale[axis], 10)));
H A Dinkscape.cpp579 size_t len = MIN (d - docname, 63);
/inkscape/src/ui/
H A Dobject-edit.cpp156 gdouble temp = MIN(rect->height.computed, rect->width.computed) / 2.0;
206 gdouble temp = MIN(rect->height.computed, rect->width.computed) / 2.0;
212 MIN(rect->height.computed / 2.0, rect->width.computed / 2.0));
386 rect->y = MIN(origin[Geom::Y] + minx / ratio, opposite_y);
394 rect->y = MIN(origin[Geom::Y], opposite_y);
397 rect->x = MIN(s[Geom::X], opposite_x);
407 rect->x = MIN(origin[Geom::X] + miny * ratio, opposite_x);
415 rect->x = MIN(origin[Geom::X], opposite_x);
418 rect->y = MIN(s[Geom::Y], opposite_y);
428 rect->x = MIN(
[all...]
H A Dinterface.cpp192 gint w = MIN(gdk_screen_width(), pw);
193 gint h = MIN(gdk_screen_height(), ph);
194 gint x = MIN(gdk_screen_width() - MIN_ONSCREEN_DISTANCE, px);
195 gint y = MIN(gdk_screen_height() - MIN_ONSCREEN_DISTANCE, py);
197 x = MIN(gdk_screen_width() - w, x);
198 y = MIN(gdk_screen_height() - h, y);
/inkscape/src/helper/
H A Dpng-write.cpp321 num_rows = MIN(num_rows, static_cast<int>(ebp->sheight));
322 num_rows = MIN(num_rows, static_cast<int>(ebp->height - row));
/inkscape/src/ui/tools/
H A Dflood-tool.cpp620 *min_x = MIN(*min_x, bci.x);
858 pw[Geom::X] = (int)MIN(width - 1, MAX(0, pw[Geom::X]));
859 pw[Geom::Y] = (int)MIN(height - 1, MAX(0, pw[Geom::Y]));
965 min_y = MIN((unsigned int)y, min_y);
H A Drect-tool.cpp403 this->rect->setRy(true, CLAMP(this->ry, 0, MIN(r.dimensions()[Geom::X], r.dimensions()[Geom::Y])/2));
H A Dcalligraphic-tool.cpp369 double min = MIN (MIN (R, G), B);
H A Dspray-tool.cpp458 double base = MIN (val - rand, 1 - 2*rand);
462 val = base + g_random_double_range (0, MIN (2 * rand, 1 - base));
/inkscape/src/ui/tool/
H A Dtransform-handle-set.cpp265 scale[i] = 1.0 / round(1.0 / MIN(scale[i],10));
353 vs[d1] = 1.0 / round(1.0 / MIN(vs[d1],10));
/inkscape/src/ui/widget/
H A Dgimpcolorwheel.c390 priv->size = MIN (allocation->width - 2 * (focus_width + focus_pad),
1132 x_end = MIN (xr + PAD, width);
1133 x_start = MIN (x_start, x_end);
/inkscape/src/libnrtype/
H A DLayout-TNG-OutIter.cpp779 n = MIN (n, static_cast<int>(_parent_layout->_lines.size() - 1 - line_index));
802 n = MIN (n, static_cast<int>(line_index));
/inkscape/src/extension/internal/
H A Dcairo-renderer.cpp826 scale = (aspect_clip == SP_ASPECT_MEET) ? MIN(scalex, scaley) : MAX(scalex, scaley);
/inkscape/src/widgets/
H A Dstroke-style.cpp773 size_t len = MIN(style->stroke_dasharray.values.size(), 64);
H A Ddesktop-widget.cpp970 double oldshortside = MIN( area.width(), area.height());
971 double newshortside = MIN(newarea.width(), newarea.height());

Completed in 287 milliseconds

12