Index: src/core/SkLatticeIter.h |
diff --git a/src/core/SkLatticeIter.h b/src/core/SkLatticeIter.h |
index 192b6c5b54e49f1d4d96cefd18821e7ed250c278..deb2fe95ebbe768ffac9969184e841dcaa0b1545 100644 |
--- a/src/core/SkLatticeIter.h |
+++ b/src/core/SkLatticeIter.h |
@@ -41,10 +41,10 @@ public: |
void mapDstScaleTranslate(const SkMatrix& matrix); |
/** |
- * Returns the total number of rects that will be drawn. |
+ * Returns the number of rects that will actually be drawn. |
*/ |
- int numRects() const { |
- return fNumRects; |
+ int numRectsToDraw() const { |
+ return fNumRectsToDraw; |
} |
private: |
@@ -52,11 +52,12 @@ private: |
SkTArray<SkScalar> fSrcY; |
SkTArray<SkScalar> fDstX; |
SkTArray<SkScalar> fDstY; |
+ SkTArray<SkCanvas::Lattice::Flags> fFlags; |
int fCurrX; |
int fCurrY; |
- bool fDone; |
- int fNumRects; |
+ int fNumRectsInLattice; |
+ int fNumRectsToDraw; |
}; |
#endif |