Index: include/core/SkPaint.h |
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h |
index 7a647f0ea2aff89f998ac206656214099afeed32..e86d01195c8e892d417c08b7d59b014af613e39e 100644 |
--- a/include/core/SkPaint.h |
+++ b/include/core/SkPaint.h |
@@ -1046,6 +1046,10 @@ |
private: |
SkTypeface* fTypeface; |
+ SkScalar fTextSize; |
+ SkScalar fTextScaleX; |
+ SkScalar fTextSkewX; |
+ |
SkPathEffect* fPathEffect; |
SkShader* fShader; |
SkXfermode* fXfermode; |
@@ -1056,12 +1060,10 @@ |
SkImageFilter* fImageFilter; |
SkAnnotation* fAnnotation; |
- SkScalar fTextSize; |
- SkScalar fTextScaleX; |
- SkScalar fTextSkewX; |
SkColor fColor; |
SkScalar fWidth; |
SkScalar fMiterLimit; |
+ |
union { |
struct { |
// all of these bitfields should add up to 32 |
@@ -1076,10 +1078,10 @@ |
}; |
uint32_t fBitfields; |
}; |
- uint32_t fDirtyBits; |
- |
uint32_t getBitfields() const { return fBitfields; } |
void setBitfields(uint32_t bitfields); |
+ |
+ uint32_t fDirtyBits; |
SkDrawCacheProc getDrawCacheProc() const; |
SkMeasureCacheProc getMeasureCacheProc(TextBufferDirection dir, |