Lines Matching defs:destY
598 * If Pixel.ZoomY is -1, *destY will be changed to be the first row which
599 * we'll actually write. Beforehand, *destY-1 is the first drawing row.
606 GLint *destX, GLint *destY,
634 if (*destY < buffer->_Ymin) {
635 unpack->SkipRows += (buffer->_Ymin - *destY);
636 *height -= (buffer->_Ymin - *destY);
637 *destY = buffer->_Ymin;
640 if (*destY + *height > buffer->_Ymax)
641 *height -= (*destY + *height - buffer->_Ymax);
645 if (*destY > buffer->_Ymax) {
646 unpack->SkipRows += (*destY - buffer->_Ymax);
647 *height -= (*destY - buffer->_Ymax);
648 *destY = buffer->_Ymax;
651 if (*destY - *height < buffer->_Ymin)
652 *height -= (buffer->_Ymin - (*destY - *height));
653 /* adjust destY so it's the first row to write to */
654 (*destY)--;
739 GLint *destX, GLint *destY,
749 *destY = *destY + *srcY - srcY0;