Home
last modified time | relevance | path

Searched refs:startPt (Results 1 – 2 of 2) sorted by relevance

/external/skia/gm/
Ddegeneratesegments.cpp37 static SkPoint AddMove(SkPath& path, SkPoint& startPt) { in AddMove() argument
38 SkPoint moveToPt = startPt + SkPoint::Make(0, 10*SK_Scalar1); in AddMove()
43 static SkPoint AddMoveClose(SkPath& path, SkPoint& startPt) { in AddMoveClose() argument
44 SkPoint moveToPt = startPt + SkPoint::Make(0, 10*SK_Scalar1); in AddMoveClose()
50 static SkPoint AddDegenLine(SkPath& path, SkPoint& startPt) { in AddDegenLine() argument
51 path.lineTo(startPt); in AddDegenLine()
52 return startPt; in AddDegenLine()
55 static SkPoint AddMoveDegenLine(SkPath& path, SkPoint& startPt) { in AddMoveDegenLine() argument
56 SkPoint moveToPt = startPt + SkPoint::Make(0, 10*SK_Scalar1); in AddMoveDegenLine()
62 static SkPoint AddMoveDegenLineClose(SkPath& path, SkPoint& startPt) { in AddMoveDegenLineClose() argument
[all …]
/external/skia/src/pathops/
DSkOpAngle.cpp731 const SkPoint& startPt = this->fStart->pt(); in midToSide() local
734 dStartPt.set(startPt); in midToSide()
736 rayMid[0].fX = (startPt.fX + endPt.fX) / 2; in midToSide()
737 rayMid[0].fY = (startPt.fY + endPt.fY) / 2; in midToSide()
738 rayMid[1].fX = rayMid[0].fX + (endPt.fY - startPt.fY); in midToSide()
739 rayMid[1].fY = rayMid[0].fY - (endPt.fX - startPt.fX); in midToSide()