| Index: include/core/SkPixmap.h
|
| diff --git a/include/core/SkPixmap.h b/include/core/SkPixmap.h
|
| index faae85e797e7f262f63a165f2fa9e690779236c2..da97025cab03ae032dd3a7750607143c3fe5e9b9 100644
|
| --- a/include/core/SkPixmap.h
|
| +++ b/include/core/SkPixmap.h
|
| @@ -9,6 +9,7 @@
|
| #define SkPixmap_DEFINED
|
|
|
| #include "SkColor.h"
|
| +#include "SkFilterQuality.h"
|
| #include "SkImageInfo.h"
|
|
|
| class SkColorTable;
|
| @@ -135,6 +136,15 @@ public:
|
| }
|
|
|
| /**
|
| + * Copy the pixels from this pixmap into the dst pixmap, converting as needed into dst's
|
| + * colortype/alphatype. If the conversion cannot be performed, false is returned.
|
| + *
|
| + * 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;
|
| +
|
| + /**
|
| * 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.
|
| */
|
|
|