diff options
author | 2015-10-23 09:27:42 -0700 | |
---|---|---|
committer | 2015-10-23 09:27:42 -0700 | |
commit | 19e82e3b9f6fb5a02fc033121f2047b4d886112e (patch) | |
tree | a1b262acff3b0adc59e71b272c397b52809ec397 /include/core/SkCanvas.h | |
parent | 383ce32e3e5ca0c8997ece827205f61d348ee56f (diff) |
Update SrcRectConstraint doc. Previous doc never matched the implementation or the c2d spec.
Review URL: https://codereview.chromium.org/1411103003
Diffstat (limited to 'include/core/SkCanvas.h')
-rw-r--r-- | include/core/SkCanvas.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h index 922f0b768f..b49cc27789 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. |