Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrAtlasTextContext.cpp443 SkScalar scaledTextSize = maxScale*skPaint.getTextSize(); in canDrawAsDistanceFields() local
446 if (scaledTextSize < kMinDFFontSize || scaledTextSize > kLargeDFFontLimit) { in canDrawAsDistanceFields()
451 scaledTextSize < kLargeDFFontSize) { in canDrawAsDistanceFields()
602 SkScalar scaledTextSize = textSize; in initDistanceFieldPaint() local
607 scaledTextSize *= maxScale; in initDistanceFieldPaint()
614 if (scaledTextSize <= kSmallDFFontLimit) { in initDistanceFieldPaint()
619 } else if (scaledTextSize <= kMediumDFFontLimit) { in initDistanceFieldPaint()
638 SkASSERT(dfMaskScaleFloor <= scaledTextSize && scaledTextSize <= dfMaskScaleCeil); in initDistanceFieldPaint()
639 blob->fMaxMinScale = SkMaxScalar(dfMaskScaleFloor / scaledTextSize, blob->fMaxMinScale); in initDistanceFieldPaint()
640 blob->fMinMaxScale = SkMinScalar(dfMaskScaleCeil / scaledTextSize, blob->fMinMaxScale); in initDistanceFieldPaint()