Lines Matching full:desty
584 * If Pixel.ZoomY is -1, *destY will be changed to be the first row which
585 * we'll actually write. Beforehand, *destY-1 is the first drawing row.
592 GLint *destX, GLint *destY,
620 if (*destY < buffer->_Ymin) {
621 unpack->SkipRows += (buffer->_Ymin - *destY);
622 *height -= (buffer->_Ymin - *destY);
623 *destY = buffer->_Ymin;
626 if (*destY + *height > buffer->_Ymax)
627 *height -= (*destY + *height - buffer->_Ymax);
631 if (*destY > buffer->_Ymax) {
632 unpack->SkipRows += (*destY - buffer->_Ymax);
633 *height -= (*destY - buffer->_Ymax);
634 *destY = buffer->_Ymax;
637 if (*destY - *height < buffer->_Ymin)
638 *height -= (buffer->_Ymin - (*destY - *height));
639 /* adjust destY so it's the first row to write to */
640 (*destY)--;
713 GLint *destX, GLint *destY,
723 *destY = *destY + *srcY - srcY0;