Home
last modified time | relevance | path

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

/external/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()
DSkPDFDevice.cpp947 SkScalar advance = advanceScale * glyphs[index]->advanceX(); in internalDrawGlyphRun()
/external/skqp/gm/
Dtextblob.cpp149 const SkScalar advanceX = font.getSize() * 0.85f; in makeBlob() local
152 SkPoint offset = SkPoint::Make(currentGlyph * advanceX + c * advanceX, in makeBlob()
166 *pos.append() = offset.x() + i * advanceX; in makeBlob()
177 *pos.append() = offset.x() + i * advanceX; in makeBlob()
Dtextbloblooper.cpp36 const SkScalar advanceX = font.getSize() * 0.85f; in add_to_text_blob() local
41 *pos.append() = x + i * advanceX; in add_to_text_blob()
/external/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()
/external/skia/modules/skparagraph/src/
DOneLineShaper.cpp147 void OneLineShaper::finish(const Block& block, SkScalar height, SkScalar& advanceX) { in finish() argument
213 advanceX in finish()
228 piece->addX(index, advanceX); in finish()
236 advanceX = fAdvance.fX; in finish()
552 SkScalar advanceX = 0; in iterateThroughShapingRegions() local
568 if (!shape(textRange, styleSpan, advanceX, start, bidiRegion.level)) { in iterateThroughShapingRegions()
605 advanceX); in iterateThroughShapingRegions()
607 run.fPositions[0] = { advanceX, 0 }; in iterateThroughShapingRegions()
610 advanceX += placeholder.fStyle.fWidth; in iterateThroughShapingRegions()
623 …(TextRange textRange, SkSpan<Block> styleSpan, SkScalar& advanceX, TextIndex textStart, uint8_t de… in shape() argument
[all …]
DOneLineShaper.h73 void finish(const Block& block, SkScalar height, SkScalar& advanceX);
/external/skia/src/core/
DSkFont.cpp234 width = glyphs[0]->advanceX(); in measureText()
239 width += glyphs[i]->advanceX(); in measureText()
243 width += glyph->advanceX(); in measureText()
283 *cursor++ = glyph->advanceX() * scale; in getWidthsBounds()
311 loc += glyph->advanceX() * strikeSpec.strikeToSourceRatio(); in getXPos()
DSkGlyph.h237 SkScalar advanceX() const { return fAdvanceX; } in advanceX() function
DSkTextBlob.cpp907 prevAdvance = glyph->advanceX(); in get_glyph_run_intercepts()
DSkRemoteGlyphCache.cpp380 serializer->write<float>(glyph.advanceX()); in writeGlyph()
/external/skia/modules/skparagraph/include/
DParagraph.h82 SkScalar advanceX; member
/external/skqp/src/ports/
DSkScalerContext_win_dw.cpp416 SkScalar advanceX = fTextSizeMeasure * gm.advanceWidth / dwfm.designUnitsPerEm; in generateAdvance() local
418 SkVector advance = { advanceX, 0 }; in generateAdvance()
/external/skia/src/ports/
DSkScalerContext_win_dw.cpp425 SkScalar advanceX = fTextSizeMeasure * gm.advanceWidth / dwfm.designUnitsPerEm; in generateAdvance() local
427 SkVector advance = { advanceX, 0 }; in generateAdvance()
/external/skia/modules/canvaskit/
Dparagraph_bindings.cpp392 positions.get()[N] = { info->advanceX, positions.get()[N - 1].fY }; in GetShapedLines()
/external/skia/modules/skparagraph/samples/
DSampleParagraph.cpp3482 info->advanceX - first.fX, in onDrawContent()