Lines Matching refs:top
266 png_bytepp rows, int left, int top, int right, int bottom)
268 png_bytep color = rows[top] + left*4;
270 if (left > right || top > bottom) {
274 while (top <= bottom) {
276 png_bytep p = rows[top]+i*4;
286 top++;
316 int left, right, top, bottom;
322 image->height, &top, &bottom);
324 // hpatch, vpatch, left, top, right, bottom);
325 const uint32_t c = get_color(image->rows, left, top, right, bottom);
326 NOISY(printf("Color in (%d,%d)-(%d,%d): #%08x\n", left, top, right, bottom, c));
347 int top;
383 errorEdge = "top";
387 // Find top and bottom of sizing areas...
403 // Find top and bottom of padding area...
481 top = 0;
483 // The first row always starts with the top being at y=0 and the bottom
486 // The last row always ends with the bottom being bitmap.height and the top
500 j <= numYDivs && top < H;
518 c = get_color(image->rows, left, top, right - 1, bottom - 1);
523 top = bottom;