Lines Matching refs:to_x

250     Position to_x = InBitmapX(BW, x + width);
253 QuerySwap(from_x, to_x);
257 to_x = min(BW->bitmap.image->width - 1, to_x);
260 for (x = from_x; x <= to_x; x++)
268 Position to_x, Position to_y)
273 QuerySwap(from_x, to_x);
277 to_x = min(BW->bitmap.image->width - 1, to_x);
280 for(i = from_x + (from_x == 0); i <= to_x; i++)
290 InWindowX(BW, to_x + 1), InWindowY(BW, i));
302 Position to_x = InBitmapX(BW, x + width);
306 BWDrawGrid(w, from_x, from_y, to_x, to_y);
312 Position to_x, Position to_y, int value)
318 dx = to_x - from_x;
339 Position to_x, Position to_y, int value)
345 dx = to_x - from_x;
368 Position to_x, Position to_y, int value)
373 QuerySwap(from_x, to_x);
376 width = to_x - from_x;
385 BWDrawPoint(w, to_x - i, to_y, value);
389 BWDrawPoint(w, to_x, from_y + i, value);
396 to_x, to_y, value);
402 Position to_x, Position to_y, int value)
406 QuerySwap(from_x, to_x);
409 for (x = from_x; x <= to_x; x++)
598 min(BW->bitmap.hot.x, BW->bitmap.mark.to_x)))\
609 Position from_x, from_y, to_x, to_y;
614 to_x = BW->bitmap.mark.to_x;
620 to_x = BW->bitmap.width - 1;
627 for(x = from_x; x <= to_x; x++) {
655 Position from_x, from_y, to_x, to_y;
660 to_x = BW->bitmap.mark.to_x;
666 to_x = BW->bitmap.width - 1;
673 for(x = from_x; x <= to_x; x++) {
699 Position from_x, from_y, to_x, to_y;
704 to_x = BW->bitmap.mark.to_x;
710 to_x = BW->bitmap.width - 1;
714 if ((to_x - from_x) == 0)
718 first = left = GetBit(BW->bitmap.image, to_x, y);
719 for(x = to_x - 1; x >= from_x; x--) {
726 InvertPoint(BW, to_x, y);
744 Position from_x, from_y, to_x, to_y;
749 to_x = BW->bitmap.mark.to_x;
755 to_x = BW->bitmap.width - 1;
759 if ((to_x - from_x) == 0)
764 for(x = from_x + 1; x <= to_x; x++) {
900 Position from_x, from_y, to_x, to_y;
906 to_x = BW->bitmap.mark.to_x;
912 to_x = BW->bitmap.width - 1;
920 for (x = from_x; x <= to_x; x++)
941 Position from_x, from_y, to_x, to_y;
947 to_x = BW->bitmap.mark.to_x;
953 to_x = BW->bitmap.width - 1;
956 half = (float) (to_x - from_x) / 2.0 + 0.5;
964 GetBit(BW->bitmap.image, to_x - x, y)) {
966 InvertPoint(BW, to_x - x, y);
986 Position from_x, from_y, to_x, to_y;
991 to_x = BW->bitmap.mark.to_x;
997 to_x = BW->bitmap.width - 1;
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;
1068 Position from_x, from_y, to_x, to_y;
1073 to_x = BW->bitmap.mark.to_x;
1079 to_x = BW->bitmap.width - 1;
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;
1145 Position to_x, Position to_y,
1150 delta_x = to_x - from_x + 1;
1203 width = BW->bitmap.mark.to_x - BW->bitmap.mark.from_x + 1;
1214 BW->bitmap.mark.to_x, BW->bitmap.mark.to_y,
1228 BW->bitmap.mark.to_x,
1242 at_x + BW->bitmap.mark.to_x - BW->bitmap.mark.from_x,
1308 width = BW->bitmap.mark.to_x - BW->bitmap.mark.from_x + 1;
1317 BW->bitmap.mark.to_x, BW->bitmap.mark.to_y,
1338 width = BW->bitmap.mark.to_x - BW->bitmap.mark.from_x + 1;
1347 BW->bitmap.mark.to_x, BW->bitmap.mark.to_y,
1352 BW->bitmap.mark.to_x, BW->bitmap.mark.to_y,
1358 at_x + BW->bitmap.mark.to_x - BW->bitmap.mark.from_x,
1374 InWindowX(BW, BW->bitmap.mark.to_x + 1) -
1403 InWindowX(BW, BW->bitmap.mark.to_x + 1) -
1409 BW->bitmap.mark.to_x = BW->bitmap.mark.to_y = NotSet;
1415 Position to_x, Position to_y)
1422 if ((from_x == to_x) && (from_y == to_y)) {
1426 BW->bitmap.mark.to_x = BW->bitmap.image->width - 1;
1432 QuerySwap(from_x, to_x);
1436 to_x = min(BW->bitmap.image->width - 1, to_x);
1441 BW->bitmap.mark.to_x = to_x;
1448 InWindowX(BW, BW->bitmap.mark.to_x + 1) -
1487 BW->bitmap.buffer_mark.to_x, BW->bitmap.buffer_mark.to_y);