Lines Matching refs:dstBounds
355 SurfaceDataBounds dstBounds;
356 dstBounds.x1 = dx1;
357 dstBounds.y1 = dy1;
358 dstBounds.x2 = dx2;
359 dstBounds.y2 = dy2;
360 SurfaceData_IntersectBoundsXYXY(&dstBounds, 0, 0,
366 SurfaceData_IntersectBoundsXYXY(&dstBounds,
371 if (dstBounds.x1 != dx1) {
372 sx1 += (int)((dstBounds.x1 - dx1) * (sw / dw));
374 if (dstBounds.y1 != dy1) {
375 sy1 += (int)((dstBounds.y1 - dy1) * (sh / dh));
377 if (dstBounds.x2 != dx2) {
378 sx2 += (int)((dstBounds.x2 - dx2) * (sw / dw));
380 if (dstBounds.y2 != dy2) {
381 sy2 += (int)((dstBounds.y2 - dy2) * (sh / dh));
385 if (dstBounds.x1 >= dstBounds.x2 || dstBounds.y1 >= dstBounds.y2 ||
392 RECT dstRect = { dstBounds.x1, dstBounds.y1, dstBounds.x2, dstBounds.y2 };
1023 SurfaceDataBounds srcBounds, dstBounds;
1045 dstBounds.x1 = x + dx;
1046 dstBounds.y1 = y + dy;
1047 dstBounds.x2 = dstBounds.x1 + width;
1048 dstBounds.y2 = dstBounds.y1 + height;
1056 SurfaceData_IntersectBoundsXYXY(&dstBounds,
1060 SurfaceData_IntersectBoundsXYXY(&dstBounds,
1062 SurfaceData_IntersectBlitBounds(&dstBounds, &srcBounds, -dx, -dy);
1064 if (dstBounds.x1 < dstBounds.x2 && dstBounds.y1 < dstBounds.y2) {
1067 jint dx1 = dstBounds.x1, dy1 = dstBounds.y1,
1068 dx2 = dstBounds.x2, dy2 = dstBounds.y2;