equal
deleted
inserted
replaced
742 x2 = x0w + (px >> shift); |
742 x2 = x0w + (px >> shift); |
743 y2 = y0w + (py >> shift); |
743 y2 = y0w + (py >> shift); |
744 |
744 |
745 /* Checking that we are not running out of the endpoint and bounding |
745 /* Checking that we are not running out of the endpoint and bounding |
746 * violating coordinate. The check is pretty simple because the |
746 * violating coordinate. The check is pretty simple because the |
747 * curve passed to the DrawCubic already splitted into the |
747 * curve passed to the DrawCubic already split into the |
748 * monotonic in X and Y pieces |
748 * monotonic in X and Y pieces |
749 */ |
749 */ |
750 |
750 |
751 /* Bounding x2 by xe */ |
751 /* Bounding x2 by xe */ |
752 if (((xe-x2)^dx) < 0) { |
752 if (((xe-x2)^dx) < 0) { |
1103 x2 = x0w + (px >> shift); |
1103 x2 = x0w + (px >> shift); |
1104 y2 = y0w + (py >> shift); |
1104 y2 = y0w + (py >> shift); |
1105 |
1105 |
1106 /* Checking that we are not running out of the endpoint and |
1106 /* Checking that we are not running out of the endpoint and |
1107 * bounding violating coordinate. The check is pretty simple |
1107 * bounding violating coordinate. The check is pretty simple |
1108 * because the curve passed to the DrawCubic already splitted |
1108 * because the curve passed to the DrawCubic already split |
1109 * into the monotonic in X and Y pieces |
1109 * into the monotonic in X and Y pieces |
1110 */ |
1110 */ |
1111 |
1111 |
1112 /* Bounding x2 by xe */ |
1112 /* Bounding x2 by xe */ |
1113 if (((xe-x2)^dx) < 0) { |
1113 if (((xe-x2)^dx) < 0) { |