Index: src/core/SkTileGrid.h |
diff --git a/src/core/SkTileGrid.h b/src/core/SkTileGrid.h |
index df0a746a3cca3f53b03f0764fe01961fd8032c4a..8568a3731b7da2409d8134fe27ec1e95a98eb270 100644 |
--- a/src/core/SkTileGrid.h |
+++ b/src/core/SkTileGrid.h |
@@ -42,8 +42,14 @@ public: |
int tileCount(int x, int y) { return fTiles[y * fXTiles + x].count(); } |
private: |
+ void commonAdjust(SkRect*) const; |
+ void userToGrid(const SkRect&, SkIRect* grid) const; |
+ |
const int fXTiles, fYTiles; |
- SkTileGridFactory::TileGridInfo fInfo; |
+ const SkScalar fInvWidth, fInvHeight; |
+ const SkScalar fMarginWidth, fMarginHeight; |
+ const SkPoint fOffset; |
+ const SkRect fGridBounds; |
// (fXTiles * fYTiles) SkTDArrays, each listing ops overlapping that tile in order. |
SkTDArray<unsigned>* fTiles; |