Lines Matching defs:cb
60 rect_i cb(x1, y1, x2, y2);
61 cb.normalize();
62 if(cb.clip(rect_i(0, 0, width() - 1, height() - 1)))
64 m_clip_box = cb;
434 rect_i cb = clip_box();
435 ++cb.x2;
436 ++cb.y2;
452 if(dst.x1 < cb.x1)
454 src.x1 += cb.x1 - dst.x1;
455 dst.x1 = cb.x1;
457 if(dst.y1 < cb.y1)
459 src.y1 += cb.y1 - dst.y1;
460 dst.y1 = cb.y1;
463 if(dst.x2 > cb.x2) dst.x2 = cb.x2;
464 if(dst.y2 > cb.y2) dst.y2 = cb.y2;