Chromium Code Reviews| Index: include/core/SkBitmap.h |
| diff --git a/include/core/SkBitmap.h b/include/core/SkBitmap.h |
| index 86e267ccdd99004333072570291c126d00c30236..2b3ad0089abe75d2a06e33cf67cbcd36a87322e2 100644 |
| --- a/include/core/SkBitmap.h |
| +++ b/include/core/SkBitmap.h |
| @@ -408,6 +408,8 @@ public: |
| SkColorGetB(c)); |
| } |
| + void eraseArea(const SkIRect& area, SkColor c) const; |
|
scroggo
2013/06/28 19:02:35
Documentation?
reed1
2013/06/28 19:31:54
Done.
|
| + |
| /** Scroll (a subset of) the contents of this bitmap by dx/dy. If there are |
| no pixels allocated (i.e. getPixels() returns null) the method will |
| still update the inval region (if present). If the bitmap is immutable, |
| @@ -665,6 +667,8 @@ private: |
| uint8_t fFlags; |
| uint8_t fBytesPerPixel; // based on config |
| + void internalErase(const SkIRect&, U8CPU a, U8CPU r, U8CPU g, U8CPU b)const; |
| + |
| /* Internal computations for safe size. |
| */ |
| static Sk64 ComputeSafeSize64(Config config, |