Home
last modified time | relevance | path

Searched refs:shaderPaint (Results 1 – 3 of 3) sorted by relevance

/external/skia/gm/
Dcoloremoji.cpp103 SkPaint shaderPaint; in onDraw() local
104 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 …]
/external/skia/src/xps/
DSkXPSDevice.h260 const SkPaint& shaderPaint,
DSkXPSDevice.cpp1456 const SkPaint& shaderPaint, in shadePath() argument
1462 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()