Home
last modified time | relevance | path

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

/third_party/flutter/skia/gm/
Ddegeneratesegments.cpp121 SkPoint endPt = startPt + SkPoint::Make(40*SK_Scalar1, 0); in AddLine() local
122 path.lineTo(endPt); in AddLine()
123 return endPt; in AddLine()
128 SkPoint endPt = moveToPt + SkPoint::Make(40*SK_Scalar1, 0); in AddMoveLine() local
130 path.lineTo(endPt); in AddMoveLine()
131 return endPt; in AddMoveLine()
136 SkPoint endPt = moveToPt + SkPoint::Make(40*SK_Scalar1, 0); in AddMoveLineClose() local
138 path.lineTo(endPt); in AddMoveLineClose()
140 return endPt; in AddMoveLineClose()
145 SkPoint endPt = startPt + SkPoint::Make(40*SK_Scalar1, 0); in AddQuad() local
[all …]
/third_party/skia/gm/
Ddegeneratesegments.cpp121 SkPoint endPt = startPt + SkPoint::Make(40*SK_Scalar1, 0); in AddLine() local
122 path.lineTo(endPt); in AddLine()
123 return endPt; in AddLine()
128 SkPoint endPt = moveToPt + SkPoint::Make(40*SK_Scalar1, 0); in AddMoveLine() local
130 path.lineTo(endPt); in AddMoveLine()
131 return endPt; in AddMoveLine()
136 SkPoint endPt = moveToPt + SkPoint::Make(40*SK_Scalar1, 0); in AddMoveLineClose() local
138 path.lineTo(endPt); in AddMoveLineClose()
140 return endPt; in AddMoveLineClose()
145 SkPoint endPt = startPt + SkPoint::Make(40*SK_Scalar1, 0); in AddQuad() local
[all …]
/third_party/flutter/skia/src/pathops/
DSkPathOpsQuad.cpp50 const SkDPoint* endPt[2]; in hullIntersects() local
51 this->otherPts(oddMan, endPt); in hullIntersects()
52 double origX = endPt[0]->fX; in hullIntersects()
53 double origY = endPt[0]->fY; in hullIntersects()
54 double adj = endPt[1]->fX - origX; in hullIntersects()
55 double opp = endPt[1]->fY - origY; in hullIntersects()
102 void SkDQuad::otherPts(int oddMan, const SkDPoint* endPt[2]) const { in otherPts()
106 endPt[opp - 1] = &fPts[end]; in otherPts()
DSkPathOpsConic.h93 void otherPts(int oddMan, const SkDPoint* endPt[2]) const { in otherPts()
94 fPts.otherPts(oddMan, endPt); in otherPts()
179 void otherPts(int oddMan, const SkDPoint* endPt[2]) const override { in otherPts()
180 fConic.otherPts(oddMan, endPt); in otherPts()
DSkPathOpsQuad.h88 void otherPts(int oddMan, const SkDPoint* endPt[2]) const;
170 void otherPts(int oddMan, const SkDPoint* endPt[2]) const override { in otherPts()
171 fQuad.otherPts(oddMan, endPt); in otherPts()
DSkPathOpsCubic.cpp154 const SkDPoint* endPt[2]; in hullIntersects() local
155 endPt[0] = &fPts[end1]; in hullIntersects()
159 endPt[1] = &fPts[end2]; in hullIntersects()
160 double origX = endPt[0]->fX; in hullIntersects()
161 double origY = endPt[0]->fY; in hullIntersects()
162 double adj = endPt[1]->fX - origX; in hullIntersects()
163 double opp = endPt[1]->fY - origY; in hullIntersects()
190 endPt[0] = endPt[1]; in hullIntersects()
DSkPathOpsTCurve.h37 virtual void otherPts(int oddMan, const SkDPoint* endPt[2]) const = 0;
DSkPathOpsCubic.h226 void otherPts(int oddMan, const SkDPoint* endPt[2]) const override { in otherPts()
227 fCubic.otherPts(oddMan, endPt); in otherPts()
DSkOpAngle.cpp678 const SkDPoint* endPt = &rayEnd[0]; in endToSide() local
680 SkDVector vLeft = *endPt - start; in endToSide()
862 const SkPoint& endPt = this->fEnd->pt(); in midToSide() local
866 rayMid[0].fX = (startPt.fX + endPt.fX) / 2; in midToSide()
867 rayMid[0].fY = (startPt.fY + endPt.fY) / 2; in midToSide()
868 rayMid[1].fX = rayMid[0].fX + (endPt.fY - startPt.fY); in midToSide()
869 rayMid[1].fY = rayMid[0].fY - (endPt.fX - startPt.fX); in midToSide()
/third_party/skia/src/pathops/
DSkPathOpsQuad.cpp50 const SkDPoint* endPt[2]; in hullIntersects() local
51 this->otherPts(oddMan, endPt); in hullIntersects()
52 double origX = endPt[0]->fX; in hullIntersects()
53 double origY = endPt[0]->fY; in hullIntersects()
54 double adj = endPt[1]->fX - origX; in hullIntersects()
55 double opp = endPt[1]->fY - origY; in hullIntersects()
102 void SkDQuad::otherPts(int oddMan, const SkDPoint* endPt[2]) const { in otherPts()
106 endPt[opp - 1] = &fPts[end]; in otherPts()
DSkPathOpsConic.h93 void otherPts(int oddMan, const SkDPoint* endPt[2]) const { in otherPts()
94 fPts.otherPts(oddMan, endPt); in otherPts()
179 void otherPts(int oddMan, const SkDPoint* endPt[2]) const override { in otherPts()
180 fConic.otherPts(oddMan, endPt); in otherPts()
DSkPathOpsQuad.h88 void otherPts(int oddMan, const SkDPoint* endPt[2]) const;
170 void otherPts(int oddMan, const SkDPoint* endPt[2]) const override { in otherPts()
171 fQuad.otherPts(oddMan, endPt); 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()
DSkPathOpsTCurve.h37 virtual void otherPts(int oddMan, const SkDPoint* endPt[2]) const = 0;
DSkPathOpsCubic.h226 void otherPts(int oddMan, const SkDPoint* endPt[2]) const override { in otherPts()
227 fCubic.otherPts(oddMan, endPt); in otherPts()
DSkOpAngle.cpp678 const SkDPoint* endPt = &rayEnd[0]; in endToSide() local
680 SkDVector vLeft = *endPt - start; in endToSide()
862 const SkPoint& endPt = this->fEnd->pt(); in midToSide() local
866 rayMid[0].fX = (startPt.fX + endPt.fX) / 2; in midToSide()
867 rayMid[0].fY = (startPt.fY + endPt.fY) / 2; in midToSide()
868 rayMid[1].fX = rayMid[0].fX + (endPt.fY - startPt.fY); in midToSide()
869 rayMid[1].fY = rayMid[0].fY - (endPt.fX - startPt.fX); in midToSide()
/third_party/skia/src/gpu/ops/
DAAConvexPathRenderer.cpp57 const SkPoint& endPt() const { in endPt() function
78 p0 = segments[0].endPt(); in center_of_mass()
84 pj = segments[1].endPt() - p0; in center_of_mass()
87 pj = segments[i + 1].endPt() - p0; in center_of_mass()
102 const SkPoint& pt = segments[i].endPt(); in center_of_mass()
145 const SkPoint* prevPt = &sega.endPt(); in compute_vectors()
401 SkPoint p0 = sega.endPt(); in create_vertices()
421 SkPoint v1Pos = sega.endPt(); in create_vertices()
454 SkPoint qpts[] = {sega.endPt(), segb.fPts[0], segb.fPts[1]}; in create_vertices()
/third_party/flutter/skia/src/gpu/ops/
DGrAAConvexPathRenderer.cpp54 const SkPoint& endPt() const { in endPt() function
75 p0 = segments[0].endPt(); in center_of_mass()
81 pj = segments[1].endPt() - p0; in center_of_mass()
84 pj = segments[i + 1].endPt() - p0; in center_of_mass()
99 const SkPoint& pt = segments[i].endPt(); in center_of_mass()
142 const SkPoint* prevPt = &sega.endPt(); in compute_vectors()
395 SkPoint p0 = sega.endPt(); in create_vertices()
415 SkPoint v1Pos = sega.endPt(); in create_vertices()
450 SkPoint qpts[] = {sega.endPt(), segb.fPts[0], segb.fPts[1]}; in create_vertices()
/third_party/skia/src/gpu/geometry/
DGrPathUtils.h139 inline void writeLineAsCubic(SkPoint startPt, SkPoint endPt, skgpu::VertexWriter* writer) { in writeLineAsCubic() argument
142 float2 p1 = bit_pun<float2>(endPt); in writeLineAsCubic()
/third_party/skia/src/core/
DSkPathBuilder.cpp455 SkPathDirection arcSweep, SkPoint endPt) { in arcTo() argument
458 SkPoint srcPts[2] = { fPts.back(), endPt }; in arcTo()
464 return this->lineTo(endPt); in arcTo()
469 return this->lineTo(endPt); in arcTo()
529 return this->lineTo(endPt); in arcTo()
549 scalar_is_integer(endPt.fX) && scalar_is_integer(endPt.fY); in arcTo()
580 fPts.back() = endPt; in arcTo()
/third_party/flutter/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()
/third_party/skia/src/gpu/
DGrDistanceFieldGenFromVector.cpp221 const SkPoint& endPt() const { in endPt() function in PathSegment
231 const DPoint p2 = { this->endPt().fX, this->endPt().fY }; in init()
237 fBoundingBox.set(fPts[0], this->endPt()); in init()
/third_party/skia/src/gpu/tessellate/
DStrokeHardwareTessellator.cpp489 SkPoint endPt) { in internalPatchTo() argument
526 this->writePatchTo(prevJoinFitsInPatch, p, (p[2] != endPt) ? p[2] : p[1]); in internalPatchTo()
/third_party/flutter/skia/src/gpu/ccpr/
DGrCCFillGeometry.cpp120 const Sk2f& endPt, const Sk2f& tan1) { in is_convex_curve_monotonic() argument
121 Sk2f v = endPt - startPt; in is_convex_curve_monotonic()
/third_party/boost/boost/polygon/detail/
Dpolygon_formation.hpp967 point_data<Unit> endPt = getEndPoint(); in pushPoint() local
969 …f((tailOrient().to_int() ? point.get(VERTICAL) == endPt.get(VERTICAL) : point.get(HORIZONTAL) == e… in pushPoint()