Home
last modified time | relevance | path

Searched refs:endPt (Results 1 – 18 of 18) sorted by relevance

/external/skia/gm/
Ddegeneratesegments.cpp117 SkPoint endPt = startPt + SkPoint::Make(40*SK_Scalar1, 0); in AddLine() local
118 path.lineTo(endPt); in AddLine()
119 return endPt; in AddLine()
124 SkPoint endPt = moveToPt + SkPoint::Make(40*SK_Scalar1, 0); in AddMoveLine() local
126 path.lineTo(endPt); in AddMoveLine()
127 return endPt; in AddMoveLine()
132 SkPoint endPt = moveToPt + SkPoint::Make(40*SK_Scalar1, 0); in AddMoveLineClose() local
134 path.lineTo(endPt); in AddMoveLineClose()
136 return endPt; in AddMoveLineClose()
141 SkPoint endPt = startPt + SkPoint::Make(40*SK_Scalar1, 0); in AddQuad() local
[all …]
/external/skqp/gm/
Ddegeneratesegments.cpp117 SkPoint endPt = startPt + SkPoint::Make(40*SK_Scalar1, 0); in AddLine() local
118 path.lineTo(endPt); in AddLine()
119 return endPt; in AddLine()
124 SkPoint endPt = moveToPt + SkPoint::Make(40*SK_Scalar1, 0); in AddMoveLine() local
126 path.lineTo(endPt); in AddMoveLine()
127 return endPt; in AddMoveLine()
132 SkPoint endPt = moveToPt + SkPoint::Make(40*SK_Scalar1, 0); in AddMoveLineClose() local
134 path.lineTo(endPt); in AddMoveLineClose()
136 return endPt; in AddMoveLineClose()
141 SkPoint endPt = startPt + SkPoint::Make(40*SK_Scalar1, 0); in AddQuad() local
[all …]
/external/skia/src/pathops/
DSkPathOpsQuad.cpp49 const SkDPoint* endPt[2]; in hullIntersects() local
50 this->otherPts(oddMan, endPt); in hullIntersects()
51 double origX = endPt[0]->fX; in hullIntersects()
52 double origY = endPt[0]->fY; in hullIntersects()
53 double adj = endPt[1]->fX - origX; in hullIntersects()
54 double opp = endPt[1]->fY - origY; in hullIntersects()
101 void SkDQuad::otherPts(int oddMan, const SkDPoint* endPt[2]) const { in otherPts()
105 endPt[opp - 1] = &fPts[end]; in otherPts()
DSkPathOpsCubic.cpp155 const SkDPoint* endPt[2]; in hullIntersects() local
156 endPt[0] = &fPts[end1]; in hullIntersects()
160 endPt[1] = &fPts[end2]; in hullIntersects()
161 double origX = endPt[0]->fX; in hullIntersects()
162 double origY = endPt[0]->fY; in hullIntersects()
163 double adj = endPt[1]->fX - origX; in hullIntersects()
164 double opp = endPt[1]->fY - origY; in hullIntersects()
191 endPt[0] = endPt[1]; in hullIntersects()
DSkPathOpsConic.h91 void otherPts(int oddMan, const SkDPoint* endPt[2]) const { in otherPts()
92 fPts.otherPts(oddMan, endPt); in otherPts()
DSkOpAngle.cpp576 const SkDPoint* endPt = &rayEnd[0]; in endToSide() local
578 SkDVector vLeft = *endPt - start; in endToSide()
760 const SkPoint& endPt = this->fEnd->pt(); in midToSide() local
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()
DSkPathOpsQuad.h86 void otherPts(int oddMan, const SkDPoint* endPt[2]) const;
/external/skqp/src/pathops/
DSkPathOpsQuad.cpp46 const SkDPoint* endPt[2]; in hullIntersects() local
47 this->otherPts(oddMan, endPt); in hullIntersects()
48 double origX = endPt[0]->fX; in hullIntersects()
49 double origY = endPt[0]->fY; in hullIntersects()
50 double adj = endPt[1]->fX - origX; in hullIntersects()
51 double opp = endPt[1]->fY - origY; in hullIntersects()
98 void SkDQuad::otherPts(int oddMan, const SkDPoint* endPt[2]) const { in otherPts()
102 endPt[opp - 1] = &fPts[end]; in otherPts()
DSkPathOpsCubic.cpp155 const SkDPoint* endPt[2]; in hullIntersects() local
156 endPt[0] = &fPts[end1]; in hullIntersects()
160 endPt[1] = &fPts[end2]; in hullIntersects()
161 double origX = endPt[0]->fX; in hullIntersects()
162 double origY = endPt[0]->fY; in hullIntersects()
163 double adj = endPt[1]->fX - origX; in hullIntersects()
164 double opp = endPt[1]->fY - origY; in hullIntersects()
191 endPt[0] = endPt[1]; in hullIntersects()
DSkPathOpsConic.h91 void otherPts(int oddMan, const SkDPoint* endPt[2]) const { in otherPts()
92 fPts.otherPts(oddMan, endPt); in otherPts()
DSkOpAngle.cpp576 const SkDPoint* endPt = &rayEnd[0]; in endToSide() local
578 SkDVector vLeft = *endPt - start; in endToSide()
760 const SkPoint& endPt = this->fEnd->pt(); in midToSide() local
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()
DSkPathOpsQuad.h86 void otherPts(int oddMan, const SkDPoint* endPt[2]) const;
/external/skqp/src/gpu/ops/
DGrAAConvexPathRenderer.cpp55 const SkPoint& endPt() const { in endPt() function
76 p0 = segments[0].endPt(); in center_of_mass()
82 pj = segments[1].endPt() - p0; in center_of_mass()
85 pj = segments[i + 1].endPt() - p0; in center_of_mass()
100 const SkPoint& pt = segments[i].endPt(); in center_of_mass()
141 const SkPoint* prevPt = &sega.endPt(); in compute_vectors()
387 verts[*v + 0].fPos = sega.endPt(); in create_vertices()
416 verts[*v + 1].fPos = sega.endPt(); in create_vertices()
467 SkPoint qpts[] = {sega.endPt(), segb.fPts[0], segb.fPts[1]}; in create_vertices()
/external/skia/src/gpu/ops/
DGrAAConvexPathRenderer.cpp55 const SkPoint& endPt() const { in endPt() function
76 p0 = segments[0].endPt(); in center_of_mass()
82 pj = segments[1].endPt() - p0; in center_of_mass()
85 pj = segments[i + 1].endPt() - p0; in center_of_mass()
100 const SkPoint& pt = segments[i].endPt(); in center_of_mass()
141 const SkPoint* prevPt = &sega.endPt(); in compute_vectors()
387 verts[*v + 0].fPos = sega.endPt(); in create_vertices()
416 verts[*v + 1].fPos = sega.endPt(); in create_vertices()
467 SkPoint qpts[] = {sega.endPt(), segb.fPts[0], segb.fPts[1]}; in create_vertices()
/external/skqp/src/gpu/
DGrDistanceFieldGenFromVector.cpp237 const SkPoint& endPt() const { in endPt() function in PathSegment
247 const DPoint p2 = DPoint::Make(this->endPt().x(), this->endPt().y()); in init()
253 fBoundingBox.set(fPts[0], this->endPt()); in init()
/external/skia/src/gpu/
DGrDistanceFieldGenFromVector.cpp237 const SkPoint& endPt() const { in endPt() function in PathSegment
247 const DPoint p2 = DPoint::Make(this->endPt().x(), this->endPt().y()); in init()
253 fBoundingBox.set(fPts[0], this->endPt()); in init()
/external/skqp/src/gpu/ccpr/
DGrCCGeometry.cpp78 const Sk2f& endPt, const Sk2f& endTan) { in is_convex_curve_monotonic() argument
79 Sk2f v = endPt - startPt; in is_convex_curve_monotonic()
/external/skia/src/gpu/ccpr/
DGrCCGeometry.cpp78 const Sk2f& endPt, const Sk2f& endTan) { in is_convex_curve_monotonic() argument
79 Sk2f v = endPt - startPt; in is_convex_curve_monotonic()