Home
last modified time | relevance | path

Searched refs:newPaint (Results 1 – 21 of 21) 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.cpp45 SkPaint newPaint(paint); in onDraw() local
46 newPaint.setShader(SkGradientShader::MakeLinear( in onDraw()
49 canvas->drawRect(rect, newPaint); in onDraw()
/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/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/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/skia/src/core/
DSkOverdrawCanvas.cpp264 SkPaint newPaint = fPaint; in overdrawPaint() local
265 newPaint.setStyle(paint.getStyle()); in overdrawPaint()
266 newPaint.setStrokeWidth(paint.getStrokeWidth()); in overdrawPaint()
267 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/site/user/special/
Dlua.md37 > paint = Sk.newPaint()
/external/skia/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()
1540 SkPaint newPaint = paint; in populate_graphic_state_entry_from_paint() local
1541 newPaint.setColor4f(color, nullptr); in populate_graphic_state_entry_from_paint()
1542 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/skia/src/gpu/
DSkGpuDevice.cpp600 SkPaint newPaint(origPaint); in drawStrokedLine() local
601 newPaint.setStyle(SkPaint::kFill_Style); in drawStrokedLine()
621 if (!SkPaintToGrPaint(this->context(), fRenderTargetContext->colorSpaceInfo(), newPaint, m, in drawStrokedLine()
627 this->clip(), std::move(grPaint), GrAA(newPaint.isAntiAlias()), m, rect, local); in drawStrokedLine()
/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()