Lines Matching refs:SkPaint
45 static SkTypeface::Encoding paint2encoding(const SkPaint& paint) { in paint2encoding()
46 SkPaint::TextEncoding enc = paint.getTextEncoding(); in paint2encoding()
47 SkASSERT(SkPaint::kGlyphID_TextEncoding != enc); in paint2encoding()
68 SkPaint::TextEncoding fEncoding; in test_cmap()
70 { uni_to_utf8, SkPaint::kUTF8_TextEncoding }, in test_cmap()
71 { uni_to_utf16, SkPaint::kUTF16_TextEncoding }, in test_cmap()
72 { uni_to_utf32, SkPaint::kUTF32_TextEncoding }, in test_cmap()
76 SkPaint paint; in test_cmap()
115 SkPaint p0, p1; in test_filterlevel()
118 SkPaint::kNone_FilterLevel == p0.getFilterLevel()); in test_filterlevel()
120 static const SkPaint::FilterLevel gLevels[] = { in test_filterlevel()
121 SkPaint::kNone_FilterLevel, in test_filterlevel()
122 SkPaint::kLow_FilterLevel, in test_filterlevel()
123 SkPaint::kMedium_FilterLevel, in test_filterlevel()
124 SkPaint::kHigh_FilterLevel in test_filterlevel()
134 SkPaint::kNone_FilterLevel == p0.getFilterLevel()); in test_filterlevel()
139 SkPaint paint; in test_copy()
141 paint.setStyle(SkPaint::kStrokeAndFill_Style); in test_copy()
142 paint.setTextAlign(SkPaint::kLeft_Align); in test_copy()
152 SkPaint copiedPaint = paint; in test_copy()
176 SkPaint cleanPaint; in test_copy()
195 SkPaint paint; in regression_cubic()
209 paint.setStyle(SkPaint::kStroke_Style); in regression_cubic()
216 SkScalar inset = paint.getStrokeJoin() == SkPaint::kMiter_Join ? in regression_cubic()
228 SkPaint paint; in regression_measureText()