Home
last modified time | relevance | path

Searched refs:SkGlyphID (Results 1 – 25 of 28) sorted by relevance

12

/external/skia/src/pdf/
DSkPDFFont.h59 bool hasGlyph(SkGlyphID gid) { in hasGlyph()
64 SkGlyphID glyphToPDFFontEncoding(SkGlyphID gid) const { in glyphToPDFFontEncoding()
73 void noteGlyphUsage(SkGlyphID glyph) { in noteGlyphUsage()
88 SkGlyphID glyphID);
113 SkGlyphID fFirstGlyphID;
114 SkGlyphID fLastGlyphID;
119 SkGlyphID firstGlyphID() const { return fFirstGlyphID; } in firstGlyphID()
120 SkGlyphID lastGlyphID() const { return fLastGlyphID; } in lastGlyphID()
132 const SkGlyphID fFirstGlyphID;
133 const SkGlyphID fLastGlyphID;
DSkPDFMakeToUnicodeCmap.h18 SkGlyphID firstGlyphID,
19 SkGlyphID lastGlyphID);
26 SkGlyphID firstGlyphID,
27 SkGlyphID lastGlyphID);
DSkPDFMakeToUnicodeCmap.cpp61 SkGlyphID fGlyphId;
66 SkGlyphID fStart;
67 SkGlyphID fEnd;
74 SkGlyphID gid) { in write_glyph()
154 SkGlyphID firstGlyphID, in SkPDFAppendCmapSections()
155 SkGlyphID lastGlyphID) { in SkPDFAppendCmapSections()
216 SkGlyphID firstGlyphID, in SkPDFMakeToUnicodeCmap()
217 SkGlyphID lastGlyphID) { in SkPDFMakeToUnicodeCmap()
DSkPDFFont.cpp173 static SkGlyphID first_nonzero_glyph_for_single_byte_encoding(SkGlyphID gid) { in first_nonzero_glyph_for_single_byte_encoding()
179 SkGlyphID glyphID) { in GetFontResource()
188 SkGlyphID subsetCode = multibyte ? 0 : first_nonzero_glyph_for_single_byte_encoding(glyphID); in GetFontResource()
200 SkGlyphID lastGlyph = SkToU16(typeface->countGlyphs() - 1); in GetFontResource()
205 SkGlyphID firstNonZeroGlyph; in GetFontResource()
500 SkGlyphID firstGlyphID, in populate_type_1_font()
501 SkGlyphID lastGlyphID) { in populate_type_1_font()
566 SingleByteGlyphIdIterator(SkGlyphID first, SkGlyphID last) in SingleByteGlyphIdIterator()
576 SkGlyphID operator*() const { return (SkGlyphID)fCurrent; } in operator *()
580 Iter(SkGlyphID f, int c) : fFirst(f), fCurrent(c) {} in Iter()
[all …]
DSkPDFDevice.cpp1148 SkAutoTMalloc<SkGlyphID> fGlyphStorage;
1224 static SkUnichar map_glyph(const SkTDArray<SkUnichar>& glyphToUnicode, SkGlyphID glyph) { in map_glyph()
1284 const SkGlyphID* glyphs = nullptr; in internalDrawText()
1287 SkASSERT(glyphCount == SkToInt(sourceByteCount / sizeof(SkGlyphID))); in internalDrawText()
1288 glyphs = (const SkGlyphID*)sourceText; in internalDrawText()
1295 SkASSERT(glyphCount == SkToInt(sourceByteCount / sizeof(SkGlyphID))); in internalDrawText()
1296 glyphs = (const SkGlyphID*)sourceText; in internalDrawText()
1338 const SkGlyphID maxGlyphID = SkToU16(typeface->countGlyphs() - 1); in internalDrawText()
1388 SkGlyphID gid = glyphs[index]; in internalDrawText()
1421 SkGlyphID encodedGlyph = multiByteGlyphs ? gid : font->glyphToPDFFontEncoding(gid); in internalDrawText()
[all …]
/external/skia/src/core/
DSkGlyph.h110 SkPackedGlyphID(SkGlyphID code) : SkPackedID(code) { } in SkPackedGlyphID()
111 SkPackedGlyphID(SkGlyphID code, SkFixed x, SkFixed y) : SkPackedID(code, x, y) { } in SkPackedGlyphID()
113 SkGlyphID code() const { in code()
114 return SkTo<SkGlyphID>(SkPackedID::code()); in code()
219 SkGlyphID getGlyphID() const { in getGlyphID()
DSkGlyphCache.h42 const SkGlyph& getGlyphIDAdvance(SkGlyphID);
51 const SkGlyph& getGlyphIDMetrics(SkGlyphID);
63 SkGlyphID unicharToGlyph(SkUnichar);
67 SkUnichar glyphToUnichar(SkGlyphID);
DSkGlyphCache.cpp73 SkGlyphID SkGlyphCache::unicharToGlyph(SkUnichar charCode) { in unicharToGlyph()
84 SkGlyphID glyphID = fScalerContext->charToGlyphID(charCode); in unicharToGlyph()
90 SkUnichar SkGlyphCache::glyphToUnichar(SkGlyphID glyphID) { in glyphToUnichar()
DSkScalerContext.h313 virtual void generatePath(SkGlyphID glyphId, SkPath* path) = 0;
DSkScalerContext.cpp855 void generatePath(SkGlyphID glyph, SkPath* path) override {} in generatePath()
/external/skia/include/core/
DSkTypeface.h185 int charsToGlyphs(const void* chars, Encoding encoding, SkGlyphID glyphs[],
259 bool getKerningPairAdjustments(const SkGlyphID glyphs[], int count,
365 virtual int onCharsToGlyphs(const void* chars, Encoding, SkGlyphID glyphs[],
370 virtual bool onGetKerningPairAdjustments(const SkGlyphID glyphs[], int count,
DSkFont.h149 SkGlyphID glyphs[], int maxGlyphCount) const;
DSkTextBlob.h141 SkGlyphID* glyphs;
DSkPaint.h785 SkGlyphID glyphs[]) const;
800 void glyphsToUnichars(const SkGlyphID glyphs[], int count, SkUnichar text[]) const;
DSkTypes.h299 typedef uint16_t SkGlyphID; typedef
/external/skia/gm/
Dtexteffects.cpp326 SkAutoTArray<SkGlyphID> glyphs(glyphCount); in MakeFancyBlob()
330 const size_t glyphTextBytes = SkTo<uint32_t>(glyphCount) * sizeof(SkGlyphID); in MakeFancyBlob()
347 memcpy(buf.glyphs, glyphs.get(), SkTo<uint32_t>(defaultRunLen) * sizeof(SkGlyphID)); in MakeFancyBlob()
361 SkTo<uint32_t>(horizontalRunLen) * sizeof(SkGlyphID)); in MakeFancyBlob()
373 SkTo<uint32_t>(fullRunLen) * sizeof(SkGlyphID)); in MakeFancyBlob()
/external/skia/src/fonts/
DSkRandomScalerContext.cpp28 void generatePath(SkGlyphID, SkPath*) override;
178 void SkRandomScalerContext::generatePath(SkGlyphID glyph, SkPath* path) { in generatePath()
DSkGScalerContext.cpp57 void generatePath(SkGlyphID, SkPath*) override;
130 void SkGScalerContext::generatePath(SkGlyphID glyph, SkPath* path) { in generatePath()
DSkTestScalerContext.cpp141 void SkTestTypeface::getPath(SkGlyphID glyph, SkPath* path) { in getPath()
273 void generatePath(SkGlyphID glyph, SkPath* path) override { in generatePath()
DSkTestScalerContext.h63 void getPath(SkGlyphID glyph, SkPath* path);
/external/skia/src/ports/
DSkScalerContext_win_dw.h35 void generatePath(SkGlyphID glyph, SkPath* path) override;
DSkFontHost_win.cpp553 void generatePath(SkGlyphID glyph, SkPath* path) override;
557 DWORD getGDIGlyphPath(SkGlyphID glyph, UINT flags,
1596 DWORD SkScalerContext_GDI::getGDIGlyphPath(SkGlyphID glyph, UINT flags, in getGDIGlyphPath()
1634 void SkScalerContext_GDI::generatePath(SkGlyphID glyph, SkPath* path) { in generatePath()
DSkFontHost_FreeType.cpp465 void generatePath(SkGlyphID glyphID, SkPath* path) override;
1292 void SkScalerContext_FreeType::generatePath(SkGlyphID glyphID, SkPath* path) { in generatePath()
/external/skia/samplecode/
DSamplePathText.cpp32 SkGlyphID id = cache->unicharToGlyph(c); in PathText()
/external/skia/fuzz/
DFuzzCanvas.cpp1059 SkGlyphID* glyphs = (SkGlyphID*)array.append(glyphCount * sizeof(SkGlyphID)); in make_fuzz_text()

12