diff options
| author | 2012-02-24 16:48:34 -0800 | |
|---|---|---|
| committer | 2012-02-24 16:48:34 -0800 | |
| commit | 325740fb444af8fc7fb0119b2e30ce322c2ae134 (patch) | |
| tree | 7739e7e56c5835f8f161e8cbed17346083390176 /libs/hwui/OpenGLRenderer.cpp | |
| parent | 34c55d30858cba1e58c38e7d8e175d25cf0b33c4 (diff) | |
Add hooks to implement Canvas.drawTextOnPath() in GL
Change-Id: I165c9e05facf5365aa6850605688e538640c7fcc
Diffstat (limited to 'libs/hwui/OpenGLRenderer.cpp')
| -rw-r--r-- | libs/hwui/OpenGLRenderer.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/hwui/OpenGLRenderer.cpp b/libs/hwui/OpenGLRenderer.cpp index 55e2ca5d7f24..6f0f8363434c 100644 --- a/libs/hwui/OpenGLRenderer.cpp +++ b/libs/hwui/OpenGLRenderer.cpp @@ -2292,6 +2292,11 @@ void OpenGLRenderer::drawText(const char* text, int bytesCount, int count, drawTextDecorations(text, bytesCount, length, oldX, oldY, paint); } +void OpenGLRenderer::drawTextOnPath(const char* text, int bytesCount, int count, SkPath* path, + float hOffset, float vOffset, SkPaint* paint) { + // TODO: Implement +} + void OpenGLRenderer::drawPath(SkPath* path, SkPaint* paint) { if (mSnapshot->isIgnored()) return; |