summaryrefslogtreecommitdiffstats
path: root/gfx/canvas.h
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/canvas.h')
-rw-r--r--gfx/canvas.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gfx/canvas.h b/gfx/canvas.h
index 70892b4..077a8a2 100644
--- a/gfx/canvas.h
+++ b/gfx/canvas.h
@@ -97,10 +97,6 @@ class Canvas {
// See scale() for specifics.
virtual void ScaleInt(int x, int y) = 0;
- // Fills the given rectangle with the given paint's parameters.
- virtual void FillRectInt(int x, int y, int w, int h,
- const SkPaint& paint) = 0;
-
// Fills the specified region with the specified color using a transfer
// mode of SkXfermode::kSrcOver_Mode.
virtual void FillRectInt(const SkColor& color,
@@ -125,6 +121,10 @@ class Canvas {
int x, int y, int w, int h,
SkXfermode::Mode mode) = 0;
+ // Draws the given rectangle with the given paint's parameters.
+ virtual void DrawRectInt(int x, int y, int w, int h,
+ const SkPaint& paint) = 0;
+
// Draws a single pixel line with the specified color.
virtual void DrawLineInt(const SkColor& color,
int x1, int y1,