Lines Matching defs:offset
291 /** Returns SkIRect offset by (dx, dy).
298 @param dx offset added to fLeft and fRight
299 @param dy offset added to fTop and fBottom
300 @return SkIRect offset by dx and dy, with original width and height
309 /** Returns SkIRect offset by (offset.x(), offset.y()).
311 If offset.x() is negative, SkIRect returned is moved to the left.
312 If offset.x() is positive, SkIRect returned is moved to the right.
313 If offset.y() is negative, SkIRect returned is moved upward.
314 If offset.y() is positive, SkIRect returned is moved downward.
316 @param offset translation vector
317 @return SkIRect translated by offset, with original width and height
319 constexpr SkIRect makeOffset(SkIVector offset) const {
320 return this->makeOffset(offset.x(), offset.y());
330 @param dx offset added to fLeft and subtracted from fRight
331 @param dy offset added to fTop and subtracted from fBottom
348 @param dx offset subtracted to fLeft and added from fRight
349 @param dy offset subtracted to fTop and added from fBottom
366 @param dx offset added to fLeft and fRight
367 @param dy offset added to fTop and fBottom
369 void offset(int32_t dx, int32_t dy) {
384 @param delta offset added to SkIRect
386 void offset(const SkIPoint& delta) {
387 this->offset(delta.fX, delta.fY);
410 @param dx offset added to fLeft and subtracted from fRight
411 @param dy offset added to fTop and subtracted from fBottom
443 @param dL offset added to fLeft
444 @param dT offset added to fTop
445 @param dR offset added to fRight
446 @param dB offset added to fBottom
964 /** Returns SkRect offset by (dx, dy).
973 @return SkRect offset on axes, with original width and height
979 /** Returns SkRect offset by v.
982 @return SkRect offset on axes, with original width and height
1023 @param dx offset added to fLeft and fRight
1024 @param dy offset added to fTop and fBottom
1026 void offset(SkScalar dx, SkScalar dy) {
1043 void offset(const SkPoint& delta) {
1044 this->offset(delta.fX, delta.fY);