aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-07-20 11:20:32 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-07-20 11:20:32 +0000
commitca0062ee5e74eddff886ada2a200d25946ea52cf (patch)
tree130654f093ac9557522eccbb1ffdedfad2f10fe7 /include/core
parent4df7a16f0a423c9cb8609d75fbda3809f2ef0119 (diff)
add SkPaint::getPosTextPath(), with gm to test it
Review URL: https://codereview.appspot.com/6427055 git-svn-id: http://skia.googlecode.com/svn/trunk@4684 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core')
-rw-r--r--include/core/SkPaint.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h
index 684bc455b1..4defe8b668 100644
--- a/include/core/SkPaint.h
+++ b/include/core/SkPaint.h
@@ -825,6 +825,9 @@ public:
void getTextPath(const void* text, size_t length, SkScalar x, SkScalar y,
SkPath* path) const;
+ void getPosTextPath(const void* text, size_t length,
+ const SkPoint pos[], SkPath* path) const;
+
#ifdef SK_BUILD_FOR_ANDROID
const SkGlyph& getUnicharMetrics(SkUnichar);
const SkGlyph& getGlyphMetrics(uint16_t);