Lines Matching defs:destY
474 * If Pixel.ZoomY is -1, *destY will be changed to be the first row which
475 * we'll actually write. Beforehand, *destY-1 is the first drawing row.
482 GLint *destX, GLint *destY,
510 if (*destY < buffer->_Ymin) {
511 unpack->SkipRows += (buffer->_Ymin - *destY);
512 *height -= (buffer->_Ymin - *destY);
513 *destY = buffer->_Ymin;
516 if (*destY + *height > buffer->_Ymax)
517 *height -= (*destY + *height - buffer->_Ymax);
521 if (*destY > buffer->_Ymax) {
522 unpack->SkipRows += (*destY - buffer->_Ymax);
523 *height -= (*destY - buffer->_Ymax);
524 *destY = buffer->_Ymax;
527 if (*destY - *height < buffer->_Ymin)
528 *height -= (buffer->_Ymin - (*destY - *height));
529 /* adjust destY so it's the first row to write to */
530 (*destY)--;
615 GLint *destX, GLint *destY,
625 *destY = *destY + *srcY - srcY0;