Chromium Code Reviews| Index: sky/engine/core/painting/Canvas.h |
| diff --git a/sky/engine/core/painting/Canvas.h b/sky/engine/core/painting/Canvas.h |
| index 7571242dc2fc077bfae727dc4cd24e092020c605..b21d8b6a2264418b8a49c76aae401273a34f078f 100644 |
| --- a/sky/engine/core/painting/Canvas.h |
| +++ b/sky/engine/core/painting/Canvas.h |
| @@ -8,6 +8,7 @@ |
| #include "sky/engine/core/painting/CanvasPath.h" |
| #include "sky/engine/core/painting/Paint.h" |
| #include "sky/engine/core/painting/Picture.h" |
| +#include "sky/engine/core/painting/RRect.h" |
| #include "sky/engine/core/painting/Rect.h" |
| #include "sky/engine/platform/graphics/DisplayList.h" |
| #include "sky/engine/tonic/dart_wrappable.h" |
| @@ -42,9 +43,11 @@ public: |
| void clipRect(const Rect& rect); |
| + void drawLine(float x0, float y0, float x1, float y1, const Paint* paint); |
|
abarth-chromium
2015/06/05 21:00:59
Point p1, Point p2
jackson
2015/06/05 21:14:11
We might want to match the Skia APIs, I will land
|
| void drawPicture(Picture* picture); |
| void drawPaint(const Paint* paint); |
| void drawRect(const Rect& rect, const Paint* paint); |
| + void drawRRect(const RRect* rrect, const Paint* paint); |
| void drawOval(const Rect& rect, const Paint* paint); |
| void drawCircle(float x, float y, float radius, const Paint* paint); |
| void drawPath(const CanvasPath* path, const Paint* paint); |