aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Cary Clark <caryclark@skia.org>2017-05-13 13:35:35 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-05-13 18:00:48 +0000
commit304f9d4e0feb4665d88804c3a4c28b6397c377b0 (patch)
tree572d14ee92b3b4a13ad11c8ba17e9d5781e83067 /include
parent569beceb08faf7b3e192a7fb1323ea72e134f793 (diff)
add and fix parameter names
after manually fixing missing names needed to make documentation easier, the bookmaker tool found a number of additional errors. this is why computers will take our jobs R=reed@google.com DOCS_PREVIEW= https://skia.org/?cl=16616 Change-Id: Ieabebf5672601769852adde9be47459602fb43ab Change-Id: Ieabebf5672601769852adde9be47459602fb43ab Reviewed-on: https://skia-review.googlesource.com/16616 Commit-Queue: Cary Clark <caryclark@skia.org> Reviewed-by: Mike Reed <reed@google.com>
Diffstat (limited to 'include')
-rw-r--r--include/core/SkCanvas.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h
index 9d02c7fedc..e7bee7f93d 100644
--- a/include/core/SkCanvas.h
+++ b/include/core/SkCanvas.h
@@ -119,7 +119,7 @@ public:
* Allows the creation of a legacy SkCanvas even though the |bitmap|
* and its pixel ref may have an SkColorSpace.
*/
- SkCanvas(const SkBitmap& bitmap, ColorBehavior);
+ SkCanvas(const SkBitmap& bitmap, ColorBehavior behavior);
#endif
/** Construct a canvas with the specified bitmap to draw into.
@@ -171,7 +171,7 @@ public:
* inherits the properties of the surface that owns this canvas. If this canvas has no parent
* surface, then the new surface is created with default properties.
*/
- sk_sp<SkSurface> makeSurface(const SkImageInfo&, const SkSurfaceProps* props = nullptr);
+ sk_sp<SkSurface> makeSurface(const SkImageInfo& info, const SkSurfaceProps* props = nullptr);
/**
* Return the GPU context of the device that is associated with the canvas.
@@ -231,7 +231,7 @@ public:
bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
int srcX, int srcY);
bool readPixels(const SkPixmap& pixmap, int srcX, int srcY);
- bool readPixels(const SkBitmap& pixmap, int srcX, int srcY);
+ bool readPixels(const SkBitmap& bitmap, int srcX, int srcY);
/**
* This method affects the pixels in the base-layer, and operates in pixel coordinates,
@@ -655,7 +655,7 @@ public:
@param oval The rectangle bounds of the oval to be drawn
@param paint The paint used to draw the oval
*/
- void drawOval(const SkRect& oval, const SkPaint&);
+ void drawOval(const SkRect& oval, const SkPaint& paint);
/**
* Draw the specified RRect using the specified paint The rrect will be filled or stroked
@@ -670,7 +670,7 @@ public:
* Draw the annulus formed by the outer and inner rrects. The results
* are undefined if the outer does not contain the inner.
*/
- void drawDRRect(const SkRRect& outer, const SkRRect& inner, const SkPaint&);
+ void drawDRRect(const SkRRect& outer, const SkRRect& inner, const SkPaint& paint);
/** Draw the specified circle using the specified paint. If radius is <= 0,
then nothing will be drawn. The circle will be filled