Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(336)

Unified Diff: include/core/SkCanvas.h

Issue 1411103003: Update SrcRectConstraint doc (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkCanvas.h
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h
index 922f0b768f8adcccdbc2ff03c6dbe9912b0d0422..b49cc27789ba576eb93a84ad39f93cfd4228139f 100644
--- a/include/core/SkCanvas.h
+++ b/include/core/SkCanvas.h
@@ -805,7 +805,7 @@ public:
/**
* If kFast is specified, the implementation may sample outside of the src-rect
- * (if specified) by at most 1 pixel when filtering. This allows greater flexibility
+ * (if specified) by half the width of filter. This allows greater flexibility
* to the implementation and can make the draw much faster.
*/
kFast_SrcRectConstraint,
@@ -885,7 +885,7 @@ public:
void drawBitmapRect(const SkBitmap& bitmap, const SkIRect& isrc, const SkRect& dst,
const SkPaint* paint, SrcRectConstraint = kStrict_SrcRectConstraint);
void drawBitmapRect(const SkBitmap& bitmap, const SkRect& dst, const SkPaint* paint,
- SrcRectConstraint = kStrict_SrcRectConstraint);
+ SrcRectConstraint = kStrict_SrcRectConstraint);
/**
* Draw the bitmap stretched differentially to fit into dst.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698