Home
last modified time | relevance | path

Searched refs:glyphInfo (Results 1 - 6 of 6) sorted by relevance

/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/bitmap/
H A DBitmapSizeTable.java104 public BitmapGlyphInfo glyphInfo(int glyphId) { in glyphInfo() method in BitmapSizeTable
109 return subTable.glyphInfo(glyphId); in glyphInfo()
337 public BitmapGlyphInfo glyphInfo(int glyphId) { in glyphInfo() method in BitmapSizeTable.Builder
342 return subTable.glyphInfo(glyphId); in glyphInfo()
H A DIndexSubTable.java83 public BitmapGlyphInfo glyphInfo(int glyphId) { in glyphInfo() method in IndexSubTable
295 public BitmapGlyphInfo glyphInfo(int glyphId) { in glyphInfo() method in IndexSubTable.Builder
/third_party/skia/modules/skparagraph/include/
H A DParagraph.h152 * @param glyphInfo a glyph cluster info filled if not null
155 virtual bool getGlyphClusterAt(TextIndex codeUnitIndex, GlyphClusterInfo* glyphInfo) = 0;
161 * @param glyphInfo a glyph cluster info filled if not null
166 GlyphClusterInfo* glyphInfo) = 0;
/third_party/skia/modules/skparagraph/src/
H A DParagraphImpl.h260 bool getGlyphClusterAt(TextIndex codeUnitIndex, GlyphClusterInfo* glyphInfo) override;
263 GlyphClusterInfo* glyphInfo) override;
H A DParagraphImpl.cpp2051 bool ParagraphImpl::getGlyphClusterAt(TextIndex codeUnitIndex, GlyphClusterInfo* glyphInfo) { in GetLineFontMetrics() argument
2066 if (glyphInfo) { in GetLineFontMetrics()
2067 *glyphInfo = {boxes[0].rect, cluster.textRange(), boxes[0].direction}; in GetLineFontMetrics()
2080 GlyphClusterInfo* glyphInfo) { in GetLineFontMetrics()
2084 if (this->getGlyphClusterAt(textIndex, glyphInfo ? glyphInfo : &gci)) { in GetLineFontMetrics()
2078 getClosestGlyphClusterAt(SkScalar dx, SkScalar dy, GlyphClusterInfo* glyphInfo) GetLineFontMetrics() argument
/third_party/skia/modules/skparagraph/tests/
H A DSkParagraphTest.cpp7603 Paragraph::GlyphClusterInfo glyphInfo; in UNIX_ONLY_TEST() local
7604 auto foundCluster = paragraph->getGlyphClusterAt(0, &glyphInfo); in UNIX_ONLY_TEST()
7605 REPORTER_ASSERT(reporter, foundCluster && glyphInfo.fClusterTextRange.start == 0); in UNIX_ONLY_TEST()
7606 foundCluster = paragraph->getGlyphClusterAt(len / 2, &glyphInfo); in UNIX_ONLY_TEST()
7607 REPORTER_ASSERT(reporter, foundCluster && glyphInfo.fClusterTextRange.start == len / 2); in UNIX_ONLY_TEST()
7608 foundCluster = paragraph->getGlyphClusterAt(len, &glyphInfo); in UNIX_ONLY_TEST()
7611 auto foundClosest = paragraph->getClosestGlyphClusterAt(0, 10, &glyphInfo); in UNIX_ONLY_TEST()
7612 REPORTER_ASSERT(reporter, foundClosest && glyphInfo.fClusterTextRange.start == 0 && in UNIX_ONLY_TEST()
7613 glyphInfo.fClusterTextRange.end == 1); in UNIX_ONLY_TEST()
7614 foundClosest = paragraph->getClosestGlyphClusterAt(TestCanvasWidth / 2, 20, &glyphInfo); in UNIX_ONLY_TEST()
[all...]

Completed in 19 milliseconds