/external/skqp/gm/ |
D | testgradient.cpp | 45 SkPaint newPaint(paint); in onDraw() local 46 newPaint.setShader(SkGradientShader::MakeLinear( in onDraw() 49 canvas->drawRect(rect, newPaint); in onDraw()
|
/external/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()
|
/external/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->getBlendMode() == SkBlendMode::kSrcOver) { in onDrawPicture() 177 newPaint = nullptr; in onDrawPicture() 180 this->SkNWayCanvas::onDrawPicture(picture, m, newPaint); in onDrawPicture()
|
/external/skqp/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(),
|
/external/skqp/platform_tools/android/apps/skqp/src/main/assets/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(),
|
/external/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 | 392 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/ |
D | SkOverdrawCanvas.cpp | 260 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()
|
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()
|
/external/skqp/site/user/special/ |
D | lua.md | 37 > paint = Sk.newPaint()
|
/external/skia/src/pdf/ |
D | SkPDFDevice.cpp | 390 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/ |
D | SkPDFDevice.cpp | 546 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/ |
D | SkGpuDevice.cpp | 586 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/ |
D | canvaskit-wasm-tests.ts | 386 const newPaint = paint.copy(); // $ExpectType Paint constant
|