Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(133)

Unified Diff: src/core/SkBBoxRecord.h

Issue 22585002: Add SkCanvas::drawPosTextBounded. (Closed) Base URL: http://skia.googlecode.com/svn/trunk
Patch Set: spelling correction Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/core/SkBBoxRecord.h
diff --git a/src/core/SkBBoxRecord.h b/src/core/SkBBoxRecord.h
index 9f796717e4f5b993c92c92b79fc3de6d5e162a86..16dd8fff7aea8293bd4f7b1abd892df5cd77eb9c 100644
--- a/src/core/SkBBoxRecord.h
+++ b/src/core/SkBBoxRecord.h
@@ -49,6 +49,9 @@ 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;
« no previous file with comments | « include/core/SkCanvas.h ('k') | src/core/SkBBoxRecord.cpp » ('j') | src/core/SkBBoxRecord.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698