Home
last modified time | relevance | path

Searched refs:firstPt (Results 1 – 15 of 15) sorted by relevance

/external/skia/tests/
DPathOpsExtendedTest.cpp88 SkPoint firstPt = {0, 0}, lastPt = {0, 0}; in showPathData() local
94 if (firstPtSet && lastPtSet && firstPt != lastPt) { in showPathData()
96 firstPt.fX, firstPt.fY); in showPathData()
99 firstPt = pts[0]; in showPathData()
129 if (firstPtSet && lastPtSet && firstPt != lastPt) { in showPathData()
131 firstPt.fX, firstPt.fY); in showPathData()
140 if (firstPtSet && lastPtSet && firstPt != lastPt) { in showPathData()
142 firstPt.fX, firstPt.fY); in showPathData()
DPathTest.cpp2174 SkPoint firstPt = {0.f, 0.f}; in test_is_simple_closed_rect() local
2178 firstPt = verbPts[0]; in test_is_simple_closed_rect()
2191 path2.lineTo(firstPt); in test_is_simple_closed_rect()
/external/skqp/tests/
DPathOpsExtendedTest.cpp88 SkPoint firstPt = {0, 0}, lastPt = {0, 0}; in showPathData() local
94 if (firstPtSet && lastPtSet && firstPt != lastPt) { in showPathData()
96 firstPt.fX, firstPt.fY); in showPathData()
99 firstPt = pts[0]; in showPathData()
129 if (firstPtSet && lastPtSet && firstPt != lastPt) { in showPathData()
131 firstPt.fX, firstPt.fY); in showPathData()
140 if (firstPtSet && lastPtSet && firstPt != lastPt) { in showPathData()
142 firstPt.fX, firstPt.fY); in showPathData()
DPathTest.cpp2174 SkPoint firstPt = {0.f, 0.f}; in test_is_simple_closed_rect() local
2178 firstPt = verbPts[0]; in test_is_simple_closed_rect()
2191 path2.lineTo(firstPt); in test_is_simple_closed_rect()
/external/fonttools/Lib/fontTools/ttLib/tables/
D_g_l_y_f.py635 x1,y1 = allCoords[compo.firstPt]
822 self.firstPt, self.secondPt = int(x), int(y)
829 self.firstPt, self.secondPt = int(x), int(y)
866 if (0 <= self.firstPt <= 255) and (0 <= self.secondPt <= 255):
867 data = data + struct.pack(">BB", self.firstPt, self.secondPt)
869 data = data + struct.pack(">HH", self.firstPt, self.secondPt)
903 attrs = attrs + [("firstPt", self.firstPt), ("secondPt", self.secondPt)]
925 self.firstPt = safeEval(attrs["firstPt"])
/external/skia/samplecode/
DSampleAAGeometry.cpp204 SkPoint firstPt = { 0, 0 }; // init to avoid warning in add_path_segment() local
241 result.lineTo((lastPt.fX + firstPt.fX) / 2, (lastPt.fY + firstPt.fY) / 2); in add_path_segment()
251 result.moveTo(firstPt = pts[0]); in add_path_segment()
1081 SkPoint firstPt = { 0, 0 }; // init to avoid warning; in draw_bisects() local
1167 draw_bisect(canvas, lastVector, firstVector, firstPt); in draw_bisects()
1176 firstPt = pts[0]; in draw_bisects()
1416 SkPoint pts[4], firstPt, lastPt; in path_stroke()
1424 firstPt = pts[0]; in path_stroke()
1461 stroker.lineTo(firstPt); in path_stroke()
/external/skqp/samplecode/
DSampleAAGeometry.cpp204 SkPoint firstPt = { 0, 0 }; // init to avoid warning in add_path_segment() local
241 result.lineTo((lastPt.fX + firstPt.fX) / 2, (lastPt.fY + firstPt.fY) / 2); in add_path_segment()
251 result.moveTo(firstPt = pts[0]); in add_path_segment()
1081 SkPoint firstPt = { 0, 0 }; // init to avoid warning; in draw_bisects() local
1167 draw_bisect(canvas, lastVector, firstVector, firstPt); in draw_bisects()
1176 firstPt = pts[0]; in draw_bisects()
1416 SkPoint pts[4], firstPt, lastPt; in path_stroke()
1424 firstPt = pts[0]; in path_stroke()
1461 stroker.lineTo(firstPt); in path_stroke()
/external/skqp/src/core/
DSkScan_Hairline.cpp535 SkPoint pts[4], firstPt, lastPt; in hair_path() local
545 firstPt = lastPt = pts[0]; in hair_path()
586 pts[1] = firstPt; in hair_path()
599 firstPt = pts[0]; // the curve moved the initial point, so close to it instead in hair_path()
DSkPathMeasure.cpp152 bool SkPathMeasure::conic_too_curvy(const SkPoint& firstPt, const SkPoint& midTPt, in conic_too_curvy() argument
154 SkPoint midEnds = firstPt + lastPt; in conic_too_curvy()
DSkPath.cpp280 SkPoint firstPt; in conservativelyContainsRect() local
295 firstPt = prevPt = pts[0]; in conservativelyContainsRect()
343 return check_edge_against_rect(prevPt, firstPt, rect, direction); in conservativelyContainsRect()
/external/skia/src/core/
DSkScan_Hairline.cpp535 SkPoint pts[4], firstPt, lastPt; in hair_path() local
545 firstPt = lastPt = pts[0]; in hair_path()
586 pts[1] = firstPt; in hair_path()
599 firstPt = pts[0]; // the curve moved the initial point, so close to it instead in hair_path()
DSkPathMeasure.cpp152 bool SkPathMeasure::conic_too_curvy(const SkPoint& firstPt, const SkPoint& midTPt, in conic_too_curvy() argument
154 SkPoint midEnds = firstPt + lastPt; in conic_too_curvy()
DSkPath.cpp281 SkPoint firstPt; in conservativelyContainsRect() local
296 firstPt = prevPt = pts[0]; in conservativelyContainsRect()
344 return check_edge_against_rect(prevPt, firstPt, rect, direction); in conservativelyContainsRect()
/external/skqp/include/core/
DSkPathMeasure.h118 bool conic_too_curvy(const SkPoint& firstPt, const SkPoint& midTPt,const SkPoint& lastPt);
/external/skia/include/core/
DSkPathMeasure.h118 bool conic_too_curvy(const SkPoint& firstPt, const SkPoint& midTPt,const SkPoint& lastPt);