Home
last modified time | relevance | path

Searched refs:fGlyphCount (Results 1 – 25 of 36) sorted by relevance

12

/third_party/skia/gm/
Ddrawglyphs.cpp28 fGlyphCount = fFont.countText(gText, txtLen, SkTextEncoding::kUTF8); in onOnceBeforeDraw()
30 fGlyphs.append(fGlyphCount); in onOnceBeforeDraw()
31 fFont.textToGlyphs(gText, txtLen, SkTextEncoding::kUTF8, fGlyphs.begin(), fGlyphCount); in onOnceBeforeDraw()
33 fPositions.append(fGlyphCount); in onOnceBeforeDraw()
34 fFont.getPos(fGlyphs.begin(), fGlyphCount, fPositions.begin()); in onOnceBeforeDraw()
35 auto positions = SkMakeSpan(fPositions.begin(), fGlyphCount); in onOnceBeforeDraw()
39 fXforms.append(fGlyphCount); in onOnceBeforeDraw()
59 canvas->drawGlyphs(fGlyphCount, fGlyphs.begin(), fPositions.begin(), {50, 100}, fFont, in onDraw()
62 canvas->drawGlyphs(fGlyphCount, fGlyphs.begin(), fPositions.begin(), {50, 120}, fFont, in onDraw()
69 canvas->drawGlyphs(fGlyphCount, fGlyphs.begin(), fPositions.begin(), {50, 640}, fFont, in onDraw()
[all …]
/third_party/flutter/skia/src/pdf/
DSkClusterator.h20 uint32_t glyphCount() const { return fGlyphCount; } in glyphCount()
26 uint32_t fGlyphCount; member
27 explicit operator bool() const { return fGlyphCount != 0; }
32 && fGlyphCount == o.fGlyphCount;
40 uint32_t const fGlyphCount; variable
DSkClusterator.cpp31 , fGlyphCount(SkToU32(run.glyphsIDs().size())) in SkClusterator()
33 , fReversedChars(fClusters ? is_reversed(fClusters, fGlyphCount) : false) in SkClusterator()
36 SkASSERT(fUtf8Text && fTextByteLength > 0 && fGlyphCount > 0); in SkClusterator()
43 if (fCurrentGlyphIndex >= fGlyphCount) { in next()
53 } while (fCurrentGlyphIndex < fGlyphCount && cluster == fClusters[fCurrentGlyphIndex]); in next()
56 for (unsigned i = 0; i < fGlyphCount; ++i) { in next()
/third_party/skia/src/pdf/
DSkClusterator.h20 uint32_t glyphCount() const { return fGlyphCount; } in glyphCount()
26 uint32_t fGlyphCount; member
27 explicit operator bool() const { return fGlyphCount != 0; }
32 && fGlyphCount == o.fGlyphCount;
40 uint32_t const fGlyphCount; variable
DSkClusterator.cpp31 , fGlyphCount(SkToU32(run.glyphsIDs().size())) in SkClusterator()
33 , fReversedChars(fClusters ? is_reversed(fClusters, fGlyphCount) : false) in SkClusterator()
36 SkASSERT(fUtf8Text && fTextByteLength > 0 && fGlyphCount > 0); in SkClusterator()
43 if (fCurrentGlyphIndex >= fGlyphCount) { in next()
53 } while (fCurrentGlyphIndex < fGlyphCount && cluster == fClusters[fCurrentGlyphIndex]); in next()
56 for (unsigned i = 0; i < fGlyphCount; ++i) { in next()
/third_party/flutter/skia/tests/
DShaperTest.cpp29 unsigned fGlyphCount = 0; member
38 fGlyphCount = SkToUInt(info.glyphCount); in runBuffer()
50 REPORTER_ASSERT(fReporter, fGlyphCount == info.glyphCount, "%s", fResource); in commitRunBuffer()
53 for (unsigned i = 0; i < fGlyphCount; ++i) { in commitRunBuffer()
55 "%s %u %u", fResource, i, fGlyphCount); in commitRunBuffer()
57 "%s %u %u", fResource, i, fGlyphCount); in commitRunBuffer()
/third_party/skia/tests/
DShaperTest.cpp29 unsigned fGlyphCount = 0; member
38 fGlyphCount = SkToUInt(info.glyphCount); in runBuffer()
50 REPORTER_ASSERT(fReporter, fGlyphCount == info.glyphCount, "%s", fResource); in commitRunBuffer()
53 for (unsigned i = 0; i < fGlyphCount; ++i) { in commitRunBuffer()
55 "%s %u %u", fResource, i, fGlyphCount); in commitRunBuffer()
57 "%s %u %u", fResource, i, fGlyphCount); in commitRunBuffer()
DTextBlobTest.cpp464 REPORTER_ASSERT(reporter, run.fGlyphCount == exp.fGlyphCount); in DEF_TEST()
465 for (int i = 0; i < run.fGlyphCount; ++i) { in DEF_TEST()
/third_party/icu/icu4c/source/layoutex/layout/
DParagraphLayout.h335 const le_int32 fGlyphCount; variable
628 le_int32 fGlyphCount; variable
692 return fGlyphCount; in getGlyphCount()
726 …: UObject(), fFont(NULL), fDirection(UBIDI_LTR), fGlyphCount(0), fGlyphs(NULL), fPositions(NULL), … in VisualRun()
732 …: UObject(), fFont(NULL), fDirection(UBIDI_LTR), fGlyphCount(0), fGlyphs(NULL), fPositions(NULL), … in VisualRun()
739 : fFont(font), fDirection(direction), fGlyphCount(glyphCount), in VisualRun()
/third_party/skia/modules/skottie/src/text/
DSkottieShaper.cpp133 run_offset += rec.fGlyphCount; in commitLine()
253 size_t fGlyphCount; member
276 fAdvanceBuffer.resize(rec.fGlyphCount); in commitFragementedRun()
277 fFont.getWidths(glyphs, SkToInt(rec.fGlyphCount), fAdvanceBuffer.data()); in commitFragementedRun()
283 for (size_t i = 0; i < rec.fGlyphCount; ++i) { in commitFragementedRun()
311 const auto& blob_buffer = fBuilder.allocRunPos(rec.fFont, rec.fGlyphCount); in commitConsolidatedRun()
312 for (size_t i = 0; i < rec.fGlyphCount; ++i) { in commitConsolidatedRun()
316 sk_careful_memcpy(blob_buffer.pos , pos , rec.fGlyphCount * sizeof(SkPoint)); in commitConsolidatedRun()
/third_party/icu/icu4c/source/layoutex/
DParagraphLayout.cpp324 …rMap(NULL), fCharToMinGlyphMap(NULL), fCharToMaxGlyphMap(NULL), fGlyphWidths(NULL), fGlyphCount(0), in ParagraphLayout()
403 fGlyphCount = 0; in ParagraphLayout()
411 fStyleRunInfo[run].glyphBase = fGlyphCount; in ParagraphLayout()
429 fGlyphCount += fStyleRunInfo[run].glyphCount; in ParagraphLayout()
439 fGlyphWidths = LE_NEW_ARRAY(float, fGlyphCount); in ParagraphLayout()
440 fGlyphToCharMap = LE_NEW_ARRAY(le_int32, fGlyphCount + 1); in ParagraphLayout()
497 fGlyphToCharMap[fGlyphCount] = fCharCount; in ParagraphLayout()
507 for (glyph = fGlyphCount - 1; glyph >= 0; glyph -= 1) { in ParagraphLayout()
513 fCharToMinGlyphMap[fCharCount] = fGlyphCount; in ParagraphLayout()
515 for (glyph = 0; glyph < fGlyphCount; glyph += 1) { in ParagraphLayout()
[all …]
/third_party/flutter/skia/src/core/
DSkTypeface_remote.h58 , fGlyphCount{glyphCount}
62 int glyphCount() const {return fGlyphCount;} in glyphCount()
133 const int fGlyphCount; variable
/third_party/skia/src/core/
DSkTypeface_remote.h54 , fGlyphCount{glyphCount}
59 int glyphCount() const {return fGlyphCount;} in glyphCount()
134 const int fGlyphCount; variable
/third_party/flutter/skia/modules/skottie/src/text/
DSkottieShaper.cpp131 run_offset += rec.fGlyphCount; in commitLine()
239 size_t fGlyphCount; member
255 for (size_t i = 0; i < rec.fGlyphCount; ++i) { in commitFragementedRun()
278 const auto& blob_buffer = fBuilder.allocRunPos(rec.fFont, rec.fGlyphCount); in commitConsolidatedRun()
279 for (size_t i = 0; i < rec.fGlyphCount; ++i) { in commitConsolidatedRun()
283 sk_careful_memcpy(blob_buffer.pos , pos , rec.fGlyphCount * sizeof(SkPoint)); in commitConsolidatedRun()
/third_party/flutter/skia/tools/fonts/
DTestSVGTypeface.cpp61 , fGlyphCount(data.size()) { in TestSVGTypeface()
121 glyphID = glyphID < fGlyphCount ? glyphID : 0; in getAdvance()
198 glyphID = glyphID < this->getTestSVGTypeface()->fGlyphCount ? glyphID : 0; in generateMetrics()
226 glyphID = glyphID < this->getTestSVGTypeface()->fGlyphCount ? glyphID : 0; in generateImage()
369 int totalGlyphs = fGlyphCount; in exportTtxCommon()
371 for (int i = 0; i < fGlyphCount; ++i) { in exportTtxCommon()
377 for (int i = 0; i < fGlyphCount; ++i) { in exportTtxCommon()
596 for (int i = 0; i < fGlyphCount; ++i) { in exportTtxCommon()
610 for (int i = 0; i < fGlyphCount; ++i) { in exportTtxCommon()
713 for (int i = 0; i < fGlyphCount; ++i) { in exportTtxCbdt()
[all …]
DTestSVGTypeface.h101 int onCountGlyphs() const override { return fGlyphCount; } in onCountGlyphs()
154 int fGlyphCount; variable
/third_party/skia/tools/fonts/
DTestSVGTypeface.cpp62 , fGlyphCount(data.size()) { in TestSVGTypeface()
122 glyphID = glyphID < fGlyphCount ? glyphID : 0; in getAdvance()
199 glyphID = glyphID < this->getTestSVGTypeface()->fGlyphCount ? glyphID : 0; in generateMetrics()
227 glyphID = glyphID < this->getTestSVGTypeface()->fGlyphCount ? glyphID : 0; in generateImage()
372 int totalGlyphs = fGlyphCount; in exportTtxCommon()
374 for (int i = 0; i < fGlyphCount; ++i) { in exportTtxCommon()
380 for (int i = 0; i < fGlyphCount; ++i) { in exportTtxCommon()
599 for (int i = 0; i < fGlyphCount; ++i) { in exportTtxCommon()
613 for (int i = 0; i < fGlyphCount; ++i) { in exportTtxCommon()
716 for (int i = 0; i < fGlyphCount; ++i) { in exportTtxCbdt()
[all …]
DTestSVGTypeface.h103 int onCountGlyphs() const override { return fGlyphCount; } in onCountGlyphs()
159 int fGlyphCount; variable
/third_party/skia/experimental/sktext/src/
DVisualRun.h108 , fGlyphCount(0ul) { in VisualLine()
127 size_t glyphCount() const { return fGlyphCount; } in glyphCount()
141 size_t fGlyphCount; variable
/third_party/skia/modules/skplaintexteditor/src/
Dshape.cpp84 int fGlyphCount = 0; member in __anonac8af9670111::RunHandler
124 fGlyphCount = glyphCount; in runBuffer()
151 for (int i = 0; i < fGlyphCount; ++i) { in commitRunBuffer()
/third_party/flutter/skia/experimental/editor/
Dshape.cpp84 int fGlyphCount = 0; member in __anonbd35bb230111::RunHandler
125 fGlyphCount = glyphCount; in runBuffer()
152 for (int i = 0; i < fGlyphCount; ++i) { in commitRunBuffer()
/third_party/flutter/skia/modules/skshaper/src/
DSkShaper.cpp160 fGlyphCount = glyphCount; in runBuffer()
172 for (int i = 0; i < fGlyphCount; ++i) { in commitRunBuffer()
/third_party/skia/modules/skshaper/src/
DSkShaper.cpp233 fGlyphCount = glyphCount; in runBuffer()
245 for (int i = 0; i < fGlyphCount; ++i) { in commitRunBuffer()
/third_party/skia/src/ports/
DSkScalerContext_win_dw.h90 int fGlyphCount; variable
/third_party/flutter/skia/src/ports/
DSkScalerContext_win_dw.h91 int fGlyphCount; variable

12