Searched refs:shaderPaint (Results 1 – 3 of 3) sorted by relevance
103 SkPaint shaderPaint; in onDraw() local104 shaderPaint.setTypeface(sk_ref_sp(paint.getTypeface())); in onDraw()106 shaderPaint.setShader(MakeLinear()); in onDraw()112 shaderPaint.setImageFilter(std::move(blur)); in onDraw()114 shaderPaint.setImageFilter(make_blur(3.0f, nullptr)); in onDraw()116 shaderPaint.setImageFilter(make_grayscale(nullptr)); in onDraw()119 shaderPaint.setColorFilter(make_color_filter()); in onDraw()122 shaderPaint.setAlpha(0x80); in onDraw()124 shaderPaint.setTextSize(30); in onDraw()125 shaderPaint.getFontMetrics(&metrics); in onDraw()[all …]
260 const SkPaint& shaderPaint,
1456 const SkPaint& shaderPaint, in shadePath() argument1462 const SkPaint::Style style = shaderPaint.getStyle(); in shadePath()1472 HR(this->createXpsBrush(shaderPaint, &fillBrush, &matrix)); in shadePath()1480 HR(this->createXpsBrush(shaderPaint, &strokeBrush, &matrix)); in shadePath()1484 SkScalarToFLOAT(shaderPaint.getStrokeWidth())), in shadePath()1487 if (0 == shaderPaint.getStrokeWidth()) { in shadePath()