Home
last modified time | relevance | path

Searched refs:fTextRatio (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/gpu/text/
DGrStencilAndCoverTextContext.cpp364 fTextRatio = fFont.getTextSize() / SkPaint::kCanonicalTextSizeForPaths; in TextRun()
370 strokeRec.setStrokeStyle(stroke.getWidth() / fTextRatio, in TextRun()
387 fTextRatio = fTextInverseRatio = 1.0f; in TextRun()
464 SkScalar alignX = stopX * fTextRatio; in setText()
465 SkScalar alignY = stopY * fTextRatio; in setText()
481 x += autokern.adjust(glyph) * fTextRatio; in setText()
486 x += SkFloatToScalar(glyph.fAdvanceX) * fTextRatio; in setText()
487 y += SkFloatToScalar(glyph.fAdvanceY) * fTextRatio; in setText()
558 fallback->init(fFont, fTextRatio); in appendGlyph()
612 viewMatrix, fTextRatio, fTextInverseRatio * x, fTextInverseRatio * y, in draw()
[all …]
DGrStencilAndCoverTextContext.h97 SkScalar fTextRatio; variable