Index: trunk/include/ports/SkFontStyle.h |
=================================================================== |
--- trunk/include/ports/SkFontStyle.h (revision 8807) |
+++ trunk/include/ports/SkFontStyle.h (working copy) |
@@ -50,6 +50,7 @@ |
int weight() const { return fUnion.fR.fWeight; } |
int width() const { return fUnion.fR.fWidth; } |
+ Slant slant() const { return (Slant)fUnion.fR.fSlant; } |
bool isItalic() const { |
return kItalic_Slant == fUnion.fR.fSlant; |