Home | History | Annotate | Download | only in dist

Lines Matching defs: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++)
601 ((BW->bitmap.hot.x == max(BW->bitmap.mark.from_x,\
620 Position from_x, from_y, to_x, to_y;
623 from_x = BW->bitmap.mark.from_x;
629 from_x = 0;
638 for(x = from_x; x <= to_x; x++) {
673 Position from_x, from_y, to_x, to_y;
676 from_x = BW->bitmap.mark.from_x;
682 from_x = 0;
691 for(x = from_x; x <= to_x; x++) {
724 Position from_x, from_y, to_x, to_y;
727 from_x = BW->bitmap.mark.from_x;
733 from_x = 0;
739 if ((to_x - from_x) == 0)
744 for(x = to_x - 1; x >= from_x; x--) {
776 Position from_x, from_y, to_x, to_y;
779 from_x = BW->bitmap.mark.from_x;
785 from_x = 0;
791 if ((to_x - from_x) == 0)
795 first = right = GetBit(BW->bitmap.image, from_x, y);
796 for(x = from_x + 1; x <= to_x; x++) {
803 InvertPoint(BW, from_x, y);
968 Position from_x, from_y, to_x, to_y;
972 from_x = BW->bitmap.mark.from_x;
978 from_x = 0;
988 for (x = from_x; x <= to_x; x++)
1016 Position from_x, from_y, to_x, to_y;
1020 from_x = BW->bitmap.mark.from_x;
1026 from_x = 0;
1031 half = (float) (to_x - from_x) / 2.0 + 0.5;
1038 if (GetBit(BW->bitmap.image, from_x + x, y) !=
1040 InvertPoint(BW, from_x + x, 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,
1157 Position from_x, from_y, to_x, to_y;
1160 from_x = BW->bitmap.mark.from_x;
1166 from_x = 0;
1172 half_width = floor((to_x - from_x) / 2.0 + 0.5);
1174 shift = min((Position)(to_x - from_x), (Position)(to_y - from_y )) % 2;
1180 from_x + (Position)half_width + x,
1183 from_x + (Position)half_width + y,
1186 from_x + (Position)half_width - shift - x,
1189 from_x + (Position)half_width - shift - y,
1194 from_x + (Position)half_width + x,
1198 from_x + (Position)half_width + y,
1202 from_x + (Position)half_width - shift - x,
1206 from_x + (Position)half_width - shift - y,
1233 Position from_x, Position from_y,
1239 delta_x = to_x - from_x + 1;
1244 if (GetBit(source, from_x + x, from_y + y))
1288 if (QuerySet(BW->bitmap.mark.from_x, BW->bitmap.mark.from_y)) {
1292 width = BW->bitmap.mark.to_x - BW->bitmap.mark.from_x + 1;
1302 BW->bitmap.mark.from_x, BW->bitmap.mark.from_y,
1313 if (QuerySet(BW->bitmap.mark.from_x, BW->bitmap.mark.from_y))
1315 BW->bitmap.mark.from_x,
1328 if (QuerySet(BW->bitmap.mark.from_x, BW->bitmap.mark.from_y))
1331 at_x + BW->bitmap.mark.to_x - BW->bitmap.mark.from_x,
1395 if (QuerySet(BW->bitmap.mark.from_x, BW->bitmap.mark.from_y)) {
1397 width = BW->bitmap.mark.to_x - BW->bitmap.mark.from_x + 1;
1405 BW->bitmap.mark.from_x, BW->bitmap.mark.from_y,
1425 if (QuerySet(BW->bitmap.mark.from_x, BW->bitmap.mark.from_y)) {
1427 width = BW->bitmap.mark.to_x - BW->bitmap.mark.from_x + 1;
1435 BW->bitmap.mark.from_x, BW->bitmap.mark.from_y,
1440 BW->bitmap.mark.from_x, BW->bitmap.mark.from_y,
1447 at_x + BW->bitmap.mark.to_x - BW->bitmap.mark.from_x,
1459 if (QuerySet(BW->bitmap.mark.from_x, BW->bitmap.mark.from_y))
1461 InWindowX(BW, BW->bitmap.mark.from_x),
1464 InWindowX(BW, BW->bitmap.mark.from_x),
1495 if (QuerySet(BW->bitmap.mark.from_x, BW->bitmap.mark.from_y)) {
1497 InWindowX(BW, BW->bitmap.mark.from_x),
1500 InWindowX(BW, BW->bitmap.mark.from_x),
1504 BW->bitmap.mark.from_x = BW->bitmap.mark.from_y = NotSet;
1510 BWMark(Widget w, Position from_x, Position from_y,
1517 if (QuerySet(from_x, from_y)) {
1518 if ((from_x == to_x) && (from_y == to_y)) {
1520 BW->bitmap.mark.from_x = 0;
1528 QuerySwap(from_x, to_x);
1530 from_x = max(0, from_x);
1535 BW->bitmap.mark.from_x = from_x;
1542 InWindowX(BW, BW->bitmap.mark.from_x),
1545 InWindowX(BW, BW->bitmap.mark.from_x),
1589 BWMark(w, BW->bitmap.buffer_mark.from_x, BW->bitmap.buffer_mark.from_y,