/third_party/skia/gm/ |
D | testgradient.cpp | 52 SkPaint newPaint(paint); in onDraw() local 53 newPaint.setShader(SkGradientShader::MakeLinear( in onDraw() 55 canvas->drawRect(rect, newPaint); in onDraw()
|
/third_party/flutter/skia/gm/ |
D | testgradient.cpp | 52 SkPaint newPaint(paint); in onDraw() local 53 newPaint.setShader(SkGradientShader::MakeLinear( in onDraw() 55 canvas->drawRect(rect, newPaint); in onDraw()
|
/third_party/skia/src/utils/ |
D | SkPaintFilterCanvas.cpp | 166 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->asBlendMode() == SkBlendMode::kSrcOver) { in onDrawPicture() 177 newPaint = nullptr; in onDrawPicture() 180 this->SkNWayCanvas::onDrawPicture(picture, m, newPaint); in onDrawPicture()
|
/third_party/flutter/skia/resources/lua/ |
D | test.lua | 5 local paint = Sk.newPaint(); 25 path_paint = Sk.newPaint(); 47 local paint = Sk.newPaint();
|
D | slides.lua | 22 local paint = Sk.newPaint(); 43 local paint = Sk.newPaint() 133 gRedPaint = Sk.newPaint() 299 bgPaint = Sk.newPaint()
|
D | slides_transitions.lua | 50 paint = Sk.newPaint(), 96 paint = Sk.newPaint(),
|
/third_party/skia/src/core/ |
D | SkOverdrawCanvas.cpp | 248 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()
|
D | SkDraw.cpp | 393 SkPaint newPaint(paint); in drawPoints() local 394 newPaint.setStyle(SkPaint::kFill_Style); in drawPoints() 396 SkScalar width = newPaint.getStrokeWidth(); in drawPoints() 399 if (newPaint.getStrokeCap() == SkPaint::kRound_Cap) { in drawPoints() 404 device->drawOval(r, newPaint); in drawPoints() 416 this->drawPath(path, newPaint, &preMatrix, (count-1) == i); in drawPoints() 428 device->drawRect(r, newPaint); in drawPoints() 430 this->drawRect(r, newPaint); in drawPoints()
|
/third_party/flutter/skia/src/core/ |
D | SkOverdrawCanvas.cpp | 268 SkPaint newPaint = fPaint; in overdrawPaint() local 269 newPaint.setStyle(paint.getStyle()); in overdrawPaint() 270 newPaint.setStrokeWidth(paint.getStrokeWidth()); in overdrawPaint() 271 return newPaint; in overdrawPaint()
|
D | SkDraw.cpp | 389 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()
|
/third_party/flutter/skia/site/user/special/ |
D | lua.md | 37 > paint = Sk.newPaint()
|
/third_party/skia/src/pdf/ |
D | SkPDFDevice.cpp | 389 SkPaint newPaint = srcPaint; in drawPaint() local 390 newPaint.setStyle(SkPaint::kFill_Style); in drawPaint() 391 this->drawRect(bbox, newPaint); in drawPaint() 1209 SkPaint newPaint = paint; in populate_graphic_state_entry_from_paint() local 1210 newPaint.setColor4f(color, nullptr); in populate_graphic_state_entry_from_paint() 1211 newGraphicState = SkPDFGraphicState::GetGraphicStateForPaint(doc, newPaint); in populate_graphic_state_entry_from_paint()
|
/third_party/flutter/skia/src/pdf/ |
D | SkPDFDevice.cpp | 360 SkPaint newPaint = srcPaint; in drawPaint() local 361 newPaint.setStyle(SkPaint::kFill_Style); in drawPaint() 362 this->drawRect(bbox, newPaint); in drawPaint() 1226 SkPaint newPaint = paint; in populate_graphic_state_entry_from_paint() local 1227 newPaint.setColor4f(color, nullptr); in populate_graphic_state_entry_from_paint() 1228 newGraphicState = SkPDFGraphicState::GetGraphicStateForPaint(doc, newPaint); in populate_graphic_state_entry_from_paint()
|
/third_party/flutter/skia/src/gpu/ |
D | SkGpuDevice.cpp | 581 SkPaint newPaint(origPaint); in drawStrokedLine() local 582 newPaint.setStyle(SkPaint::kFill_Style); in drawStrokedLine() 602 if (!SkPaintToGrPaint(this->context(), fRenderTargetContext->colorSpaceInfo(), newPaint, m, in drawStrokedLine() 608 this->clip(), std::move(grPaint), GrAA(newPaint.isAntiAlias()), m, rect, local); in drawStrokedLine()
|
/third_party/skia/modules/canvaskit/npm_build/types/ |
D | canvaskit-wasm-tests.ts | 391 const newPaint = paint.copy(); // $ExpectType Paint constant
|