Lines Matching refs:py
127 // Returns the fraction of the pixel at (px, py) covered by
130 double py, double radius) {
133 py -= cy;
137 py = Math.abs(py);
140 if (py > px) {
144 px = py;
145 py = temp;
150 double bottom = py - 0.5;
151 double top = py + 0.5;
249 for (int py=0; py<maskHeight; py++) {
251 double shading = calcPixelShading(cx, cy, px, py, radius);
252 pixels[maskWidth*py + px] =