Lines Matching defs:minx
280 gdouble minx = p[Geom::X] - origin[Geom::X];
285 if (fabs(minx) > fabs(miny)) {
287 if (minx != 0 && fabs(miny/minx) > 0.5 * 1/ratio && (SGN(minx) == SGN(miny))) {
290 minx = s[Geom::X] - origin[Geom::X];
293 rect->height = MAX(h_orig + minx / ratio, 0);
297 minx = s[Geom::X] - origin[Geom::X];
302 rect->width = MAX(w_orig + minx, 0);
306 if (miny != 0 && fabs(minx/miny) > 0.5 * ratio && (SGN(minx) == SGN(miny))) {
309 // Dead assignment: Value stored to 'minx' is never read
310 //minx = s[Geom::X] - origin[Geom::X];
316 // Dead assignment: Value stored to 'minx' is never read
317 //minx = s[Geom::X] - origin[Geom::X];
371 gdouble minx = p[Geom::X] - origin[Geom::X];
378 if (fabs(minx) > fabs(miny)) {
380 if (minx != 0 && fabs(miny/minx) > 0.5 * 1/ratio && (SGN(minx) == SGN(miny))) {
383 minx = s[Geom::X] - origin[Geom::X];
386 rect->y = MIN(origin[Geom::Y] + minx / ratio, opposite_y);
387 rect->height = MAX(h_orig - minx / ratio, 0);
391 minx = s[Geom::X] - origin[Geom::X];
398 rect->width = MAX(w_orig - minx, 0);
401 if (miny != 0 && fabs(minx/miny) > 0.5 *ratio && (SGN(minx) == SGN(miny))) {
404 // Dead assignment: Value stored to 'minx' is never read
405 //minx = s[Geom::X] - origin[Geom::X];
412 // Dead assignment: Value stored to 'minx' is never read
413 //minx = s[Geom::X] - origin[Geom::X];
425 minx = s[Geom::X] - origin[Geom::X];
430 rect->width = MAX(w_orig - minx, 0);