Home
last modified time | relevance | path

Searched refs:newPaint (Results 1 – 18 of 18) sorted by relevance

/external/skqp/gm/
Dtestgradient.cpp45 SkPaint newPaint(paint); in onDraw() local
46 newPaint.setShader(SkGradientShader::MakeLinear( in onDraw()
49 canvas->drawRect(rect, newPaint); in onDraw()
/external/skia/gm/
Dtestgradient.cpp52 SkPaint newPaint(paint); in onDraw() local
53 newPaint.setShader(SkGradientShader::MakeLinear( in onDraw()
55 canvas->drawRect(rect, newPaint); in onDraw()
/external/skia/src/utils/
DSkPaintFilterCanvas.cpp166 const SkPaint* newPaint = &apf.paint(); in onDrawPicture() local
172 if ( newPaint->getAlphaf() == 1.0f in onDrawPicture()
173 && newPaint->getColorFilter() == nullptr in onDrawPicture()
174 && newPaint->getImageFilter() == nullptr in onDrawPicture()
175 && newPaint->getBlendMode() == SkBlendMode::kSrcOver) { in onDrawPicture()
177 newPaint = nullptr; in onDrawPicture()
180 this->SkNWayCanvas::onDrawPicture(picture, m, newPaint); in onDrawPicture()
/external/skqp/resources/lua/
Dtest.lua5 local paint = Sk.newPaint();
25 path_paint = Sk.newPaint();
47 local paint = Sk.newPaint();
Dslides.lua22 local paint = Sk.newPaint();
43 local paint = Sk.newPaint()
133 gRedPaint = Sk.newPaint()
299 bgPaint = Sk.newPaint()
Dslides_transitions.lua50 paint = Sk.newPaint(),
96 paint = Sk.newPaint(),
/external/skqp/platform_tools/android/apps/skqp/src/main/assets/resources/lua/
Dtest.lua5 local paint = Sk.newPaint();
25 path_paint = Sk.newPaint();
47 local paint = Sk.newPaint();
Dslides.lua22 local paint = Sk.newPaint();
43 local paint = Sk.newPaint()
133 gRedPaint = Sk.newPaint()
299 bgPaint = Sk.newPaint()
Dslides_transitions.lua50 paint = Sk.newPaint(),
96 paint = Sk.newPaint(),
/external/skia/src/core/
DSkOverdrawCanvas.cpp248 SkPaint newPaint = fPaint; in overdrawPaint() local
249 newPaint.setStyle(paint.getStyle()); in overdrawPaint()
250 newPaint.setStrokeWidth(paint.getStrokeWidth()); in overdrawPaint()
251 return newPaint; in overdrawPaint()
DSkDraw.cpp392 SkPaint newPaint(paint); in drawPoints() local
393 newPaint.setStyle(SkPaint::kFill_Style); in drawPoints()
395 SkScalar width = newPaint.getStrokeWidth(); in drawPoints()
398 if (newPaint.getStrokeCap() == SkPaint::kRound_Cap) { in drawPoints()
403 device->drawOval(r, newPaint); in drawPoints()
415 this->drawPath(path, newPaint, &preMatrix, (count-1) == i); in drawPoints()
427 device->drawRect(r, newPaint); in drawPoints()
429 this->drawRect(r, newPaint); in drawPoints()
/external/skqp/src/core/
DSkOverdrawCanvas.cpp260 SkPaint newPaint = fPaint; in overdrawPaint() local
261 newPaint.setStyle(paint.getStyle()); in overdrawPaint()
262 newPaint.setStrokeWidth(paint.getStrokeWidth()); in overdrawPaint()
263 return newPaint; in overdrawPaint()
DSkDraw.cpp389 SkPaint newPaint(paint); in drawPoints() local
390 newPaint.setStyle(SkPaint::kFill_Style); in drawPoints()
392 SkScalar width = newPaint.getStrokeWidth(); in drawPoints()
395 if (newPaint.getStrokeCap() == SkPaint::kRound_Cap) { in drawPoints()
400 device->drawOval(r, newPaint); in drawPoints()
412 this->drawPath(path, newPaint, &preMatrix, (count-1) == i); in drawPoints()
424 device->drawRect(r, newPaint); in drawPoints()
426 this->drawRect(r, newPaint); in drawPoints()
/external/skqp/site/user/special/
Dlua.md37 > paint = Sk.newPaint()
/external/skia/src/pdf/
DSkPDFDevice.cpp390 SkPaint newPaint = srcPaint; in drawPaint() local
391 newPaint.setStyle(SkPaint::kFill_Style); in drawPaint()
392 this->drawRect(bbox, newPaint); in drawPaint()
1200 SkPaint newPaint = paint; in populate_graphic_state_entry_from_paint() local
1201 newPaint.setColor4f(color, nullptr); in populate_graphic_state_entry_from_paint()
1202 newGraphicState = SkPDFGraphicState::GetGraphicStateForPaint(doc, newPaint); in populate_graphic_state_entry_from_paint()
/external/skqp/src/pdf/
DSkPDFDevice.cpp546 SkPaint newPaint = srcPaint; in drawPaint() local
547 newPaint.setStyle(SkPaint::kFill_Style); in drawPaint()
548 this->drawRect(bbox, newPaint); in drawPaint()
1553 SkPaint newPaint = paint; in populate_graphic_state_entry_from_paint() local
1554 newPaint.setColor4f(color, nullptr); in populate_graphic_state_entry_from_paint()
1555 newGraphicState = SkPDFGraphicState::GetGraphicStateForPaint(doc, newPaint); in populate_graphic_state_entry_from_paint()
/external/skqp/src/gpu/
DSkGpuDevice.cpp586 SkPaint newPaint(origPaint); in drawStrokedLine() local
587 newPaint.setStyle(SkPaint::kFill_Style); in drawStrokedLine()
607 if (!SkPaintToGrPaint(this->context(), fRenderTargetContext->colorSpaceInfo(), newPaint, m, in drawStrokedLine()
613 this->clip(), std::move(grPaint), GrAA(newPaint.isAntiAlias()), m, rect, local); in drawStrokedLine()
/external/skia/modules/canvaskit/npm_build/types/
Dcanvaskit-wasm-tests.ts386 const newPaint = paint.copy(); // $ExpectType Paint constant