Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(144)

Unified Diff: src/core/SkScalerContext.h

Issue 258883002: Gamma correction for distance field text. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add comments for the magic bold factor Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/core/SkScalerContext.h
diff --git a/src/core/SkScalerContext.h b/src/core/SkScalerContext.h
index f18d217f6208e6628bd02c2e71a69331e65fc30d..e495c8038ec11dd4ec1d72f84674fbe5884d7bea 100644
--- a/src/core/SkScalerContext.h
+++ b/src/core/SkScalerContext.h
@@ -183,6 +183,8 @@ public:
void getImage(const SkGlyph&);
void getPath(const SkGlyph&, SkPath*);
void getFontMetrics(SkPaint::FontMetrics*);
+ void* getGammaLUTData(int& width, int& height, SkScalar contrast,
reed1 2014/05/28 19:45:17 Need big dox. We almost never return a freshly all
jvanverth1 2014/05/29 18:53:49 Changed to get the size of the table first so we c
+ SkScalar paintGamma, SkScalar deviceGamma);
#ifdef SK_BUILD_FOR_ANDROID
unsigned getBaseGlyphCount(SkUnichar charCode);

Powered by Google App Engine
This is Rietveld 408576698