Lines Matching refs:sRect
473 SliceRectF sRect; in stretchRect() local
478 sRect.x0 = sourceRect->x0; in stretchRect()
479 sRect.x1 = sourceRect->x1; in stretchRect()
480 sRect.y0 = sourceRect->y0; in stretchRect()
481 sRect.y1 = sourceRect->y1; in stretchRect()
482 sRect.slice = sourceRect->slice; in stretchRect()
484 if(sRect.x0 > sRect.x1) in stretchRect()
486 swap(sRect.x0, sRect.x1); in stretchRect()
489 if(sRect.y0 > sRect.y1) in stretchRect()
491 swap(sRect.y0, sRect.y1); in stretchRect()
496 sRect.y0 = 0.0f; in stretchRect()
497 sRect.x0 = 0.0f; in stretchRect()
498 sRect.y1 = (float)sHeight; in stretchRect()
499 sRect.x1 = (float)sWidth; in stretchRect()
525 ClipSrcRect(sRect, dRect, srcClipRect, flipX, flipY); in stretchRect()
528 ClipDstRect(sRect, dRect, dstClipRect, flipX, flipY); in stretchRect()
530 if((sRect.width() == 0) || (sRect.height() == 0) || in stretchRect()
536 if(!validRectangle(&sRect, source) || !validRectangle(&dRect, dest)) in stretchRect()
556 …bool isOutOfBounds = (sRect.x0 < 0.0f) || (sRect.y0 < 0.0f) || (sRect.x1 > (float)sWidth) || (sRec… in stretchRect()
557 …bool scaling = (sRect.width() != (float)dRect.width()) || (sRect.height() != (float)dRect.height()… in stretchRect()
560 bool fullCopy = (sRect.x0 == 0.0f) && (sRect.y0 == 0.0f) && (dRect.x0 == 0) && (dRect.y0 == 0) && in stretchRect()
561 …(sRect.x1 == (float)sWidth) && (sRect.y1 == (float)sHeight) && (dRect.x1 == dWidth) && (dRect.y1 =… in stretchRect()
585 …byte *sourceBuffer = (byte*)source->lockInternal((int)sRect.x0, (int)sRect.y0, 0, LOCK_READONLY, P… in stretchRect()
595 …byte *sourceBytes = (byte*)source->lockInternal((int)sRect.x0, (int)sRect.y0, sourceRect->slice, L… in stretchRect()
630 blit(source, sRect, dest, dRect, scaling && (flags & Device::USE_FILTER), isStencil); in stretchRect()