Home | History | Annotate | Download | only in epoc

Lines Matching defs:rect2

511         SDL_Rect rect2;
513 rect2.x = currentRect.x;
514 rect2.y = currentRect.y;
515 rect2.w = currentRect.w;
516 rect2.h = currentRect.h;
518 if (rect2.w <= 0 || rect2.h <= 0) /* sanity check */
522 rect2.y >>= 1;
523 if (!(rect2.h >>= 1))
524 rect2.h = 1; // always at least 1 pixel height!
530 TInt maxX = Min(screenW - 1, rect2.x + rect2.w - 1);
531 TInt maxY = Min(screenH - 1, rect2.y + rect2.h - 1);
536 TInt sourceRectWidth = maxX - rect2.x + 1;
538 TInt sourceRectHeight = maxY - rect2.y + 1;
539 TInt sourceStartOffset = rect2.x + rect2.y * sourceScanlineLength;
540 TInt targetStartOffset = fixedOffset + rect2.x + rect2.y * targetScanlineLength;