Lines Matching refs:style

112                 TextStyle style;
113 style.setFontFamilies({SkString(std::get<0>(para).c_str())});
119 style.setFontStyle(fontStyle);
120 style.setFontSize(std::get<3>(para) * i);
123 style.setBackgroundColor(background);
127 style.setForegroundColor(foreground);
129 style.addShadow(TextShadow(SK_ColorBLACK, SkPoint::Make(5, 5), 2));
140 style.setDecoration((TextDecoration)decoration);
141 style.setDecorationStyle(std::get<7>(para));
142 style.setDecorationColor(std::get<5>(para));
144 builder.pushStyle(style);
217 builder.pushStyle(style(name));
222 builder.pushStyle(style(constant));
226 builder.pushStyle(style(name));
230 builder.pushStyle(style(literal));
241 TextStyle style(SkPaint paint) {
242 TextStyle style;
244 style.setForegroundColor(paint);
245 style.setFontFamilies({SkString("monospace")});
246 style.setFontSize(30);
248 return style;
273 TextStyle style;
274 style.setBackgroundColor(blue);
275 style.setForegroundColor(paint);
276 style.setFontFamilies({SkString(ff)});
277 style.setFontStyle(SkFontStyle(SkFontStyle::kMedium_Weight,
280 style.setFontSize(fs);
282 paraStyle.setTextStyle(style);
293 style.setForegroundColor(foreground);
294 style.setBackgroundColor(background);
297 builder.pushStyle(style);
325 TextStyle style;
326 style.setBackgroundColor(gray);
327 style.setForegroundColor(paint);
328 style.setFontFamilies({SkString("Arial")});
329 style.setFontSize(30);
331 paraStyle.setTextStyle(style);
445 TextStyle style;
446 style.setBackgroundColor(gray);
447 style.setForegroundColor(paint);
448 style.setFontFamilies({SkString("sans-serif")});
449 style.setFontSize(30);
451 paraStyle.setTextStyle(style);
583 TextStyle style;
584 style.setFontFamilies({SkString(ff)});
585 style.setFontSize(fs);
621 paraStyle.setTextStyle(style);
698 TextStyle style;
699 style.setForegroundColor(black);
700 style.setFontFamilies({SkString(ff)});
701 style.setFontSize(fs);
718 paraStyle.setTextStyle(style);
837 TextStyle style;
838 style.setFontFamilies({SkString(ff)});
839 style.setFontSize(fs);
840 style.setFontStyle(fontStyle);
875 paraStyle.setTextStyle(style);