Home
last modified time | relevance | path

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

12

/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/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 …]
/external/fonttools/Lib/fontTools/pens/
DttGlyphPen.py89 endPt = len(self.points) - 1
92 if endPt == 0 or (self.endPts and endPt == self.endPts[-1] + 1):
100 if self.points[startPt] == self.points[endPt]:
102 endPt -= 1
104 self.endPts.append(endPt)
/external/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()
/external/skqp/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()
/external/skqp/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()
388 SkPoint p0 = sega.endPt(); in create_vertices()
408 SkPoint v1Pos = sega.endPt(); in create_vertices()
443 SkPoint qpts[] = {sega.endPt(), segb.fPts[0], segb.fPts[1]}; in create_vertices()
/external/skia/src/gpu/ops/
DGrAAConvexPathRenderer.cpp56 const SkPoint& endPt() const { in endPt() function
77 p0 = segments[0].endPt(); in center_of_mass()
83 pj = segments[1].endPt() - p0; in center_of_mass()
86 pj = segments[i + 1].endPt() - p0; in center_of_mass()
101 const SkPoint& pt = segments[i].endPt(); in center_of_mass()
144 const SkPoint* prevPt = &sega.endPt(); in compute_vectors()
403 SkPoint p0 = sega.endPt(); in create_vertices()
423 SkPoint v1Pos = sega.endPt(); in create_vertices()
456 SkPoint qpts[] = {sega.endPt(), segb.fPts[0], segb.fPts[1]}; in create_vertices()
/external/skia/src/core/
DSkPathBuilder.cpp438 SkPathDirection arcSweep, SkPoint endPt) { in arcTo() argument
441 SkPoint srcPts[2] = { fPts.back(), endPt }; in arcTo()
447 return this->lineTo(endPt); in arcTo()
452 return this->lineTo(endPt); in arcTo()
512 return this->lineTo(endPt); in arcTo()
532 scalar_is_integer(endPt.fX) && scalar_is_integer(endPt.fY); in arcTo()
563 fPts.back() = endPt; in arcTo()
/external/skia/src/gpu/geometry/
DGrPathUtils.h138 inline void convertLineToCubic(SkPoint startPt, SkPoint endPt, SkPoint out[4]) { in convertLineToCubic() argument
141 float2 p1 = bit_pun<float2>(endPt); in convertLineToCubic()
/external/skia/src/gpu/
DGrDistanceFieldGenFromVector.cpp208 const SkPoint& endPt() const { in endPt() function in PathSegment
218 const SkDPoint p2 = { this->endPt().fX, this->endPt().fY }; in init()
224 fBoundingBox.set(fPts[0], this->endPt()); in init()
/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/OpenCL-CTS/test_conformance/buffers/
Dtest_sub_buffers.cpp554 size_t endPt = subBuffers[ i ].mOrigin + subBuffers[ i ].mSize; in test_sub_buffers_overlapping() local
559 if ( endPt < pt ) in test_sub_buffers_overlapping()
/external/skia/src/gpu/tessellate/
DGrStrokeHardwareTessellator.cpp475 SkPoint endPt) { in internalPatchTo() argument
512 this->writePatchTo(prevJoinFitsInPatch, p, (p[2] != endPt) ? p[2] : p[1]); in internalPatchTo()

12