Index: include/core/SkFontStyle.h |
diff --git a/include/ports/SkFontStyle.h b/include/core/SkFontStyle.h |
similarity index 97% |
rename from include/ports/SkFontStyle.h |
rename to include/core/SkFontStyle.h |
index 9d9a912d7d74406dd7705318c02e806c97ee0427..9ebec48608981e004471f0fae49110e7abc39a79 100644 |
--- a/include/ports/SkFontStyle.h |
+++ b/include/core/SkFontStyle.h |
@@ -43,6 +43,7 @@ public: |
SkFontStyle(); |
SkFontStyle(int weight, int width, Slant); |
+ explicit SkFontStyle(unsigned oldStyle); |
reed1
2014/10/20 18:39:56
// oldStyle means the style-bits in typeface: bold
bungeman-skia
2014/10/20 19:15:39
Done.
|
bool operator==(const SkFontStyle& rhs) const { |
return fUnion.fU32 == rhs.fUnion.fU32; |