Lines Matching defs:paint
462 SkPaint paint;
475 paint.setStroke(hairline);
476 paint.setAntiAlias(SkMask::kBW_Format != mask.fFormat);
503 paint.setStyle(SkPaint::kFill_Style);
529 draw.drawPath(*pathToUse, paint);
734 // now localPath is only affected by the paint settings, and not the canvas matrix
994 void SkScalerContext::MakeRecAndEffects(const SkFont& font, const SkPaint& paint,
1029 SkPaint::Style style = paint.getStyle();
1030 SkScalar strokeWidth = paint.getStrokeWidth();
1046 strokeWidth = extra; // ignore paint's strokeWidth if it was "fill"
1055 rec->fMiterLimit = paint.getStrokeMiter();
1056 rec->fStrokeJoin = SkToU8(paint.getStrokeJoin());
1057 rec->fStrokeCap = SkToU8(paint.getStrokeCap());
1118 rec->fForegroundColor = paint.getColor();
1124 rec->setLuminanceColor(SkPaintPriv::ComputeLuminanceColor(paint));
1126 // For now always set the paint gamma equal to the device gamma.
1150 new (effects) SkScalerContextEffects{paint};
1154 const SkFont& font, const SkPaint& paint, const SkSurfaceProps& surfaceProps,
1159 MakeRecAndEffects(font, paint, surfaceProps, scalerContextFlags, deviceMatrix, &rec, effects);