/external/skqp/tests/ |
D | PathOpsExtendedTest.cpp | 95 SkPoint firstPt = {0, 0}, lastPt = {0, 0}; in showPathData() local 101 if (firstPtSet && lastPtSet && firstPt != lastPt) { in showPathData() 103 firstPt.fX, firstPt.fY); in showPathData() 106 firstPt = pts[0]; in showPathData() 136 if (firstPtSet && lastPtSet && firstPt != lastPt) { in showPathData() 138 firstPt.fX, firstPt.fY); in showPathData() 147 if (firstPtSet && lastPtSet && firstPt != lastPt) { in showPathData() 149 firstPt.fX, firstPt.fY); in showPathData()
|
D | PathTest.cpp | 2274 SkPoint firstPt = {0.f, 0.f}; in test_is_simple_closed_rect() local 2278 firstPt = verbPts[0]; in test_is_simple_closed_rect() 2291 path2.lineTo(firstPt); in test_is_simple_closed_rect()
|
/external/skia/tests/ |
D | PathOpsExtendedTest.cpp | 95 SkPoint firstPt = {0, 0}, lastPt = {0, 0}; in showPathData() local 101 if (firstPtSet && lastPtSet && firstPt != lastPt) { in showPathData() 103 firstPt.fX, firstPt.fY); in showPathData() 106 firstPt = pts[0]; in showPathData() 136 if (firstPtSet && lastPtSet && firstPt != lastPt) { in showPathData() 138 firstPt.fX, firstPt.fY); in showPathData() 147 if (firstPtSet && lastPtSet && firstPt != lastPt) { in showPathData() 149 firstPt.fX, firstPt.fY); in showPathData()
|
D | PathTest.cpp | 2274 SkPoint firstPt = {0.f, 0.f}; in test_is_simple_closed_rect() local 2278 firstPt = verbPts[0]; in test_is_simple_closed_rect() 2291 path2.lineTo(firstPt); in test_is_simple_closed_rect()
|
/external/skia/src/core/ |
D | SkContourMeasure.cpp | 144 static bool conic_too_curvy(const SkPoint& firstPt, const SkPoint& midTPt, in conic_too_curvy() argument 146 SkPoint midEnds = firstPt + lastPt; in conic_too_curvy() 363 SkPoint firstPt = fPts[0]; in buildSegments() local 364 distance = this->compute_line_seg(fPts[ptIndex], firstPt, distance, ptIndex); in buildSegments() 366 *fPts.append() = firstPt; in buildSegments()
|
D | SkScan_Hairline.cpp | 562 SkPoint pts[4], firstPt, lastPt; in hair_path() local 572 firstPt = lastPt = pts[0]; in hair_path() 613 pts[1] = firstPt; in hair_path() 626 firstPt = pts[0]; // the curve moved the initial point, so close to it instead in hair_path()
|
D | SkPath.cpp | 305 SkPoint firstPt; in conservativelyContainsRect() local 320 firstPt = prevPt = pts[0]; in conservativelyContainsRect() 368 return check_edge_against_rect(prevPt, firstPt, rect, direction); in conservativelyContainsRect() 479 const SkPoint* firstPt = nullptr; // first point in the rect (last of first moves) in isRectContour() local 502 SkPoint lineEnd = kClose_Verb == verb ? *firstPt : *pts++; in isRectContour() 569 firstPt = pts; in isRectContour() 571 closeXY = *firstPt - *lastPt; in isRectContour() 595 closeXY = *firstPt - *lastPt; in isRectContour() 2648 SkPoint firstPt = currPt; in BySign() local 2676 points = &firstPt; in BySign()
|
/external/skqp/samplecode/ |
D | SampleAAGeometry.cpp | 205 SkPoint firstPt = { 0, 0 }; // init to avoid warning in add_path_segment() local 242 result.lineTo((lastPt.fX + firstPt.fX) / 2, (lastPt.fY + firstPt.fY) / 2); in add_path_segment() 252 result.moveTo(firstPt = pts[0]); in add_path_segment() 1080 SkPoint firstPt = { 0, 0 }; // init to avoid warning; in draw_bisects() local 1166 draw_bisect(canvas, lastVector, firstVector, firstPt); in draw_bisects() 1175 firstPt = pts[0]; in draw_bisects() 1415 SkPoint pts[4], firstPt, lastPt; in path_stroke() 1423 firstPt = pts[0]; in path_stroke() 1460 stroker.lineTo(firstPt); in path_stroke()
|
/external/skia/samplecode/ |
D | SampleAAGeometry.cpp | 205 SkPoint firstPt = { 0, 0 }; // init to avoid warning in add_path_segment() local 242 result.lineTo((lastPt.fX + firstPt.fX) / 2, (lastPt.fY + firstPt.fY) / 2); in add_path_segment() 252 result.moveTo(firstPt = pts[0]); in add_path_segment() 1080 SkPoint firstPt = { 0, 0 }; // init to avoid warning; in draw_bisects() local 1166 draw_bisect(canvas, lastVector, firstVector, firstPt); in draw_bisects() 1175 firstPt = pts[0]; in draw_bisects() 1415 SkPoint pts[4], firstPt, lastPt; in path_stroke() 1423 firstPt = pts[0]; in path_stroke() 1460 stroker.lineTo(firstPt); in path_stroke()
|
/external/skqp/include/core/ |
D | SkPathMeasure.h | 121 bool conic_too_curvy(const SkPoint& firstPt, const SkPoint& midTPt,const SkPoint& lastPt);
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | _g_l_y_f.py | 850 x1,y1 = allCoords[compo.firstPt] 1116 self.firstPt, self.secondPt = int(x), int(y) 1123 self.firstPt, self.secondPt = int(x), int(y) 1160 if (0 <= self.firstPt <= 255) and (0 <= self.secondPt <= 255): 1161 data = data + struct.pack(">BB", self.firstPt, self.secondPt) 1163 data = data + struct.pack(">HH", self.firstPt, self.secondPt) 1199 attrs = attrs + [("firstPt", self.firstPt), ("secondPt", self.secondPt)] 1221 self.firstPt = safeEval(attrs["firstPt"])
|
/external/skqp/src/core/ |
D | SkScan_Hairline.cpp | 562 SkPoint pts[4], firstPt, lastPt; in hair_path() local 572 firstPt = lastPt = pts[0]; in hair_path() 613 pts[1] = firstPt; in hair_path() 626 firstPt = pts[0]; // the curve moved the initial point, so close to it instead in hair_path()
|
D | SkPath.cpp | 305 SkPoint firstPt; in conservativelyContainsRect() local 320 firstPt = prevPt = pts[0]; in conservativelyContainsRect() 368 return check_edge_against_rect(prevPt, firstPt, rect, direction); in conservativelyContainsRect() 479 const SkPoint* firstPt = nullptr; // first point in the rect (last of first moves) in isRectContour() local 502 SkPoint lineEnd = kClose_Verb == verb ? *firstPt : *pts++; in isRectContour() 569 firstPt = pts; in isRectContour() 571 closeXY = *firstPt - *lastPt; in isRectContour() 595 closeXY = *firstPt - *lastPt; in isRectContour() 2648 SkPoint firstPt = currPt; in BySign() local 2676 points = &firstPt; in BySign()
|
D | SkPathMeasure.cpp | 154 bool SkPathMeasure::conic_too_curvy(const SkPoint& firstPt, const SkPoint& midTPt, in conic_too_curvy() argument 156 SkPoint midEnds = firstPt + lastPt; in conic_too_curvy()
|