Home
last modified time | relevance | path

Searched refs:advanceX (Results 1 – 25 of 30) sorted by relevance

12

/third_party/skia/src/pdf/
DSkPDFMakeCIDGlyphWidthsArray.cpp120 advances.push_back((int16_t)glyph->advanceX()); in SkPDFMakeCIDGlyphWidthsArray()
130 int16_t advance = (int16_t)glyphs[i]->advanceX(); in SkPDFMakeCIDGlyphWidthsArray()
143 int16_t next_advance = (int16_t)glyphs[j]->advanceX(); in SkPDFMakeCIDGlyphWidthsArray()
163 advance = (int16_t)glyphs[j]->advanceX(); in SkPDFMakeCIDGlyphWidthsArray()
180 next_advance = (int16_t)glyphs[j+1]->advanceX(); in SkPDFMakeCIDGlyphWidthsArray()
189 next_advance = (int16_t)glyphs[j+2]->advanceX(); in SkPDFMakeCIDGlyphWidthsArray()
DSkPDFFont.cpp590 advance = glyph->advanceX(); in emit_subset_type3()
596 setGlyphWidthAndBoundingBox(glyph->advanceX(), glyphBBox, &content); in emit_subset_type3()
602 setGlyphWidthAndBoundingBox(glyph->advanceX(), glyphBBox, &content); in emit_subset_type3()
606 AppendScalar(glyph->advanceX(), &content); in emit_subset_type3()
DSkPDFType1Font.cpp315 widths->appendScalar(from_font_units(glyphs[i]->advanceX(), SkToU16(emSize))); in SkPDFEmitType1Font()
/third_party/flutter/skia/gm/
Dtextblob.cpp151 const SkScalar advanceX = font.getSize() * 0.85f; in makeBlob() local
154 SkPoint offset = SkPoint::Make(currentGlyph * advanceX + c * advanceX, in makeBlob()
168 *pos.append() = offset.x() + i * advanceX; in makeBlob()
179 *pos.append() = offset.x() + i * advanceX; in makeBlob()
Dtextbloblooper.cpp58 const SkScalar advanceX = font.getSize() * 0.85f; in add_to_text_blob() local
63 *pos.append() = x + i * advanceX; in add_to_text_blob()
/third_party/skia/gm/
Dtextblob.cpp151 const SkScalar advanceX = font.getSize() * 0.85f; in makeBlob() local
154 SkPoint offset = SkPoint::Make(currentGlyph * advanceX + c * advanceX, in makeBlob()
168 *pos.append() = offset.x() + i * advanceX; in makeBlob()
179 *pos.append() = offset.x() + i * advanceX; in makeBlob()
/third_party/skia/modules/skparagraph/src/
DOneLineShaper.cpp147 void OneLineShaper::finish(const Block& block, SkScalar height, SkScalar& advanceX) { in finish() argument
215 advanceX in finish()
230 piece->addX(index, advanceX); in finish()
238 advanceX = fAdvance.fX; in finish()
559 SkScalar advanceX = 0; in iterateThroughShapingRegions() local
575 if (!shape(textRange, styleSpan, advanceX, start, bidiRegion.level)) { in iterateThroughShapingRegions()
613 advanceX); in iterateThroughShapingRegions()
615 run.fPositions[0] = { advanceX, 0 }; in iterateThroughShapingRegions()
618 advanceX += placeholder.fStyle.fWidth; in iterateThroughShapingRegions()
631 …(TextRange textRange, SkSpan<Block> styleSpan, SkScalar& advanceX, TextIndex textStart, uint8_t de… in shape() argument
[all …]
DOneLineShaper.h74 void finish(const Block& block, SkScalar height, SkScalar& advanceX);
/third_party/skia/src/core/
DSkFont.cpp179 width = glyphs[0]->advanceX(); in measureText()
184 width += glyphs[i]->advanceX(); in measureText()
188 width += glyph->advanceX(); in measureText()
225 *cursor++ = glyph->advanceX() * strikeToSourceScale; in getWidthsBounds()
253 loc += glyph->advanceX() * strikeToSourceScale; in getXPos()
DSkGlyph.h238 SkScalar advanceX() const { return fAdvanceX; } in advanceX() function
DSkRemoteGlyphCache.cpp373 serializer->write<float>(glyph.advanceX()); in writeGlyph()
/third_party/flutter/skia/src/core/
DSkFont.cpp232 width = glyphs[0]->advanceX(); in measureText()
237 width += glyphs[i]->advanceX(); in measureText()
241 width += glyph->advanceX(); in measureText()
281 *cursor++ = glyph->advanceX() * scale; in getWidthsBounds()
309 loc += glyph->advanceX() * strikeSpec.strikeToSourceRatio(); in getXPos()
DSkGlyph.h125 SkScalar advanceX() const { return fAdvanceX; } in advanceX() function
298 float advanceX = 0, member
DSkGlyph.cpp75 , fAdvanceX{p.advanceX}
DSkRemoteGlyphCache.cpp563 serializer->write<float>(glyph->advanceX()); in writeGlyph()
DSkTextBlob.cpp893 prevAdvance = glyph->advanceX(); in get_glyph_run_intercepts()
/third_party/skia/modules/skparagraph/include/
DParagraph.h82 SkScalar advanceX; member
/third_party/flutter/skia/src/pdf/
DSkPDFFont.cpp564 advance = glyph->advanceX(); in emit_subset_type3()
570 setGlyphWidthAndBoundingBox(glyph->advanceX(), glyphBBox, &content); in emit_subset_type3()
576 setGlyphWidthAndBoundingBox(glyph->advanceX(), glyphBBox, &content); in emit_subset_type3()
579 SkPDFUtils::AppendScalar(glyph->advanceX(), &content); in emit_subset_type3()
DSkPDFMakeCIDGlyphWidthsArray.cpp197 advance = (int16_t)glyphs[gId]->advanceX(); in SkPDFMakeCIDGlyphWidthsArray()
DSkPDFType1Font.cpp315 widths->appendScalar(from_font_units(glyphs[i]->advanceX(), SkToU16(emSize))); in SkPDFEmitType1Font()
DSkPDFDevice.cpp942 SkScalar advance = advanceScale * glyphs[index]->advanceX(); in internalDrawGlyphRun()
/third_party/skia/modules/skparagraph/gm/
Dsimple_gm.cpp125 const SkScalar X1 = X0 + info->advanceX; in drawFromVisitor()
/third_party/flutter/skia/src/ports/
DSkScalerContext_win_dw.cpp410 SkScalar advanceX = fTextSizeMeasure * gm.advanceWidth / dwfm.designUnitsPerEm; in generateAdvance() local
412 SkVector advance = { advanceX, 0 }; in generateAdvance()
/third_party/skia/src/ports/
DSkScalerContext_win_dw.cpp465 SkScalar advanceX = fTextSizeMeasure * gm.advanceWidth / dwfm.designUnitsPerEm; in generateAdvance() local
467 SkVector advance = { advanceX, 0 }; in generateAdvance()
/third_party/skia/modules/canvaskit/
Dparagraph_bindings.cpp392 positions.get()[N] = { info->advanceX, positions.get()[N - 1].fY }; in GetShapedLines()

12