Chromium Code Reviews| Index: src/core/SkBBoxRecord.cpp |
| diff --git a/src/core/SkBBoxRecord.cpp b/src/core/SkBBoxRecord.cpp |
| index 52d599f57ea1d89f28f27e0813093f542fe59086..666e440958f6e8fc2f5b72e8122f45b91bf03175 100644 |
| --- a/src/core/SkBBoxRecord.cpp |
| +++ b/src/core/SkBBoxRecord.cpp |
| @@ -176,6 +176,14 @@ 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) { |
|
tomhudson
2013/08/07 15:48:39
Is it worth putting in an SkASSERT here that the b
|
| + 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; |