Home
last modified time | relevance | path

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

/external/skia/src/gpu/text/
DGrTextUtils.cpp164 SkScalar scaledTextSize = maxScale*skPaint.getTextSize(); in CanDrawAsDistanceFields() local
167 if (scaledTextSize < kMinDFFontSize || in CanDrawAsDistanceFields()
168 scaledTextSize > kLargeDFFontLimit) { in CanDrawAsDistanceFields()
177 if (!useDFT && scaledTextSize < kLargeDFFontSize) { in CanDrawAsDistanceFields()
203 SkScalar scaledTextSize = textSize; in InitDistanceFieldPaint() local
208 scaledTextSize *= maxScale; in InitDistanceFieldPaint()
215 if (scaledTextSize <= kSmallDFFontLimit) { in InitDistanceFieldPaint()
220 } else if (scaledTextSize <= kMediumDFFontLimit) { in InitDistanceFieldPaint()
239 SkASSERT(dfMaskScaleFloor <= scaledTextSize && scaledTextSize <= dfMaskScaleCeil); in InitDistanceFieldPaint()
240 blob->setMinAndMaxScale(dfMaskScaleFloor / scaledTextSize, dfMaskScaleCeil / scaledTextSize); in InitDistanceFieldPaint()