fix bookmaker
Add an entry in SkTextBlob_Reference.bmh for getIntercepts().
Fix spelling for patheffect -> SkPathEffect and
maskfilter -> SkMaskFilter.
TBR=reed@google.com
NOTRY=true
Bug: skia:
Change-Id: I8f03ea24eb1208ac6f4015b03b98470a4169d880
Reviewed-on: https://skia-review.googlesource.com/c/176480
Reviewed-by: Cary Clark <caryclark@skia.org>
Commit-Queue: Cary Clark <caryclark@skia.org>
Auto-Submit: Cary Clark <caryclark@skia.org>
diff --git a/include/core/SkFont.h b/include/core/SkFont.h
index ce910bb..5bd6eed 100644
--- a/include/core/SkFont.h
+++ b/include/core/SkFont.h
@@ -373,7 +373,7 @@
@param count number of glyphs
@param widths returns text advances for each glyph; may be nullptr
@param bounds returns bounds for each glyph relative to (0, 0); may be nullptr
- @param paint optional, specifies stroking, patheffect and maskfilter
+ @param paint optional, specifies stroking, SkPathEffect and SkMaskFilter
*/
void getWidthsBounds(const uint16_t glyphs[], int count, SkScalar widths[], SkRect bounds[],
const SkPaint* paint) const;
@@ -382,12 +382,12 @@
/** Experimental.
Retrieves the bounds for each glyph in glyphs.
bounds must be an array of count entries.
- If paint is not nullptr, its stroking, patheffect and maskfilter fields will be respected.
+ If paint is not nullptr, its stroking, SkPathEffect, and SkMaskFilter fields are respected.
@param glyphs array of glyph indices to be measured
@param count number of glyphs
@param bounds returns bounds for each glyph relative to (0, 0); may be nullptr
- @param paint optional, specifies stroking, patheffect and maskfilter
+ @param paint optional, specifies stroking, SkPathEffect, and SkMaskFilter
*/
void getBounds(const uint16_t glyphs[], int count, SkRect bounds[],
const SkPaint* paint) const {
diff --git a/include/core/SkTextBlob.h b/include/core/SkTextBlob.h
index e596979..a9f8834 100644
--- a/include/core/SkTextBlob.h
+++ b/include/core/SkTextBlob.h
@@ -60,7 +60,7 @@
@param bounds lower and upper line parallel to the advance
@param intervals returned intersections; may be nullptr
- @param paint specifies stroking, patheffect that may affect the result; may be nullptr
+ @param paint specifies stroking, SkPathEffect that affects the result; may be nullptr
@return number of intersections; may be zero
*/
int getIntercepts(const SkScalar bounds[2], SkScalar intervals[],