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

Side by Side Diff: src/fonts/SkGScalerContext.h

Issue 22859070: Implement charToGlyph on remaining ports. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Tabs and line length. Created 7 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright 2013 Google Inc. 2 * Copyright 2013 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkGScalerContext_DEFINED 8 #ifndef SkGScalerContext_DEFINED
9 #define SkGScalerContext_DEFINED 9 #define SkGScalerContext_DEFINED
10 10
(...skipping 11 matching lines...) Expand all
22 protected: 22 protected:
23 virtual SkScalerContext* onCreateScalerContext(const SkDescriptor*) const SK _OVERRIDE; 23 virtual SkScalerContext* onCreateScalerContext(const SkDescriptor*) const SK _OVERRIDE;
24 virtual void onFilterRec(SkScalerContextRec*) const SK_OVERRIDE; 24 virtual void onFilterRec(SkScalerContextRec*) const SK_OVERRIDE;
25 virtual SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics( 25 virtual SkAdvancedTypefaceMetrics* onGetAdvancedTypefaceMetrics(
26 SkAdvancedTypefaceMetrics::PerGlyphInfo, 26 SkAdvancedTypefaceMetrics::PerGlyphInfo,
27 const uint32_t* glyphIDs, 27 const uint32_t* glyphIDs,
28 uint32_t glyphIDsCount) const SK_OVERRIDE; 28 uint32_t glyphIDsCount) const SK_OVERRIDE;
29 virtual SkStream* onOpenStream(int* ttcIndex) const SK_OVERRIDE; 29 virtual SkStream* onOpenStream(int* ttcIndex) const SK_OVERRIDE;
30 virtual void onGetFontDescriptor(SkFontDescriptor*, bool* isLocal) const SK_ OVERRIDE; 30 virtual void onGetFontDescriptor(SkFontDescriptor*, bool* isLocal) const SK_ OVERRIDE;
31 31
32 virtual int onCharsToGlyphs(const void* chars, Encoding encoding,
33 uint16_t glyphs[], int glyphCount) const SK_OVER RIDE;
32 virtual int onCountGlyphs() const SK_OVERRIDE; 34 virtual int onCountGlyphs() const SK_OVERRIDE;
33 virtual int onGetUPEM() const SK_OVERRIDE; 35 virtual int onGetUPEM() const SK_OVERRIDE;
34 36
35 virtual SkTypeface::LocalizedStrings* onCreateFamilyNameIterator() const SK_ OVERRIDE; 37 virtual SkTypeface::LocalizedStrings* onCreateFamilyNameIterator() const SK_ OVERRIDE;
36 38
37 virtual int onGetTableTags(SkFontTableTag tags[]) const SK_OVERRIDE; 39 virtual int onGetTableTags(SkFontTableTag tags[]) const SK_OVERRIDE;
38 virtual size_t onGetTableData(SkFontTableTag, size_t offset, 40 virtual size_t onGetTableData(SkFontTableTag, size_t offset,
39 size_t length, void* data) const SK_OVERRIDE; 41 size_t length, void* data) const SK_OVERRIDE;
40 virtual SkTypeface* onRefMatchingStyle(Style) const SK_OVERRIDE; 42 virtual SkTypeface* onRefMatchingStyle(Style) const SK_OVERRIDE;
41 43
42 private: 44 private:
43 SkTypeface* fProxy; 45 SkTypeface* fProxy;
44 SkPaint fPaint; 46 SkPaint fPaint;
45 }; 47 };
46 48
47 #endif 49 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698