/third_party/skia/gm/ |
D | drawglyphs.cpp | 28 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/ |
D | SkClusterator.h | 20 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
|
D | SkClusterator.cpp | 31 , 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/ |
D | SkClusterator.h | 20 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
|
D | SkClusterator.cpp | 31 , 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/ |
D | ShaperTest.cpp | 29 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/ |
D | ShaperTest.cpp | 29 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()
|
D | TextBlobTest.cpp | 464 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/ |
D | ParagraphLayout.h | 335 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/ |
D | SkottieShaper.cpp | 133 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/ |
D | ParagraphLayout.cpp | 324 …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/ |
D | SkTypeface_remote.h | 58 , fGlyphCount{glyphCount} 62 int glyphCount() const {return fGlyphCount;} in glyphCount() 133 const int fGlyphCount; variable
|
/third_party/skia/src/core/ |
D | SkTypeface_remote.h | 54 , fGlyphCount{glyphCount} 59 int glyphCount() const {return fGlyphCount;} in glyphCount() 134 const int fGlyphCount; variable
|
/third_party/flutter/skia/modules/skottie/src/text/ |
D | SkottieShaper.cpp | 131 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/ |
D | TestSVGTypeface.cpp | 61 , 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 …]
|
D | TestSVGTypeface.h | 101 int onCountGlyphs() const override { return fGlyphCount; } in onCountGlyphs() 154 int fGlyphCount; variable
|
/third_party/skia/tools/fonts/ |
D | TestSVGTypeface.cpp | 62 , 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 …]
|
D | TestSVGTypeface.h | 103 int onCountGlyphs() const override { return fGlyphCount; } in onCountGlyphs() 159 int fGlyphCount; variable
|
/third_party/skia/experimental/sktext/src/ |
D | VisualRun.h | 108 , fGlyphCount(0ul) { in VisualLine() 127 size_t glyphCount() const { return fGlyphCount; } in glyphCount() 141 size_t fGlyphCount; variable
|
/third_party/skia/modules/skplaintexteditor/src/ |
D | shape.cpp | 84 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/ |
D | shape.cpp | 84 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/ |
D | SkShaper.cpp | 160 fGlyphCount = glyphCount; in runBuffer() 172 for (int i = 0; i < fGlyphCount; ++i) { in commitRunBuffer()
|
/third_party/skia/modules/skshaper/src/ |
D | SkShaper.cpp | 233 fGlyphCount = glyphCount; in runBuffer() 245 for (int i = 0; i < fGlyphCount; ++i) { in commitRunBuffer()
|
/third_party/skia/src/ports/ |
D | SkScalerContext_win_dw.h | 90 int fGlyphCount; variable
|
/third_party/flutter/skia/src/ports/ |
D | SkScalerContext_win_dw.h | 91 int fGlyphCount; variable
|