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.cpp609 advance = pathGlyph->advanceX(); in emit_subset_type3()
626 SkPDFUtils::AppendScalar(drawableGlyph->advanceX(), &content); in emit_subset_type3()
631 setGlyphWidthAndBoundingBox(pathGlyph->advanceX(), glyphBBox, &content); in emit_subset_type3()
637 setGlyphWidthAndBoundingBox(pathGlyph->advanceX(), glyphBBox, &content); in emit_subset_type3()
641 AppendScalar(pathGlyph->advanceX(), &content); in emit_subset_type3()
DSkPDFType1Font.cpp319 widths->appendScalar(from_font_units(glyphs[i]->advanceX(), SkToU16(emSize))); in SkPDFEmitType1Font()
DSkPDFDevice.cpp950 SkScalar advance = advanceScale * glyphs[index]->advanceX(); in internalDrawGlyphRun()
/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
215 advanceX in finish()
230 piece->addX(index, advanceX); in finish()
238 advanceX = fAdvance.fX; in finish()
515 SkScalar advanceX = 0; in iterateThroughShapingRegions() local
532 if (!shape(textRange, styleSpan, advanceX, start, bidiRegion.level)) { in iterateThroughShapingRegions()
575 advanceX); in iterateThroughShapingRegions()
577 run.fPositions[0] = { advanceX, 0 }; in iterateThroughShapingRegions()
581 advanceX += placeholder.fStyle.fWidth; in iterateThroughShapingRegions()
594 …(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);
/external/skia/src/core/
DSkFont.cpp182 width = glyphs[0]->advanceX(); in measureText()
187 width += glyphs[i]->advanceX(); in measureText()
191 width += glyph->advanceX(); in measureText()
228 *cursor++ = glyph->advanceX() * strikeToSourceScale; in getWidthsBounds()
256 loc += glyph->advanceX() * strikeToSourceScale; in getXPos()
DSkGlyph.h398 SkScalar advanceX() const { return fAdvanceX; } in advanceX() function
DSkChromeRemoteGlyphCache.cpp261 serializer->write<float>(glyph.advanceX()); in write_glyph()
/external/freetype/src/cff/
Dcffgload.c385 FT_UShort advanceX; in cff_slot_load() local
403 &advanceX ); in cff_slot_load()
410 glyph->root.linearHoriAdvance = advanceX; in cff_slot_load()
413 glyph->root.metrics.horiAdvance = FT_MulFix( advanceX, x_scale ); in cff_slot_load()
/external/skia/modules/skparagraph/include/
DParagraph.h86 SkScalar advanceX; member
/external/skia/modules/skparagraph/gm/
Dsimple_gm.cpp126 const SkScalar X1 = X0 + info->advanceX; in drawFromVisitor()
/external/freetype/src/truetype/
Dttgload.c2875 FT_UShort advanceX; in TT_Load_Glyph() local
2887 &advanceX ); in TT_Load_Glyph()
2894 glyph->linearHoriAdvance = advanceX; in TT_Load_Glyph()
2897 glyph->metrics.horiAdvance = FT_MulFix( advanceX, x_scale ); in TT_Load_Glyph()
/external/skia/src/ports/
DSkScalerContext_win_dw.cpp469 SkScalar advanceX = fTextSizeMeasure * gm.advanceWidth / dwfm.designUnitsPerEm; in generateAdvance() local
471 SkVector advance = { advanceX, 0 }; in generateAdvance()
/external/skia/modules/canvaskit/
Dparagraph_bindings.cpp421 positions.get()[N] = { info->advanceX, positions.get()[N - 1].fY }; in GetShapedLines()
/external/skia/modules/skparagraph/slides/
DParagraphSlide.cpp3219 info->advanceX - first.fX, in draw()
/external/ow2-asm/tools/retrofitter/src/main/resources/
Djdk1.5.0.12.txt.gz