Home
last modified time | relevance | path

Searched refs:glyphID (Results 1 - 25 of 33) sorted by relevance

12

/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
H A DClassTable.java23 private int glyphID; field in ClassTable.ClassEntry
26 public ClassEntry(int glyphID, int classID) in ClassEntry() argument
28 this.glyphID = glyphID; in ClassEntry()
34 return glyphID; in getGlyphID()
44 return this.glyphID - that.glyphID; in compareTo()
68 public static int search(ClassEntry[] table, int glyphID) in search() argument
76 if (table[extra].glyphID <= glyphID) { in search()
149 getGlyphClassID(int glyphID) getGlyphClassID() argument
[all...]
/third_party/skia/tools/fonts/
H A DTestTypeface.cpp94 SkGlyphID glyphID = glyph->getGlyphID(); in getAdvance() local
95 glyphID = glyphID < fTestFont->fCharCodesCount ? glyphID : 0; in getAdvance()
98 glyph->fAdvanceX = SkFixedToFloat(fTestFont->fWidths[glyphID]); in getAdvance()
104 SkPath TestTypeface::getPath(SkGlyphID glyphID) { in getPath() argument
105 glyphID = glyphID < fTestFont->fCharCodesCount ? glyphID : 0; in getPath()
106 return fTestFont->fPaths[glyphID]; in getPath()
[all...]
H A DTestSVGTypeface.cpp121 SkGlyphID glyphID = glyph->getGlyphID(); in getAdvance() local
122 glyphID = glyphID < fGlyphCount ? glyphID : 0; in getAdvance()
124 glyph->fAdvanceX = fGlyphs[glyphID].fAdvance; in getAdvance()
198 SkGlyphID glyphID = glyph->getGlyphID(); variable
199 glyphID = glyphID < this->getTestSVGTypeface()->fGlyphCount ? glyphID : 0;
205 TestSVGTypeface::Glyph& glyphData = this->getTestSVGTypeface()->fGlyphs[glyphID];
226 SkGlyphID glyphID = glyph.getGlyphID(); global() variable
[all...]
H A Dcreate_test_font.cpp128 uint16_t glyphID = font.unicharToGlyph(index); in output_path_data() local
130 font.getPath(glyphID, &path); in output_path_data()
156 font.getWidths(&glyphID, 1, &width); in output_path_data()
/third_party/skia/src/core/
H A DSkGlyph.h53 constexpr explicit SkPackedGlyphID(SkGlyphID glyphID) in SkPackedGlyphID()
54 : fID{(uint32_t)glyphID << kGlyphID} { } in SkPackedGlyphID()
56 constexpr SkPackedGlyphID(SkGlyphID glyphID, SkFixed x, SkFixed y) in SkPackedGlyphID()
57 : fID {PackIDXY(glyphID, x, y)} { } in SkPackedGlyphID()
59 constexpr SkPackedGlyphID(SkGlyphID glyphID, uint32_t x, uint32_t y) in SkPackedGlyphID()
60 : fID {PackIDSubXSubY(glyphID, x, y)} { } in SkPackedGlyphID()
62 SkPackedGlyphID(SkGlyphID glyphID, SkPoint pt, SkIPoint mask) in SkPackedGlyphID()
63 : fID{PackIDSkPoint(glyphID, pt, mask)} { } in SkPackedGlyphID()
78 SkGlyphID glyphID() const { in glyphID() function
100 str.appendf("glyphID in dump()
[all...]
H A DSkGlyphBuffer.cpp65 for (auto [glyphID, pos] : withMappedPos) { in startBitmapDevice()
66 *packedIDCursor++ = SkPackedGlyphID{glyphID, pos, mask}; in startBitmapDevice()
91 for (auto [packedGlyphID, glyphID, pos] in startGPUDevice()
93 packedGlyphID = SkPackedGlyphID{glyphID, pos, roundingSpec.ignorePositionFieldMask}; in startGPUDevice()
H A DSkStrikeSpec.cpp238 const SkGlyph* SkBulkGlyphMetrics::glyph(SkGlyphID glyphID) { in glyph() argument
239 return this->glyphs(SkSpan<const SkGlyphID>{&glyphID, 1})[0]; in glyph()
255 const SkGlyph* SkBulkGlyphMetricsAndPaths::glyph(SkGlyphID glyphID) { in glyph() argument
256 return this->glyphs(SkSpan<const SkGlyphID>{&glyphID, 1})[0]; in glyph()
H A DSkScalerCache.cpp87 for (auto glyphID : glyphIDs) { in internalPrepare()
88 auto [glyph, size] = this->glyph(SkPackedGlyphID{glyphID}); in internalPrepare()
146 for (auto glyphID : glyphIDs) { in prepareImages()
147 auto[glyph, glyphSize] = this->glyph(glyphID); in prepareImages()
H A DSkStrikeSpec.h118 const SkGlyph* glyph(SkGlyphID glyphID);
132 const SkGlyph* glyph(SkGlyphID glyphID);
H A DSkRemoteGlyphCache.cpp306 SkGlyphID glyphID;
307 // If drawing glyphID can be done with a path, this is 0, otherwise it is the max
314 return summary.glyphID;
530 SkGlyphID glyphID = packedID.glyphID(); in prepareForPathDrawing()
531 PathSummary* summary = fSentPaths.find(glyphID); in prepareForPathDrawing()
536 fPathsToSend.emplace_back(fContext->makeGlyph(SkPackedGlyphID{glyphID})); in prepareForPathDrawing()
912 SkPackedGlyphID glyphID; in ReadGlyph() local
913 if (!deserializer->read<SkPackedGlyphID>(&glyphID)) return false; in ReadGlyph()
914 glyph.init(glyphID); in ReadGlyph()
[all...]
H A DSkGlyphBuffer.h37 auto [glyphID, pos] = fSource[index]; in reject()
38 fRejectedGlyphIDs.push_back(glyphID); in reject()
H A DSkScalerContext.cpp689 bool SkScalerContext::getPath(SkPackedGlyphID glyphID, SkPath* path) { in getPath() argument
692 return this->internalGetPath(glyphID, path, nullptr); in getPath()
702 bool SkScalerContext::internalGetPath(SkPackedGlyphID glyphID, SkPath* devPath, bool* hairline) { in internalGetPath() argument
704 if (!generatePath(glyphID.glyphID(), &path)) { in internalGetPath()
709 SkFixed dx = glyphID.getSubXFixed(); in internalGetPath()
710 SkFixed dy = glyphID.getSubYFixed(); in internalGetPath()
H A DSkTypeface_remote.cpp50 bool SkScalerContextProxy::generatePath(SkGlyphID glyphID, SkPath* path) { in generatePath() argument
H A DSkTypeface_remote.h34 bool generatePath(SkGlyphID glyphID, SkPath* path) override;
H A DSkFont.cpp272 bool SkFont::getPath(SkGlyphID glyphID, SkPath* path) const { in getPath() argument
278 this->getPaths(&glyphID, 1, [](const SkPath* orig, const SkMatrix& mx, void* ctx) { in getPath()
/third_party/skia/tests/
H A DSkGlyphBufferTest.cpp106 for (auto [i, glyphID, pos] : SkMakeEnumerate(rejects.source())) { in DEF_TEST()
107 REPORTER_ASSERT(reporter, glyphID == std::get<0>(source[i])); in DEF_TEST()
115 for (auto [i, glyphID, pos] : SkMakeEnumerate(rejects.source())) { in DEF_TEST()
118 REPORTER_ASSERT(reporter, glyphID == std::get<0>(source[j])); in DEF_TEST()
126 for (auto [i, glyphID, pos] : SkMakeEnumerate(rejects.source())) { in DEF_TEST()
129 REPORTER_ASSERT(reporter, glyphID == std::get<0>(source[j])); in DEF_TEST()
135 for (auto [i, glyphID, pos] : SkMakeEnumerate(rejects.source())) { in DEF_TEST()
136 REPORTER_ASSERT(reporter, glyphID == std::get<0>(source[i])); in DEF_TEST()
145 for (auto [i, glyphID, pos] : SkMakeEnumerate(rejects.source())) { in DEF_TEST()
148 REPORTER_ASSERT(reporter, glyphID in DEF_TEST()
[all...]
H A DPDFPrimitivesTest.cpp89 uint16_t glyphID = 65000; in test_issue1083() local
90 canvas->drawSimpleText(&glyphID, 2, SkTextEncoding::kGlyphID, 0, 0, SkFont(), SkPaint()); in test_issue1083()
/third_party/skia/gm/
H A Dpoly2poly.cpp69 uint16_t glyphID = 3; // X in doDraw() local
70 SkTextUtils::Draw(canvas, &glyphID, sizeof(glyphID), SkTextEncoding::kGlyphID, x, y, in doDraw()
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-ot-cmap-table.hh547 HBUINT32 glyphID; /* Glyph index; interpretation depends on member
643 hb_codepoint_t gid = this->groups[i].glyphID; in collect_unicodes()
668 hb_codepoint_t gid = this->groups[i].glyphID; in collect_mapping()
711 group.glyphID + (u - group.startCharCode) : 0; } in group_get_glyph()
724 hb_codepoint_t glyphID = 0; in serialize() local
732 glyphID = _.second; in serialize()
734 else if (!_is_gid_consecutive (endCharCode, startCharCode, glyphID, _.first, _.second)) in serialize()
739 grouprecord.glyphID = glyphID; in serialize()
744 glyphID in serialize()
903 HBGlyphID16 glyphID; /* Glyph ID of the UVS */ global() member
[all...]
/third_party/skia/src/ports/
H A DSkFontHost_FreeType_common.cpp398 bool generateFacePathCOLRv1(FT_Face face, SkGlyphID glyphID, SkPath* path);
724 FT_UInt glyphID = colrv1_paint.u.glyph.glyphID; in colrv1_draw_paint() local
730 if (generateFacePathCOLRv1(face, glyphID, &path)) { in colrv1_draw_paint()
780 FT_UInt glyphID = glyphPaint.u.glyph.glyphID; in colrv1_draw_glyph_with_path() local
786 if (generateFacePathCOLRv1(face, glyphID, &path)) { in colrv1_draw_glyph_with_path()
935 face, paint.u.colr_glyph.glyphID, in colrv1_traverse_paint()
1131 FT_UInt glyphID = paint.u.glyph.glyphID; in colrv1_traverse_paint_bounds() local
1646 generateFacePathStatic(FT_Face face, SkGlyphID glyphID, SkPath* path) generateFacePathStatic() argument
1665 generateFacePathCOLRv1(FT_Face face, SkGlyphID glyphID, SkPath* path) generateFacePathCOLRv1() argument
1732 generateFacePath(FT_Face face, SkGlyphID glyphID, SkPath* path) generateFacePath() argument
1738 computeColrV1GlyphBoundingBox(FT_Face face, SkGlyphID glyphID, FT_BBox* boundingBox) computeColrV1GlyphBoundingBox() argument
[all...]
H A DSkFontHost_FreeType_common.h52 bool generateFacePath(FT_Face face, SkGlyphID glyphID, SkPath* path);
61 bool computeColrV1GlyphBoundingBox(FT_Face face, SkGlyphID glyphID, FT_BBox* boundingBox);
H A DSkScalerContext_mac_ct.h66 CGGlyph glyphID, size_t* rowBytesPtr, bool generateA8FromLCD);
/third_party/skia/src/utils/
H A DSkShaperJSONWriter.cpp90 for (auto glyphID : fGlyphs) { in commitRunBuffer()
91 fJSONWriter->appendU32(glyphID); in commitRunBuffer()
231 for (auto glyphID : glyphIDs) { in displayMToN()
232 fJSONWriter->appendU32(glyphID); in displayMToN()
/third_party/skia/modules/skparagraph/tests/
H A DSkShaperJSONWriter.cpp97 for (auto glyphID : fGlyphs) { in commitRunBuffer()
98 fJSONWriter->appendU32(glyphID); in commitRunBuffer()
238 for (auto glyphID : glyphIDs) { in displayMToN()
239 fJSONWriter->appendU32(glyphID); in displayMToN()
/third_party/skia/third_party/externals/freetype/include/freetype/
H A Dftcolor.h1014 * glyphID ::
1026 FT_UInt glyphID; member
1040 * glyphID ::
1051 FT_UInt glyphID; member

Completed in 22 milliseconds

12