Home | History | Annotate | Download | only in core

Lines Matching full:left

34     /** Returns the rectangle's width. This does not check for a valid rectangle (i.e. left <= right)
61 void set(int32_t left, int32_t top, int32_t right, int32_t bottom) {
62 fLeft = left;
68 /** Offset set the rectangle by adding dx to its left and right,
94 empty. The left and top are considered to be inside, while the right
106 bool contains(int32_t left, int32_t top, int32_t right, int32_t bottom) const {
107 return left < right && top < bottom && !this->isEmpty() && // check for empties
108 fLeft <= left && fTop <= top &&
126 bool containsNoEmptyCheck(int32_t left, int32_t top,
129 SkASSERT(left < right && top < bottom);
131 return fLeft <= left && fTop <= top &&
184 /** If the rectangle specified by left,top,right,bottom intersects this rectangle,
189 bool intersect(int32_t left, int32_t top, int32_t right, int32_t bottom) {
190 if (left < right && top < bottom && !this->isEmpty() &&
191 fLeft < right && left < fRight && fTop < bottom && top < fBottom) {
192 if (fLeft < left) fLeft = left;
213 void join(int32_t left, int32_t top, int32_t right, int32_t bottom);
223 /** Swap top/bottom or left/right if there are flipped.
226 When this returns, left <= right && top <= bottom
285 void set(SkScalar left, SkScalar top, SkScalar right, SkScalar bottom) {
286 fLeft = left;
295 void iset(int left, int top, int right, int bottom) {
296 fLeft = SkIntToScalar(left);
308 /** Offset set the rectangle by adding dx to its left and right,
339 /** If this rectangle intersects the rectangle specified by left, top, right, bottom,
344 bool intersect(SkScalar left, SkScalar top, SkScalar right, SkScalar bottom);
349 bool intersects(SkScalar left, SkScalar top, SkScalar right, SkScalar bottom) const {
351 left < right && top < bottom &&
354 fLeft < right && left < fRight &&
370 void join(SkScalar left, SkScalar top, SkScalar right, SkScalar bottom);
380 /** Returns true if (p.fX,p.fY) is inside the rectangle. The left and top coordinates of
392 /** Returns true if (x,y) is inside the rectangle. The left and top coordinates of
421 /** Set the dst integer rectangle by rounding "out" this rectangle, choosing the floor of top and left,
429 /** Swap top/bottom or left/right if there are flipped.
432 left <= right && top <= bottom