diff options
author | 2013-03-15 07:05:19 +0000 | |
---|---|---|
committer | 2013-03-15 07:05:19 +0000 | |
commit | c49cabfe5cddc1691a00f713ae1b077d9409389f (patch) | |
tree | 3af07b65a50ff28073c8ca6bcbb9fc5f7ecf6395 /experimental/SkFontMgr.h | |
parent | 2bbc0e11824df0ddf04b5cab65707f267a7168e3 (diff) |
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@8168 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'experimental/SkFontMgr.h')
-rw-r--r-- | experimental/SkFontMgr.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/experimental/SkFontMgr.h b/experimental/SkFontMgr.h index 3e56dc4d05..295a2c78e6 100644 --- a/experimental/SkFontMgr.h +++ b/experimental/SkFontMgr.h @@ -27,7 +27,7 @@ public: kExtraBold_Weight = 800, kBlack_Weight = 900 }; - + enum Width { kUltraCondensed_Width = 1, kExtraCondensed_Width = 2, @@ -43,7 +43,7 @@ public: enum Flags { kItalic_Flag = 1 << 0, }; - + SkFontStyle(); SkFontStyle(int weight, int width, unsigned flags); @@ -76,7 +76,7 @@ public: * SkData contains an array of [const char*] */ SkData* refFamilyNames(); - + /** * Given a familyName, if a corresponding family is found, return * the array of available styles in SkData (as [SkFontStyle]). @@ -103,14 +103,14 @@ public: * the returned object if it is not null. */ SkTypeface* createFromData(SkData*, int ttcIndex = 0); - + /** * Create a typeface for the specified stream and TTC index * (pass 0 for none) or NULL if the stream is not recognized. The caller * must call unref() on the returned object if it is not null. */ SkTypeface* createFromStream(SkStream*, int ttcIndex = 0); - + /** * Create a typeface for the specified fileName and TTC index * (pass 0 for none) or NULL if the file is not found, or its contents are @@ -118,7 +118,7 @@ public: * if it is not null. */ SkTypeface* createFromFile(const char path[], int ttcIndex = 0); - + private: typedef SkRefCnt INHERITED; }; |