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

Unified Diff: src/core/SkDrawProcs.h

Issue 41213003: Hook in rough distance field support for fonts (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Minor fixes for GrDistanceFieldTextContext. Created 7 years, 1 month 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/SkDrawProcs.h
diff --git a/src/core/SkDrawProcs.h b/src/core/SkDrawProcs.h
index 8b8c382667a606a550402eae8977a264d8127b6a..2f2ee8570b10df98b335bf3ea8720b59dee2b838 100644
--- a/src/core/SkDrawProcs.h
+++ b/src/core/SkDrawProcs.h
@@ -57,6 +57,18 @@ struct SkDraw1Glyph {
struct SkDrawProcs {
SkDraw1Glyph::Proc fD1GProc;
+ uint32_t fFlags;
+
+ enum Flags {
+ /**
+ * Disable baked glyph transforms
+ */
+ kSkipBakedGlyphTransform_Flag = 0x1,
+ /**
+ * Scale glyphs to get different point sizes
+ */
+ kUseScaledGlyphs_Flag = 0x2,
+ };
};
/**

Powered by Google App Engine
This is Rietveld 408576698