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

Unified Diff: trunk/include/core/SkFontHost.h

Issue 12739006: move most of SkFontHost to private (preceeding making it all private) (Closed) Base URL: http://skia.googlecode.com/svn/
Patch Set: Created 7 years, 9 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 | « no previous file | trunk/include/core/SkTypeface.h » ('j') | trunk/include/core/SkTypeface.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/include/core/SkFontHost.h
===================================================================
--- trunk/include/core/SkFontHost.h (revision 8112)
+++ 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.
@@ -229,6 +229,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 +292,9 @@
make the handle contained in the typeface useable.
*/
static void EnsureTypefaceAccessible(const SkTypeface& typeface);
+
+private:
+ friend class SkTypeface;
};
#endif
« no previous file with comments | « no previous file | trunk/include/core/SkTypeface.h » ('j') | trunk/include/core/SkTypeface.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698