diff options
Diffstat (limited to 'src/utils/SkPolyUtils.h')
-rwxr-xr-x | src/utils/SkPolyUtils.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utils/SkPolyUtils.h b/src/utils/SkPolyUtils.h index 9c25a078ff..b753a91141 100755 --- a/src/utils/SkPolyUtils.h +++ b/src/utils/SkPolyUtils.h @@ -113,8 +113,9 @@ bool SkOffsetSegment(const SkPoint& p0, const SkPoint& p1, SkScalar d0, SkScalar * @param rotSin Sine of rotation delta per step. * @param rotCos Cosine of rotation delta per step. * @param n Number of steps to fill out the arc. + * @return true for success, false otherwise */ -void SkComputeRadialSteps(const SkVector& offset0, const SkVector& offset1, SkScalar r, +bool SkComputeRadialSteps(const SkVector& offset0, const SkVector& offset1, SkScalar r, SkScalar* rotSin, SkScalar* rotCos, int* n); /** |