name SkPixmap missing params
a couple of missing names trip up bookmaker TBR=reed@google.com Bug: skia: 6898 Change-Id: I224f3a0422474cb6d4d3558abb3e800d5abedd12 Reviewed-on: https://skia-review.googlesource.com/46580 Commit-Queue: Cary Clark <caryclark@skia.org> Reviewed-by: Cary Clark <caryclark@skia.org>
This commit is contained in:
parent
2388c5216b
commit
ed294b4e00
@ -193,13 +193,13 @@ public:
|
||||
* If dst's dimensions differ from the src dimension, the image will be scaled, applying the
|
||||
* specified filter-quality.
|
||||
*/
|
||||
bool scalePixels(const SkPixmap& dst, SkFilterQuality) const;
|
||||
bool scalePixels(const SkPixmap& dst, SkFilterQuality filterQuality) const;
|
||||
|
||||
/**
|
||||
* Returns true if pixels were written to (e.g. if colorType is kUnknown_SkColorType, this
|
||||
* will return false). If subset does not intersect the bounds of this pixmap, returns false.
|
||||
*/
|
||||
bool erase(SkColor, const SkIRect& subset) const;
|
||||
bool erase(SkColor color, const SkIRect& subset) const;
|
||||
|
||||
bool erase(SkColor color) const { return this->erase(color, this->bounds()); }
|
||||
bool erase(const SkColor4f& color, const SkIRect* subset = nullptr) const;
|
||||
|
Loading…
Reference in New Issue
Block a user