Home
last modified time | relevance | path

Searched refs:newP (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/core/
DSkDraw.cpp578 SkPaint newP(paint); in drawPoints() local
579 newP.setPathEffect(nullptr); in drawPoints()
580 newP.setStyle(SkPaint::kFill_Style); in drawPoints()
584 device->drawPath(pointData.fFirst, newP); in drawPoints()
586 this->drawPath(pointData.fFirst, newP); in drawPoints()
592 device->drawPath(pointData.fLast, newP); in drawPoints()
594 this->drawPath(pointData.fLast, newP); in drawPoints()
600 SkASSERT(pointData.fSize.fX == SkScalarHalf(newP.getStrokeWidth())); in drawPoints()
603 newP.setStrokeCap(SkPaint::kRound_Cap); in drawPoints()
605 newP.setStrokeCap(SkPaint::kButt_Cap); in drawPoints()
[all …]
/external/skia/src/gpu/ops/
DGrAAConvexTessellator.cpp323 SkPoint newP; in computePtAlongBisector() local
329 newP = fPts[startIdx]; in computePtAlongBisector()
331 newP = bisector; in computePtAlongBisector()
332 newP.scale(t); in computePtAlongBisector()
333 newP += fPts[startIdx]; in computePtAlongBisector()
343 *result += newP; in computePtAlongBisector()
DGrAAHairLinePathRenderer.cpp622 SkPoint newP[5]; in add_quads() local
623 SkChopQuadAtHalf(p, newP); in add_quads()
624 add_quads(newP + 0, subdiv-1, toDevice, toSrc, vert); in add_quads()
625 add_quads(newP + 2, subdiv-1, toDevice, toSrc, vert); in add_quads()