Lines Matching refs:scaledTextSize
58 SkScalar scaledTextSize = maxScale * font.getSize(); in drawingType() local
63 return scaledTextSize < kAboveIsPath ? kDirect : kPath; in drawingType()
68 if (scaledTextSize < fMinDistanceFieldFontSize) { in drawingType()
70 } else if (fMaxDistanceFieldFontSize < scaledTextSize) { in drawingType()
78 SkScalar scaledTextSize = textSize; in scaled_text_size() local
83 scaledTextSize = kMediumDFFontLimit; in scaled_text_size()
90 scaledTextSize *= maxScale; in scaled_text_size()
94 return scaledTextSize; in scaled_text_size()
101 SkScalar scaledTextSize = scaled_text_size(textSize, viewMatrix); in getSDFFont() local
105 if (scaledTextSize <= kSmallDFFontLimit) { in getSDFFont()
108 } else if (scaledTextSize <= kMediumDFFontLimit) { in getSDFFont()
112 } else if (scaledTextSize <= kLargeDFFontLimit) { in getSDFFont()
138 SkScalar scaledTextSize = scaled_text_size(textSize, viewMatrix); in computeSDFMinMaxScale() local
144 if (scaledTextSize <= kSmallDFFontLimit) { in computeSDFMinMaxScale()
147 } else if (scaledTextSize <= kMediumDFFontLimit) { in computeSDFMinMaxScale()
162 SkASSERT(dfMaskScaleFloor <= scaledTextSize && scaledTextSize <= dfMaskScaleCeil); in computeSDFMinMaxScale()
164 return std::make_pair(dfMaskScaleFloor / scaledTextSize, dfMaskScaleCeil / scaledTextSize); in computeSDFMinMaxScale()