Home
last modified time | relevance | path

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

/external/skqp/gm/
Dcoloremoji.cpp106 SkPaint shaderPaint; in onDraw() local
107 shaderPaint.setTypeface(sk_ref_sp(paint.getTypeface())); in onDraw()
109 shaderPaint.setShader(MakeLinear()); in onDraw()
115 shaderPaint.setImageFilter(std::move(blur)); in onDraw()
117 shaderPaint.setImageFilter(make_blur(3.0f, nullptr)); in onDraw()
119 shaderPaint.setImageFilter(make_grayscale(nullptr)); in onDraw()
122 shaderPaint.setColorFilter(make_color_filter()); in onDraw()
125 shaderPaint.setAlpha(0x80); in onDraw()
127 shaderPaint.setTextSize(30); in onDraw()
128 shaderPaint.getFontMetrics(&metrics); in onDraw()
[all …]
/external/skia/gm/
Dcoloremoji.cpp106 SkPaint shaderPaint; in onDraw() local
107 shaderPaint.setTypeface(sk_ref_sp(paint.getTypeface())); in onDraw()
109 shaderPaint.setShader(MakeLinear()); in onDraw()
115 shaderPaint.setImageFilter(std::move(blur)); in onDraw()
117 shaderPaint.setImageFilter(make_blur(3.0f, nullptr)); in onDraw()
119 shaderPaint.setImageFilter(make_grayscale(nullptr)); in onDraw()
122 shaderPaint.setColorFilter(make_color_filter()); in onDraw()
125 shaderPaint.setAlpha(0x80); in onDraw()
127 shaderPaint.setTextSize(30); in onDraw()
128 shaderPaint.getFontMetrics(&metrics); in onDraw()
[all …]
/external/skia/src/xps/
DSkXPSDevice.h262 const SkPaint& shaderPaint,
DSkXPSDevice.cpp1452 const SkPaint& shaderPaint, in shadePath() argument
1458 const SkPaint::Style style = shaderPaint.getStyle(); in shadePath()
1468 HR(this->createXpsBrush(shaderPaint, &fillBrush, &matrix)); in shadePath()
1476 HR(this->createXpsBrush(shaderPaint, &strokeBrush, &matrix)); in shadePath()
1480 SkScalarToFLOAT(shaderPaint.getStrokeWidth())), in shadePath()
1483 if (0 == shaderPaint.getStrokeWidth()) { in shadePath()
/external/skqp/src/xps/
DSkXPSDevice.h262 const SkPaint& shaderPaint,
DSkXPSDevice.cpp1452 const SkPaint& shaderPaint, in shadePath() argument
1458 const SkPaint::Style style = shaderPaint.getStyle(); in shadePath()
1468 HR(this->createXpsBrush(shaderPaint, &fillBrush, &matrix)); in shadePath()
1476 HR(this->createXpsBrush(shaderPaint, &strokeBrush, &matrix)); in shadePath()
1480 SkScalarToFLOAT(shaderPaint.getStrokeWidth())), in shadePath()
1483 if (0 == shaderPaint.getStrokeWidth()) { in shadePath()