Lines Matching defs:offset
137 /** Returns SkIPoint resulting from SkIPoint a offset by ivector b, computed as:
140 Can also be used to offset SkIPoint b by ivector a, returning SkIPoint.
145 @return SkIPoint equal to a offset by b
247 /** Adds offset to each SkPoint in points array with count entries.
251 @param offset vector added to points
253 static void Offset(SkPoint points[], int count, const SkVector& offset) {
254 Offset(points, count, offset.fX, offset.fY);
257 /** Adds offset (dx, dy) to each SkPoint in points array of length count.
266 points[i].offset(dx, dy);
270 /** Adds offset (dx, dy) to SkPoint.
275 void offset(SkScalar dx, SkScalar dy) {
474 /** Returns SkPoint resulting from SkPoint a offset by vector b, computed as:
477 Can also be used to offset SkPoint b by vector a, returning SkPoint.
482 @return SkPoint equal to a offset by b