diff options
author | 2011-01-23 16:15:02 -0800 | |
---|---|---|
committer | 2011-01-23 16:15:02 -0800 | |
commit | 8b2f5267f16c295f12faab810527cd6311997e34 (patch) | |
tree | 2f81ab177ebfadee474c44f3aa8e44cdc539665e /libs/hwui/OpenGLRenderer.h | |
parent | c1cd9ba335b293f11e1082447ef08e474710a05f (diff) |
Add support for arcs.
Change-Id: I96c057ff4eb1b464b03f132da0b85333777bee4f
Diffstat (limited to 'libs/hwui/OpenGLRenderer.h')
-rw-r--r-- | libs/hwui/OpenGLRenderer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/hwui/OpenGLRenderer.h b/libs/hwui/OpenGLRenderer.h index 30cf10224e9d..eec37501784d 100644 --- a/libs/hwui/OpenGLRenderer.h +++ b/libs/hwui/OpenGLRenderer.h @@ -113,6 +113,8 @@ public: float rx, float ry, SkPaint* paint); virtual void drawCircle(float x, float y, float radius, SkPaint* paint); virtual void drawOval(float left, float top, float right, float bottom, SkPaint* paint); + virtual void drawArc(float left, float top, float right, float bottom, + float startAngle, float sweepAngle, bool useCenter, SkPaint* paint); virtual void drawPath(SkPath* path, SkPaint* paint); virtual void drawLines(float* points, int count, SkPaint* paint); virtual void drawText(const char* text, int bytesCount, int count, float x, float y, |