Home
last modified time | relevance | path

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

/external/skia/gm/
Ddegeneratesegments.cpp38 static SkPoint AddMove(SkPath& path, SkPoint& startPt) { in AddMove() argument
39 SkPoint moveToPt = startPt + SkPoint::Make(0, 10*SK_Scalar1); in AddMove()
44 static SkPoint AddMoveClose(SkPath& path, SkPoint& startPt) { in AddMoveClose() argument
45 SkPoint moveToPt = startPt + SkPoint::Make(0, 10*SK_Scalar1); in AddMoveClose()
51 static SkPoint AddDegenLine(SkPath& path, SkPoint& startPt) { in AddDegenLine() argument
52 path.lineTo(startPt); in AddDegenLine()
53 return startPt; in AddDegenLine()
56 static SkPoint AddMoveDegenLine(SkPath& path, SkPoint& startPt) { in AddMoveDegenLine() argument
57 SkPoint moveToPt = startPt + SkPoint::Make(0, 10*SK_Scalar1); in AddMoveDegenLine()
63 static SkPoint AddMoveDegenLineClose(SkPath& path, SkPoint& startPt) { in AddMoveDegenLineClose() argument
[all …]
/external/skia/src/pathops/
DSkOpAngle.cpp759 const SkPoint& startPt = this->fStart->pt(); in midToSide() local
762 dStartPt.set(startPt); in midToSide()
764 rayMid[0].fX = (startPt.fX + endPt.fX) / 2; in midToSide()
765 rayMid[0].fY = (startPt.fY + endPt.fY) / 2; in midToSide()
766 rayMid[1].fX = rayMid[0].fX + (endPt.fY - startPt.fY); in midToSide()
767 rayMid[1].fY = rayMid[0].fY - (endPt.fX - startPt.fX); in midToSide()