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

Unified Diff: include/core/SkFontStyle.h

Issue 1027373002: Font variations. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Update and rebase. Created 5 years, 8 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: include/core/SkFontStyle.h
diff --git a/include/core/SkFontStyle.h b/include/core/SkFontStyle.h
index f42d7dd4701824b6f15666bf875c839b41216092..526d983c87538f880e5729c62fb324a5232a966c 100644
--- a/include/core/SkFontStyle.h
+++ b/include/core/SkFontStyle.h
@@ -9,9 +9,16 @@
#define SkFontStyle_DEFINED
#include "SkTypes.h"
+#include "SkFixed.h"
class SK_API SkFontStyle {
public:
+ struct Axis {
+ Axis() : tag(SkSetFourByteTag('\0','\0','\0','\0')), value(0) { }
+ SkFourByteTag tag;
+ SkFixed value;
+ };
+
enum Weight {
kThin_Weight = 100,
kExtraLight_Weight = 200,
« no previous file with comments | « gyp/tests.gypi ('k') | include/core/SkTypeface.h » ('j') | src/core/SkFontDescriptor.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698