summaryrefslogtreecommitdiffstats
path: root/libs/hwui/DisplayListRenderer.h
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2011-01-23 14:18:41 -0800
committerRomain Guy <romainguy@google.com>2011-01-23 14:18:41 -0800
commitc1cd9ba335b293f11e1082447ef08e474710a05f (patch)
tree3f07bf1887e0cd5602c2f1e356e3efe92d7f766b /libs/hwui/DisplayListRenderer.h
parentf6834478b379856d3e5de92ddce7de0e6ba9fa4a (diff)
downloadframeworks_base-c1cd9ba335b293f11e1082447ef08e474710a05f.zip
frameworks_base-c1cd9ba335b293f11e1082447ef08e474710a05f.tar.gz
frameworks_base-c1cd9ba335b293f11e1082447ef08e474710a05f.tar.bz2
Add support for ovals and stroked rectangles.
Change-Id: I1292e241386763c82e6622c8f7ed90b0f5b7bd4f
Diffstat (limited to 'libs/hwui/DisplayListRenderer.h')
-rw-r--r--libs/hwui/DisplayListRenderer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/hwui/DisplayListRenderer.h b/libs/hwui/DisplayListRenderer.h
index 68e4359..8183e25 100644
--- a/libs/hwui/DisplayListRenderer.h
+++ b/libs/hwui/DisplayListRenderer.h
@@ -113,6 +113,7 @@ public:
DrawRect,
DrawRoundRect,
DrawCircle,
+ DrawOval,
DrawPath,
DrawLines,
DrawText,
@@ -279,6 +280,7 @@ public:
void drawRoundRect(float left, float top, float right, float bottom,
float rx, float ry, SkPaint* paint);
void drawCircle(float x, float y, float radius, SkPaint* paint);
+ void drawOval(float left, float top, float right, float bottom, SkPaint* paint);
void drawPath(SkPath* path, SkPaint* paint);
void drawLines(float* points, int count, SkPaint* paint);
void drawText(const char* text, int bytesCount, int count, float x, float y, SkPaint* paint);