aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/GrOvalRenderer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gpu/GrOvalRenderer.h')
-rw-r--r--include/gpu/GrOvalRenderer.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/include/gpu/GrOvalRenderer.h b/include/gpu/GrOvalRenderer.h
index a9d41b40e0..08d3d3d935 100644
--- a/include/gpu/GrOvalRenderer.h
+++ b/include/gpu/GrOvalRenderer.h
@@ -5,18 +5,17 @@
* found in the LICENSE file.
*/
-
#ifndef GrOvalRenderer_DEFINED
#define GrOvalRenderer_DEFINED
#include "GrContext.h"
#include "GrPaint.h"
#include "GrRefCnt.h"
-#include "GrRect.h"
class GrContext;
class GrDrawTarget;
class GrPaint;
+struct SkRect;
class SkStrokeRec;
/*
@@ -34,16 +33,16 @@ public:
void reset();
bool drawOval(GrDrawTarget* target, const GrContext* context, bool useAA,
- const GrRect& oval, const SkStrokeRec& stroke);
+ const SkRect& oval, const SkStrokeRec& stroke);
bool drawSimpleRRect(GrDrawTarget* target, GrContext* context, bool useAA,
const SkRRect& rrect, const SkStrokeRec& stroke);
private:
bool drawEllipse(GrDrawTarget* target, bool useAA,
- const GrRect& ellipse,
+ const SkRect& ellipse,
const SkStrokeRec& stroke);
void drawCircle(GrDrawTarget* target, bool useAA,
- const GrRect& circle,
+ const SkRect& circle,
const SkStrokeRec& stroke);
GrIndexBuffer* rRectIndexBuffer(GrGpu* gpu);