jdk/src/share/classes/sun/java2d/loops/ProcessPath.java
changeset 21278 ef8a3a2a72f2
parent 5506 202f599c92aa
child 22584 eed64ee05369
equal deleted inserted replaced
21277:bd380b80f9ea 21278:ef8a3a2a72f2
   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) {