diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkPaint.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h index dd2c2f4..ea21ceb 100644 --- a/include/core/SkPaint.h +++ b/include/core/SkPaint.h @@ -809,6 +809,8 @@ public: const SkGlyph& getUnicharMetrics(SkUnichar); const void* findImage(const SkGlyph&); + uint32_t getGenerationID() const; + private: SkTypeface* fTypeface; SkScalar fTextSize; @@ -833,6 +835,7 @@ private: unsigned fStyle : 2; unsigned fTextEncoding : 2; // 3 values unsigned fHinting : 2; + uint32_t fGenerationID; SkDrawCacheProc getDrawCacheProc() const; SkMeasureCacheProc getMeasureCacheProc(TextBufferDirection dir, |