< prev index next >

src/java.desktop/share/classes/sun/java2d/pisces/PiscesCache.java

Print this page

        

*** 165,174 **** --- 165,183 ---- rowAARLE[row][end++] = a; rowAARLE[row][end++] = b; rowAARLE[row][1] = end; } + void getBBox(int bbox[]) { + // Since we add +1 to bboxX1,bboxY1 so when PTG asks for bbox, + // we will give after -1 + bbox[0] = bboxX0; + bbox[1] = bboxY0; + bbox[2] = bboxX1 - 1; + bbox[3] = bboxY1 - 1; + } + @Override public String toString() { String ret = "bbox = ["+ bboxX0+", "+bboxY0+" => "+ bboxX1+", "+bboxY1+"]\n";
< prev index next >