Skip to content

Commit

Permalink
clean up dox after enum change
Browse files Browse the repository at this point in the history
Bug: skia:
Change-Id: I111c47b0134b950bcab083d1a11ab144fcf05985
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/260141
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
  • Loading branch information
reed-at-google authored and Skia Commit-Bot committed Dec 14, 2019
1 parent cf0e3c6 commit 9e71995
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions include/core/SkPath.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class SK_API SkPath {
public:

/** Constructs an empty SkPath. By default, SkPath has no verbs, no SkPoint, and no weights.
SkPath::FillType is set to kWinding_FillType.
FillType is set to kWinding.
@return empty SkPath
Expand Down Expand Up @@ -145,17 +145,12 @@ class SK_API SkPath {
*/
bool interpolate(const SkPath& ending, SkScalar weight, SkPath* out) const;

/** Returns FillType, the rule used to fill SkPath. FillType of a new SkPath is
kWinding_FillType.
/** Returns SkPathFillType, the rule used to fill SkPath.
@return one of: kWinding_FillType, kEvenOdd_FillType, kInverseWinding_FillType,
kInverseEvenOdd_FillType
@return current SkPathFillType setting
*/
SkPathFillType getFillType() const { return (SkPathFillType)fFillType; }

// Temporary method -- remove when we've switched to the new enum
// SkPathFillType getNewFillType() const { return (SkPathFillType)this->getFillType(); }

/** Sets FillType, the rule used to fill SkPath. While there is no check
that ft is legal, values outside of FillType are not supported.
Expand All @@ -168,7 +163,7 @@ class SK_API SkPath {
/** Returns if FillType describes area outside SkPath geometry. The inverse fill area
extends indefinitely.
@return true if FillType is kInverseWinding_FillType or kInverseEvenOdd_FillType
@return true if FillType is kInverseWinding or kInverseEvenOdd
*/
bool isInverseFillType() const { return SkPathFillType_IsInverse(this->getFillType()); }

Expand Down

0 comments on commit 9e71995

Please sign in to comment.