summaryrefslogtreecommitdiffstats
path: root/libs/hwui/DisplayListRenderer.h
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2012-02-24 16:48:34 -0800
committerRomain Guy <romainguy@google.com>2012-02-24 16:48:34 -0800
commit325740fb444af8fc7fb0119b2e30ce322c2ae134 (patch)
tree7739e7e56c5835f8f161e8cbed17346083390176 /libs/hwui/DisplayListRenderer.h
parent34c55d30858cba1e58c38e7d8e175d25cf0b33c4 (diff)
downloadframeworks_base-325740fb444af8fc7fb0119b2e30ce322c2ae134.zip
frameworks_base-325740fb444af8fc7fb0119b2e30ce322c2ae134.tar.gz
frameworks_base-325740fb444af8fc7fb0119b2e30ce322c2ae134.tar.bz2
Add hooks to implement Canvas.drawTextOnPath() in GL
Change-Id: I165c9e05facf5365aa6850605688e538640c7fcc
Diffstat (limited to 'libs/hwui/DisplayListRenderer.h')
-rw-r--r--libs/hwui/DisplayListRenderer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/hwui/DisplayListRenderer.h b/libs/hwui/DisplayListRenderer.h
index 4a299c6..5d1b460 100644
--- a/libs/hwui/DisplayListRenderer.h
+++ b/libs/hwui/DisplayListRenderer.h
@@ -99,6 +99,7 @@ public:
DrawLines,
DrawPoints,
DrawText,
+ DrawTextOnPath,
DrawPosText,
ResetShader,
SetupShader,
@@ -310,6 +311,8 @@ public:
virtual void drawPoints(float* points, int count, SkPaint* paint);
virtual void drawText(const char* text, int bytesCount, int count, float x, float y,
SkPaint* paint, float length = 1.0f);
+ virtual void drawTextOnPath(const char* text, int bytesCount, int count, SkPath* path,
+ float hOffset, float vOffset, SkPaint* paint);
virtual void drawPosText(const char* text, int bytesCount, int count, const float* positions,
SkPaint* paint);