Lines Matching refs:fFont

340     SkPaint                            fFont;  member in GrStencilAndCoverTextContext::FallbackBlobBuilder
351 fFont(fontAndStroke), in TextRun()
360 fFont.setStyle(SkPaint::kFill_Style); in TextRun()
362 if (fFont.isFakeBoldText() && SkStrokeRec::kStroke_Style != fStroke.getStyle()) { in TextRun()
364 SkScalar fakeBoldScale = SkScalarInterpFunc(fFont.getTextSize(), in TextRun()
368 SkScalar extra = SkScalarMul(fFont.getTextSize(), fakeBoldScale); in TextRun()
372 fFont.setFakeBoldText(false); in TextRun()
375 if (!fFont.getPathEffect() && !fStroke.isDashed()) { in TextRun()
377 fTextRatio = fFont.getTextSize() / SkPaint::kCanonicalTextSizeForPaths; in TextRun()
378 fTextInverseRatio = SkPaint::kCanonicalTextSizeForPaths / fFont.getTextSize(); in TextRun()
386 fFont.setLinearText(true); in TextRun()
387 fFont.setLCDRenderText(false); in TextRun()
388 fFont.setAutohinted(false); in TextRun()
389 fFont.setHinting(SkPaint::kNo_Hinting); in TextRun()
390 fFont.setSubpixelText(true); in TextRun()
391 fFont.setTextSize(SkIntToScalar(SkPaint::kCanonicalTextSizeForPaths)); in TextRun()
393 fUsingRawGlyphPaths = SK_Scalar1 == fFont.getTextScaleX() && in TextRun()
394 0 == fFont.getTextSkewX() && in TextRun()
395 !fFont.isFakeBoldText() && in TextRun()
396 !fFont.isVerticalText(); in TextRun()
406 const SkTypeface* typeface = fFont.getTypeface(); in TextRun()
414 const SkTypeface* typeface = fFont.getTypeface(); in TextRun()
443 SkPaint::GlyphCacheProc glyphCacheProc = fFont.getGlyphCacheProc(true); in setText()
445 fTotalGlyphCount = fFont.countText(text, byteLength); in setText()
452 if (fFont.getTextAlign() != SkPaint::kLeft_Align) { in setText()
470 if (fFont.getTextAlign() == SkPaint::kCenter_Align) { in setText()
508 SkPaint::GlyphCacheProc glyphCacheProc = fFont.getGlyphCacheProc(true); in setPosText()
510 fTotalGlyphCount = fFont.countText(text, byteLength); in setPosText()
517 SkTextAlignProc alignProc(fFont.getTextAlign()); in setPosText()
540 glyphs = ctx->resourceProvider()->createGlyphs(fFont.getTypeface(), nullptr, fStroke); in createGlyphs()
558 fallback->init(fFont, fTextRatio); in appendGlyph()
578 SkASSERT(dc->accessRenderTarget()->isStencilBufferMultisampled() || !fFont.isAntiAlias()); in draw()
581 pipelineBuilder->setState(GrPipelineBuilder::kHWAntialias_Flag, fFont.isAntiAlias()); in draw()
632 fDetachedGlyphCache = fFont.detachCache(nullptr, SkPaint::FakeGamma::Off, nullptr); in getGlyphCache()
664 fFont = font; in init()
665 fFont.setTextAlign(SkPaint::kLeft_Align); // The glyph positions will already account for align. in init()
666 fFont.setTextEncoding(SkPaint::kGlyphID_TextEncoding); in init()
669 fFont.setSubpixelText(false); in init()
670 fFont.setTextSize(fFont.getTextSize() * textRatio); in init()
693 const SkTextBlobBuilder::RunBuffer& buff = fBuilder->allocRunPos(fFont, fBuffIdx); in flush()