diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-08-12 15:40:11 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-08-12 15:40:11 +0000 |
commit | 1cc07d940fcd10f52bf8228c272707f0f5df0b44 (patch) | |
tree | 10da8c1e76ed352e069492c607ea4f4b65428b90 /src/core | |
parent | 2cad2c04c36eda12fb1370626188bc6fb19d6d85 (diff) |
Revert "Add SkCanvas::drawPosTextBounded."
This reverts commit e158aea941a6202a40b75fcee013d002089854bb.
This was an experimental API change. We will reintroduce this feature
with a different API approach, and support it w/ detailed testing
and performance measurements.
BUG=
R=robertphillips@google.com
Review URL: https://codereview.chromium.org/22861002
git-svn-id: http://skia.googlecode.com/svn/trunk@10680 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/SkBBoxRecord.cpp | 8 | ||||
-rw-r--r-- | src/core/SkBBoxRecord.h | 3 | ||||
-rw-r--r-- | src/core/SkCanvas.cpp | 6 |
3 files changed, 0 insertions, 17 deletions
diff --git a/src/core/SkBBoxRecord.cpp b/src/core/SkBBoxRecord.cpp index 666e440958..52d599f57e 100644 --- a/src/core/SkBBoxRecord.cpp +++ b/src/core/SkBBoxRecord.cpp @@ -176,14 +176,6 @@ void SkBBoxRecord::drawPosText(const void* text, size_t byteLength, } } -void SkBBoxRecord::drawPosTextBounded(const void* text, size_t byteLength, - const SkPoint pos[], const SkRect& bbox, - const SkPaint& paint) { - if (this->transformBounds(bbox, &paint)) { - INHERITED::drawPosText(text, byteLength, pos, paint); - } -} - void SkBBoxRecord::drawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[], SkScalar constY, const SkPaint& paint) { SkRect bbox; diff --git a/src/core/SkBBoxRecord.h b/src/core/SkBBoxRecord.h index 16dd8fff7a..9f796717e4 100644 --- a/src/core/SkBBoxRecord.h +++ b/src/core/SkBBoxRecord.h @@ -49,9 +49,6 @@ public: const SkRect& dst, const SkPaint* paint) SK_OVERRIDE; virtual void drawPosText(const void* text, size_t byteLength, const SkPoint pos[], const SkPaint& paint) SK_OVERRIDE; - virtual void drawPosTextBounded(const void* text, size_t byteLength, - const SkPoint pos[], const SkRect& bbox, - const SkPaint& paint) SK_OVERRIDE; virtual void drawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[], SkScalar constY, const SkPaint& paint) SK_OVERRIDE; diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp index 232bee3375..5a9a56b2c1 100644 --- a/src/core/SkCanvas.cpp +++ b/src/core/SkCanvas.cpp @@ -1990,12 +1990,6 @@ void SkCanvas::drawPosText(const void* text, size_t byteLength, LOOPER_END } -void SkCanvas::drawPosTextBounded(const void* text, size_t byteLength, - const SkPoint pos[], const SkRect& bbox, - const SkPaint& paint) { - this->drawPosText(text, byteLength, pos, paint); -} - void SkCanvas::drawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[], SkScalar constY, const SkPaint& paint) { |