Lines Matching refs:dy
303 /** Copies SkRRect to dst, then insets dst bounds by dx and dy, and adjusts dst
304 radii by dx and dy. dx and dy may be positive, negative, or zero. dst may be
310 bounds x-axis center. If dy exceeds half dst bounds height, dst bounds top and
313 If dx or dy cause the bounds to become infinite, dst bounds is zeroed.
316 @param dy added to rect().fTop, and subtracted from rect().fBottom
321 void inset(SkScalar dx, SkScalar dy, SkRRect* dst) const;
323 /** Insets bounds by dx and dy, and adjusts radii by dx and dy. dx and dy may be
329 bounds x-axis center. If dy exceeds half bounds height, bounds top and
332 If dx or dy cause the bounds to become infinite, bounds is zeroed.
335 @param dy added to rect().fTop, and subtracted from rect().fBottom
337 void inset(SkScalar dx, SkScalar dy) {
338 this->inset(dx, dy, this);
341 /** Outsets dst bounds by dx and dy, and adjusts radii by dx and dy. dx and dy may be
347 bounds x-axis center. If dy exceeds half dst bounds height, dst bounds top and
350 If dx or dy cause the bounds to become infinite, dst bounds is zeroed.
353 @param dy subtracted from rect().fTop, and added to rect().fBottom
356 void outset(SkScalar dx, SkScalar dy, SkRRect* dst) const {
357 this->inset(-dx, -dy, dst);
360 /** Outsets bounds by dx and dy, and adjusts radii by dx and dy. dx and dy may be
366 bounds x-axis center. If dy exceeds half bounds height, bounds top and
369 If dx or dy cause the bounds to become infinite, bounds is zeroed.
372 @param dy subtracted from rect().fTop, and added to rect().fBottom
374 void outset(SkScalar dx, SkScalar dy) {
375 this->inset(-dx, -dy, this);
378 /** Translates SkRRect by (dx, dy).
381 @param dy offset added to rect().fTop and rect().fBottom
383 void offset(SkScalar dx, SkScalar dy) {
384 fRect.offset(dx, dy);
387 /** Returns SkRRect translated by (dx, dy).
390 @param dy offset added to rect().fTop and rect().fBottom
391 @return SkRRect bounds offset by (dx, dy), with unchanged corner radii
393 SkRRect SK_WARN_UNUSED_RESULT makeOffset(SkScalar dx, SkScalar dy) const {
394 return SkRRect(fRect.makeOffset(dx, dy), fRadii, fType);