aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMike Reed <reed@google.com>2019-01-29 10:41:54 -0500
committerSkia Commit-Bot <skia-commit-bot@chromium.org>2019-01-29 19:24:48 +0000
commitd3bde0b798600eed78189dffc9f9569eeaaaecae (patch)
tree6d4a6a149f232aea2dffc6ca1ae53264c2cfe8ad /include
parent71e0197a3cda8a28449b357f97a7b25eccd5af33 (diff)
downloadplatform_external_skqp-d3bde0b798600eed78189dffc9f9569eeaaaecae.tar.gz
platform_external_skqp-d3bde0b798600eed78189dffc9f9569eeaaaecae.tar.bz2
platform_external_skqp-d3bde0b798600eed78189dffc9f9569eeaaaecae.zip
remove legacy SkPaint getTextBlobIntercepts
Bug: skia: Change-Id: I59407c5ae9cdbfa6e674ec92f35b0ca7d6a8425f Reviewed-on: https://skia-review.googlesource.com/c/187787 Reviewed-by: Ben Wagner <bungeman@google.com> Reviewed-by: Florin Malita <fmalita@chromium.org> Reviewed-by: Herb Derby <herb@google.com> Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'include')
-rw-r--r--include/core/SkPaint.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h
index 02ef629827..a508cda4b1 100644
--- a/include/core/SkPaint.h
+++ b/include/core/SkPaint.h
@@ -584,26 +584,6 @@ public:
*/
void setLooper(sk_sp<SkDrawLooper> drawLooper);
- /** DEPRECATED -- call method on SkTextBlob
- Returns the number of intervals that intersect bounds.
- bounds describes a pair of lines parallel to the text advance.
- The return count is zero or a multiple of two, and is at most twice the number of glyphs in
- the string.
-
- SkTextEncoding must be set to kGlyphID_SkTextEncoding.
-
- Pass nullptr for intervals to determine the size of the interval array.
-
- intervals are cached to improve performance for multiple calls.
-
- @param blob glyphs, positions, and text paint attributes
- @param bounds lower and upper line parallel to the advance
- @param intervals returned intersections; may be nullptr
- @return number of intersections; may be zero
- */
- int getTextBlobIntercepts(const SkTextBlob* blob, const SkScalar bounds[2],
- SkScalar* intervals) const;
-
/** Returns true if SkPaint prevents all drawing;
otherwise, the SkPaint may or may not allow drawing.