Lines Matching defs:set

37         r.set(0, 0, w, h);
43 r.set(0, 0, size.width(), size.height());
49 rect.set(l, t, r, b);
55 r.set(x, y, x + w, y + h);
125 void set(int32_t left, int32_t top, int32_t right, int32_t bottom) {
131 // alias for set(l, t, r, b)
133 this->set(left, top, right, bottom);
174 /** Offset set the rectangle by adding dx to its left and right,
266 /** If r intersects this rectangle, return true and set this rectangle to that
275 /** If rectangles a and b intersect, return true and set this rectangle to
294 /** If rectangles a and b intersect, return true and set this rectangle to
316 return true and set this rectangle to that intersection,
351 If this rectangle is empty, just set it to the specified rectangle. If the specified
357 If this rectangle is empty, just set it to the specified rectangle. If the specified
396 r.set(0, 0, w, h);
402 r.set(0, 0, size.width(), size.height());
408 rect.set(l, t, r, b);
414 r.set(x, y, x + w, y + h);
421 r.set(SkIntToScalar(irect.fLeft),
430 r.set(SkIntToScalar(irect.fLeft),
495 void set(const SkIRect& src) {
502 void set(SkScalar left, SkScalar top, SkScalar right, SkScalar bottom) {
508 // alias for set(l, t, r, b)
510 this->set(left, top, right, bottom);
534 If the array is empty (count == 0), then set this rectangle
537 void set(const SkPoint pts[], int count) {
538 // set() had been checking for non-finite values, so keep that behavior
540 // set() be simpler/faster, and not check for those.
544 // alias for set(pts, count)
550 * Compute the bounds of the array of points, and set this rect to that
552 * in which case this rect is set to empty and false is returned.
556 void set(const SkPoint& p0, const SkPoint& p1) {
608 /** Offset set the rectangle by adding dx to its left and right,
651 /** If this rectangle intersects r, return true and set this rectangle to that
659 return true and set this rectangle to that intersection, otherwise return false
678 /** If rectangles a and b intersect, return true and set this rectangle to
695 * If this rectangle is empty, just set it to the specified rectangle.
701 If this rectangle is empty, just set it to the specified rectangle. If the specified
758 dst->set(SkScalarRoundToInt(fLeft), SkScalarRoundToInt(fTop),
776 dst->set(SkDScalarRoundToInt(fLeft), SkDScalarRoundToInt(fTop),
786 dst->set(SkScalarFloorToInt(fLeft), SkScalarFloorToInt(fTop),
796 this->set(SkScalarFloorToScalar(fLeft),
810 dst->set(SkScalarCeilToInt(fLeft), SkScalarCeilToInt(fTop),