Lines Matching refs:bounds

140         // Otherwise we need to convert the source bounds into the range [0,1]
196 // specify a raster position that is outside the surface bounds, the raster
199 // surface bounds while maintaining its status as valid. The following
471 srcInfo.bounds.x1 = sx1;
472 srcInfo.bounds.y1 = sy1;
473 srcInfo.bounds.x2 = sx2;
474 srcInfo.bounds.y2 = sy2;
476 SurfaceData_IntersectBoundsXYXY(&srcInfo.bounds,
479 if (srcInfo.bounds.x2 > srcInfo.bounds.x1 &&
480 srcInfo.bounds.y2 > srcInfo.bounds.y1)
482 if (srcInfo.bounds.x1 != sx1) {
483 dx1 += (srcInfo.bounds.x1 - sx1) * (dw / sw);
484 sx1 = srcInfo.bounds.x1;
486 if (srcInfo.bounds.y1 != sy1) {
487 dy1 += (srcInfo.bounds.y1 - sy1) * (dh / sh);
488 sy1 = srcInfo.bounds.y1;
490 if (srcInfo.bounds.x2 != sx2) {
491 dx2 += (srcInfo.bounds.x2 - sx2) * (dw / sw);
492 sx2 = srcInfo.bounds.x2;
494 if (srcInfo.bounds.y2 != sy2) {
495 dy2 += (srcInfo.bounds.y2 - sy2) * (dh / sh);
496 sy2 = srcInfo.bounds.y2;
594 srcInfo.bounds.x1 = sx1;
595 srcInfo.bounds.y1 = sy1;
596 srcInfo.bounds.x2 = sx2;
597 srcInfo.bounds.y2 = sy2;
605 if (srcInfo.bounds.x2 > srcInfo.bounds.x1 &&
606 srcInfo.bounds.y2 > srcInfo.bounds.y1)
610 if (srcInfo.bounds.x1 != sx1) {
611 dx1 += (srcInfo.bounds.x1 - sx1) * (dw / sw);
612 sx1 = srcInfo.bounds.x1;
614 if (srcInfo.bounds.y1 != sy1) {
615 dy1 += (srcInfo.bounds.y1 - sy1) * (dh / sh);
616 sy1 = srcInfo.bounds.y1;
618 if (srcInfo.bounds.x2 != sx2) {
619 dx2 += (srcInfo.bounds.x2 - sx2) * (dw / sw);
620 sx2 = srcInfo.bounds.x2;
622 if (srcInfo.bounds.y2 != sy2) {
623 dy2 += (srcInfo.bounds.y2 - sy2) * (dh / sh);
624 sy2 = srcInfo.bounds.y2;
722 srcInfo.bounds.x1 = srcx;
723 srcInfo.bounds.y1 = srcy;
724 srcInfo.bounds.x2 = srcx + width;
725 srcInfo.bounds.y2 = srcy + height;
726 dstInfo.bounds.x1 = dstx;
727 dstInfo.bounds.y1 = dsty;
728 dstInfo.bounds.x2 = dstx + width;
729 dstInfo.bounds.y2 = dsty + height;
737 SurfaceData_IntersectBoundsXYXY(&srcInfo.bounds,
739 SurfaceData_IntersectBlitBounds(&dstInfo.bounds, &srcInfo.bounds,
742 if (srcInfo.bounds.x2 > srcInfo.bounds.x1 &&
743 srcInfo.bounds.y2 > srcInfo.bounds.y1)
749 srcx = srcInfo.bounds.x1;
750 srcy = srcInfo.bounds.y1;
751 dstx = dstInfo.bounds.x1;
752 dsty = dstInfo.bounds.y1;
753 width = srcInfo.bounds.x2 - srcInfo.bounds.x1;
754 height = srcInfo.bounds.y2 - srcInfo.bounds.y1;