Index: trunk/include/core/SkFontHost.h |
=================================================================== |
--- trunk/include/core/SkFontHost.h (revision 8138) |
+++ trunk/include/core/SkFontHost.h (working copy) |
@@ -48,7 +48,7 @@ |
5) Utilites to manage the font cache (budgeting) and gamma correction |
*/ |
class SK_API SkFontHost { |
-public: |
+private: |
/** Return a new, closest matching typeface given either an existing family |
(specified by a typeface in that family) or by a familyName and a |
requested style. |
@@ -135,6 +135,7 @@ |
/////////////////////////////////////////////////////////////////////////// |
+public: |
/** Return a subclass of SkScalarContext |
*/ |
static SkScalerContext* CreateScalerContext(const SkDescriptor* desc); |
@@ -155,6 +156,7 @@ |
* stylistic attributes. |
*/ |
static SkFontID NextLogicalFont(SkFontID currFontID, SkFontID origFontID); |
+private: |
/////////////////////////////////////////////////////////////////////////// |
@@ -229,6 +231,7 @@ |
size_t offset, size_t length, void* data); |
/////////////////////////////////////////////////////////////////////////// |
+public: |
/** LCDs either have their color elements arranged horizontally or |
vertically. When rendering subpixel glyphs we need to know which way |
@@ -291,6 +294,9 @@ |
make the handle contained in the typeface useable. |
*/ |
static void EnsureTypefaceAccessible(const SkTypeface& typeface); |
+ |
+private: |
+ friend class SkTypeface; |
}; |
#endif |