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

Unified Diff: trunk/include/ports/SkFontStyle.h

Issue 14305007: check-point for linux fontmgr impl (Closed) Base URL: http://skia.googlecode.com/svn/
Patch Set: Created 7 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
« no previous file with comments | « trunk/include/ports/SkFontConfigInterface.h ('k') | trunk/src/ports/SkFontConfigInterface_direct.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « trunk/include/ports/SkFontConfigInterface.h ('k') | trunk/src/ports/SkFontConfigInterface_direct.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698