aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkPaint.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/SkPaint.h')
-rw-r--r--include/core/SkPaint.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h
index 812c885bee..94a7f407e0 100644
--- a/include/core/SkPaint.h
+++ b/include/core/SkPaint.h
@@ -1762,14 +1762,14 @@ private:
kCanonicalTextSizeForPaths = 64,
};
- static bool TooBigToUseCache(const SkMatrix& ctm, const SkMatrix& textM);
+ static bool TooBigToUseCache(const SkMatrix& ctm, const SkMatrix& textM, SkScalar maxLimit);
// Set flags/hinting/textSize up to use for drawing text as paths.
// Returns scale factor to restore the original textSize, since will will
// have change it to kCanonicalTextSizeForPaths.
SkScalar setupForAsPaths();
- static SkScalar MaxCacheSize2();
+ static SkScalar MaxCacheSize2(SkScalar maxLimit);
friend class SkAutoGlyphCache;
friend class SkAutoGlyphCacheNoGamma;