Lines Matching refs:from_x

248     Position from_x = InBitmapX(BW, x);
253 QuerySwap(from_x, to_x);
255 from_x = max(0, from_x);
260 for (x = from_x; x <= to_x; x++)
267 Position from_x, Position from_y,
273 QuerySwap(from_x, to_x);
275 from_x = max(0, from_x);
280 for(i = from_x + (from_x == 0); i <= to_x; i++)
289 InWindowX(BW, from_x), InWindowY(BW, i),
300 Position from_x = InBitmapX(BW, x);
306 BWDrawGrid(w, from_x, from_y, to_x, to_y);
311 Position from_x, Position from_y,
318 dx = to_x - from_x;
320 x = from_x + 0.5;
333 BWDrawPoint(w, from_x, from_y, value);
338 Position from_x, Position from_y,
345 dx = to_x - from_x;
347 x = from_x + 0.5;
362 BWDrawPoint(w, from_x, from_y, value);
367 Position from_x, Position from_y,
373 QuerySwap(from_x, to_x);
376 width = to_x - from_x;
384 BWDrawPoint(w, from_x + i, from_y, value);
388 BWDrawPoint(w, from_x, to_y - i, value);
395 from_x, from_y,
401 Position from_x, Position from_y,
406 QuerySwap(from_x, to_x);
409 for (x = from_x; x <= to_x; x++)
597 ((BW->bitmap.hot.x == max(BW->bitmap.mark.from_x,\
609 Position from_x, from_y, to_x, to_y;
612 from_x = BW->bitmap.mark.from_x;
618 from_x = 0;
627 for(x = from_x; x <= to_x; x++) {
655 Position from_x, from_y, to_x, to_y;
658 from_x = BW->bitmap.mark.from_x;
664 from_x = 0;
673 for(x = from_x; x <= to_x; x++) {
699 Position from_x, from_y, to_x, to_y;
702 from_x = BW->bitmap.mark.from_x;
708 from_x = 0;
714 if ((to_x - from_x) == 0)
719 for(x = to_x - 1; x >= from_x; x--) {
744 Position from_x, from_y, to_x, to_y;
747 from_x = BW->bitmap.mark.from_x;
753 from_x = 0;
759 if ((to_x - from_x) == 0)
763 first = right = GetBit(BW->bitmap.image, from_x, y);
764 for(x = from_x + 1; x <= to_x; x++) {
771 InvertPoint(BW, from_x, y);
900 Position from_x, from_y, to_x, to_y;
904 from_x = BW->bitmap.mark.from_x;
910 from_x = 0;
920 for (x = from_x; x <= to_x; x++)
941 Position from_x, from_y, to_x, to_y;
945 from_x = BW->bitmap.mark.from_x;
951 from_x = 0;
956 half = (float) (to_x - from_x) / 2.0 + 0.5;
963 if (GetBit(BW->bitmap.image, from_x + x, y) !=
965 InvertPoint(BW, from_x + x, y);
986 Position from_x, from_y, to_x, to_y;
989 from_x = BW->bitmap.mark.from_x;
995 from_x = 0;
1001 half_width = floor((to_x - from_x) / 2.0 + 0.5);
1003 shift = min((Position)(to_x - from_x), (Position)(to_y - from_y )) % 2;
1009 from_x + (Position)half_width + x,
1012 from_x + (Position)half_width + y,
1015 from_x + (Position)half_width - shift - x,
1018 from_x + (Position)half_width - shift - y,
1023 from_x + (Position)half_width + x,
1027 from_x + (Position)half_width + y,
1031 from_x + (Position)half_width - shift - x,
1035 from_x + (Position)half_width - shift - y,
1068 Position from_x, from_y, to_x, to_y;
1071 from_x = BW->bitmap.mark.from_x;
1077 from_x = 0;
1083 half_width = floor((to_x - from_x) / 2.0 + 0.5);
1085 shift = min((Position)(to_x - from_x), (Position)(to_y - from_y )) % 2;
1091 from_x + (Position)half_width + x,
1094 from_x + (Position)half_width + y,
1097 from_x + (Position)half_width - shift - x,
1100 from_x + (Position)half_width - shift - y,
1105 from_x + (Position)half_width + x,
1109 from_x + (Position)half_width + y,
1113 from_x + (Position)half_width - shift - x,
1117 from_x + (Position)half_width - shift - y,
1144 Position from_x, Position from_y,
1150 delta_x = to_x - from_x + 1;
1155 if (GetBit(source, from_x + x, from_y + y))
1199 if (QuerySet(BW->bitmap.mark.from_x, BW->bitmap.mark.from_y)) {
1203 width = BW->bitmap.mark.to_x - BW->bitmap.mark.from_x + 1;
1213 BW->bitmap.mark.from_x, BW->bitmap.mark.from_y,
1224 if (QuerySet(BW->bitmap.mark.from_x, BW->bitmap.mark.from_y))
1226 BW->bitmap.mark.from_x,
1239 if (QuerySet(BW->bitmap.mark.from_x, BW->bitmap.mark.from_y))
1242 at_x + BW->bitmap.mark.to_x - BW->bitmap.mark.from_x,
1306 if (QuerySet(BW->bitmap.mark.from_x, BW->bitmap.mark.from_y)) {
1308 width = BW->bitmap.mark.to_x - BW->bitmap.mark.from_x + 1;
1316 BW->bitmap.mark.from_x, BW->bitmap.mark.from_y,
1336 if (QuerySet(BW->bitmap.mark.from_x, BW->bitmap.mark.from_y)) {
1338 width = BW->bitmap.mark.to_x - BW->bitmap.mark.from_x + 1;
1346 BW->bitmap.mark.from_x, BW->bitmap.mark.from_y,
1351 BW->bitmap.mark.from_x, BW->bitmap.mark.from_y,
1358 at_x + BW->bitmap.mark.to_x - BW->bitmap.mark.from_x,
1370 if (QuerySet(BW->bitmap.mark.from_x, BW->bitmap.mark.from_y))
1372 InWindowX(BW, BW->bitmap.mark.from_x),
1375 InWindowX(BW, BW->bitmap.mark.from_x),
1399 if (QuerySet(BW->bitmap.mark.from_x, BW->bitmap.mark.from_y)) {
1401 InWindowX(BW, BW->bitmap.mark.from_x),
1404 InWindowX(BW, BW->bitmap.mark.from_x),
1408 BW->bitmap.mark.from_x = BW->bitmap.mark.from_y = NotSet;
1414 BWMark(Widget w, Position from_x, Position from_y,
1421 if (QuerySet(from_x, from_y)) {
1422 if ((from_x == to_x) && (from_y == to_y)) {
1424 BW->bitmap.mark.from_x = 0;
1432 QuerySwap(from_x, to_x);
1434 from_x = max(0, from_x);
1439 BW->bitmap.mark.from_x = from_x;
1446 InWindowX(BW, BW->bitmap.mark.from_x),
1449 InWindowX(BW, BW->bitmap.mark.from_x),
1486 BWMark(w, BW->bitmap.buffer_mark.from_x, BW->bitmap.buffer_mark.from_y,