Lines Matching defs:mask
259 Rect mask;
260 if (mask.Intersect(rectBefore, rectAfter)) {
261 int16_t x1 = mask.GetLeft();
262 int16_t x2 = mask.GetRight();
263 int16_t y1 = mask.GetTop();
264 int16_t y2 = mask.GetBottom();
428 Rect mask;
430 if (mask.Intersect(winRect, rect)) {
431 if (x1 != mask.GetLeft()) {
432 CalculateUpdateRegion(winNode->prev_, x1, y1, mask.GetLeft() - 1, y2);
435 if (y1 != mask.GetTop()) {
436 CalculateUpdateRegion(winNode->prev_, mask.GetLeft(), y1, x2, mask.GetTop() - 1);
439 if (x2 != mask.GetRight()) {
440 CalculateUpdateRegion(winNode->prev_, mask.GetRight() + 1, mask.GetTop(), x2, y2);
443 if (y2 != mask.GetBottom()) {
444 CalculateUpdateRegion(winNode->prev_, mask.GetLeft(), mask.GetBottom() + 1, mask.GetRight(), y2);
527 Rect mask;
529 window->backBuf_ == nullptr || !mask.Intersect(winRect, rect)) {
535 int x = mask.GetLeft();
536 int y = mask.GetTop();
539 DrawRegion(winNode->next_, EXPAND_RECT(mask));
542 Rect srcRect = mask;
543 srcRect.SetPosition(mask.GetLeft() - winRect.GetLeft(), mask.GetTop() - winRect.GetTop());
548 if (x1 != mask.GetLeft()) {
549 DrawRegion(winNode->next_, x1, y1, mask.GetLeft() - 1, y2);
552 if (y1 != mask.GetTop()) {
553 DrawRegion(winNode->next_, mask.GetLeft(), y1, x2, mask.GetTop() - 1);
556 if (x2 != mask.GetRight()) {
557 DrawRegion(winNode->next_, mask.GetRight() + 1, mask.GetTop(), x2, y2);
560 if (y2 != mask.GetBottom()) {
561 DrawRegion(winNode->next_, mask.GetLeft(), mask.GetBottom() + 1, mask.GetRight(), y2);