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

Unified Diff: trunk/src/core/SkFontStream.h

Issue 12465009: rewind at the start of each FontStream api (since we rewinding internally anyway) (Closed) Base URL: http://skia.googlecode.com/svn/
Patch Set: Created 7 years, 10 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/src/core/SkFontStream.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/core/SkFontStream.h
===================================================================
--- trunk/src/core/SkFontStream.h (revision 7984)
+++ trunk/src/core/SkFontStream.h (working copy)
@@ -14,7 +14,16 @@
class SkFontStream {
public:
+ /**
+ * Note: the stream is rewound initially, but is returned at an arbitrary
+ * read offset.
+ */
static int GetTableTags(SkStream*, SkFontTableTag tags[]);
+
+ /**
+ * Note: the stream is rewound initially, but is returned at an arbitrary
+ * read offset.
+ */
static size_t GetTableData(SkStream*, SkFontTableTag tag,
size_t offset, size_t length, void* data);
};
« no previous file with comments | « no previous file | trunk/src/core/SkFontStream.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698