/third_party/skia/gm/ |
H A D | drawglyphs.cpp | 28 fGlyphCount = fFont.countText(gText, txtLen, SkTextEncoding::kUTF8); 30 fGlyphs.append(fGlyphCount); 31 fFont.textToGlyphs(gText, txtLen, SkTextEncoding::kUTF8, fGlyphs.begin(), fGlyphCount); 33 fPositions.append(fGlyphCount); 34 fFont.getPos(fGlyphs.begin(), fGlyphCount, fPositions.begin()); 35 auto positions = SkMakeSpan(fPositions.begin(), fGlyphCount); 39 fXforms.append(fGlyphCount); 59 canvas->drawGlyphs(fGlyphCount, fGlyphs.begin(), fPositions.begin(), {50, 100}, fFont, 62 canvas->drawGlyphs(fGlyphCount, fGlyphs.begin(), fPositions.begin(), {50, 120}, fFont, 69 canvas->drawGlyphs(fGlyphCount, fGlyph 84 int fGlyphCount; global() member in DrawGlyphsGM [all...] |
/third_party/skia/src/pdf/ |
H A 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; } in operator bool() 32 && fGlyphCount == o.fGlyphCount; in operator ==() 40 uint32_t const fGlyphCount; member in SkClusterator
|
H A 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()
|
H A D | SkPDFDevice.cpp | 884 int glyphLimit = index + c.fGlyphCount; in internalDrawGlyphRun()
|
/third_party/skia/tests/ |
H A D | ShaperTest.cpp | 29 unsigned fGlyphCount = 0; member 38 fGlyphCount = SkToUInt(info.glyphCount); 50 REPORTER_ASSERT(fReporter, fGlyphCount == info.glyphCount, "%s", fResource); 53 for (unsigned i = 0; i < fGlyphCount; ++i) { 55 "%s %u %u", fResource, i, fGlyphCount); 57 "%s %u %u", fResource, i, fGlyphCount);
|
H A 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/skia/modules/skshaper/tests/ |
H A D | ShaperTest.cpp | 35 unsigned fGlyphCount = 0; member 48 fGlyphCount = SkToUInt(info.glyphCount); 60 REPORTER_ASSERT(fReporter, fGlyphCount == info.glyphCount, "%s", fResource); 99 fResource, fRange.begin(), fRange.end(), fRange.size(), fGlyphCount, 106 for (unsigned i = 0; i < fGlyphCount; ++i) { 109 fClusters[i], fRange.begin(), fResource, i, fGlyphCount); 112 fClusters[i], fRange.end(), fResource, i, fGlyphCount);
|
/third_party/icu/icu4c/source/layoutex/ |
H A D | ParagraphLayout.cpp | 324 fGlyphToCharMap(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; glyp in ParagraphLayout() [all...] |
/third_party/icu/icu4c/source/layoutex/layout/ |
H A D | ParagraphLayout.h | 335 const le_int32 fGlyphCount; member in ParagraphLayout::VisualRun 628 le_int32 fGlyphCount; member in ParagraphLayout 692 return fGlyphCount; in getGlyphCount() 726 : UObject(), fFont(NULL), fDirection(UBIDI_LTR), fGlyphCount(0), fGlyphs(NULL), fPositions(NULL), fGlyphToCharMap(NULL) in VisualRun() 732 : UObject(), fFont(NULL), fDirection(UBIDI_LTR), fGlyphCount(0), fGlyphs(NULL), fPositions(NULL), fGlyphToCharMap(NULL) in VisualRun() 739 : fFont(font), fDirection(direction), fGlyphCount(glyphCount), in VisualRun()
|
/third_party/skia/modules/skottie/src/text/ |
H A D | SkottieShaper.cpp | 133 run_offset += rec.fGlyphCount; 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/skia/src/core/ |
H A D | SkTypeface_remote.h | 54 , fGlyphCount{glyphCount} 59 int glyphCount() const {return fGlyphCount;} in glyphCount() 134 const int fGlyphCount; member in SkTypefaceProxy
|
H A D | SkCanvas.cpp | 2414 RETURN_ON_FALSE(r.fGlyphCount <= glyphsLeft); 2415 totalGlyphCount += r.fGlyphCount;
|
H A D | SkTextBlob.cpp | 980 rec->fGlyphCount = fRunRecord->glyphCount(); in next()
|
/third_party/skia/experimental/sktext/src/ |
H A D | VisualRun.h | 108 , fGlyphCount(0ul) { in VisualLine() 127 size_t glyphCount() const { return fGlyphCount; } in glyphCount() 141 size_t fGlyphCount; member in skia::text::VisualLine
|
/third_party/skia/tools/fonts/ |
H A 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; 227 glyphID = glyphID < this->getTestSVGTypeface()->fGlyphCount ? glyphID : 0; 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; in exportTtxCbdt() [all...] |
H A D | TestSVGTypeface.h | 103 int onCountGlyphs() const override { return fGlyphCount; } 159 int fGlyphCount; member in TestSVGTypeface
|
/third_party/skia/modules/skplaintexteditor/src/ |
H A D | shape.cpp | 84 int fGlyphCount = 0; member in __anon18604::final 124 fGlyphCount = glyphCount; in runBuffer() 151 for (int i = 0; i < fGlyphCount; ++i) { in commitRunBuffer()
|
/third_party/skia/src/ports/ |
H A D | SkScalerContext_win_dw.h | 90 int fGlyphCount; member in SkScalerContext_DW
|
H A D | SkScalerContext_win_dw.cpp | 264 fGlyphCount = typeface->fDWriteFontFace->GetGlyphCount(); in SkScalerContext_DW() 434 if (fGlyphCount <= glyphId) { in generateAdvance() 1238 if (fGlyphCount <= glyph) { in generatePath()
|
/third_party/skia/modules/skshaper/src/ |
H A D | SkShaper.cpp | 373 fGlyphCount = glyphCount; in Make() 385 for (int i = 0; i < fGlyphCount; ++i) { in Make()
|
/third_party/skia/include/core/ |
H A D | SkTextBlob.h | 201 int fGlyphCount; member
|
/third_party/skia/modules/skshaper/include/ |
H A D | SkShaper.h | 332 int fGlyphCount; member in SkiaRsText::final
|