Searched refs:firstPt (Results 1 - 9 of 9) sorted by relevance

/external/skia/include/core/
H A DSkPathMeasure.h118 bool conic_too_curvy(const SkPoint& firstPt, const SkPoint& midTPt,const SkPoint& lastPt);
/external/skia/tests/
H A DPathOpsExtendedTest.cpp88 SkPoint firstPt = {0, 0}, lastPt = {0, 0}; local
94 if (firstPtSet && lastPtSet && firstPt != lastPt) {
96 firstPt.fX, firstPt.fY);
99 firstPt = pts[0];
129 if (firstPtSet && lastPtSet && firstPt != lastPt) {
131 firstPt.fX, firstPt.fY);
140 if (firstPtSet && lastPtSet && firstPt != lastPt) {
142 firstPt
[all...]
H A DPathTest.cpp2194 SkPoint firstPt = {0.f, 0.f}; local
2198 firstPt = verbPts[0];
2211 path2.lineTo(firstPt);
/external/fonttools/Lib/fontTools/ttLib/tables/
H A D_g_l_y_f.py633 if hasattr(compo, "firstPt"):
635 x1,y1 = allCoords[compo.firstPt]
797 # XXX Ignoring self.firstPt & self.lastpt for now: I need to implement
822 self.firstPt, self.secondPt = int(x), int(y)
829 self.firstPt, self.secondPt = int(x), int(y)
865 if hasattr(self, "firstPt"):
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)
900 if not hasattr(self, "firstPt")
[all...]
/external/fonttools/Tools/fontTools/ttLib/tables/
H A D_g_l_y_f.py633 if hasattr(compo, "firstPt"):
635 x1,y1 = allCoords[compo.firstPt]
797 # XXX Ignoring self.firstPt & self.lastpt for now: I need to implement
822 self.firstPt, self.secondPt = int(x), int(y)
829 self.firstPt, self.secondPt = int(x), int(y)
865 if hasattr(self, "firstPt"):
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)
900 if not hasattr(self, "firstPt")
[all...]
/external/skia/src/core/
H A DSkScan_Hairline.cpp535 SkPoint pts[4], firstPt, lastPt;
545 firstPt = lastPt = pts[0];
586 pts[1] = firstPt;
599 firstPt = pts[0]; // the curve moved the initial point, so close to it instead
H A DSkPathMeasure.cpp153 bool SkPathMeasure::conic_too_curvy(const SkPoint& firstPt, const SkPoint& midTPt, argument
155 SkPoint midEnds = firstPt + lastPt;
H A DSkPath.cpp272 SkPoint firstPt; local
287 firstPt = prevPt = pts[0];
334 return check_edge_against_rect(prevPt, firstPt, rect, direction);
/external/skia/samplecode/
H A DSampleAAGeometry.cpp202 SkPoint firstPt = { 0, 0 }; // init to avoid warning local
239 result.lineTo((lastPt.fX + firstPt.fX) / 2, (lastPt.fY + firstPt.fY) / 2);
249 result.moveTo(firstPt = pts[0]);
1086 SkPoint firstPt = { 0, 0 }; // init to avoid warning;
1172 draw_bisect(canvas, lastVector, firstVector, firstPt);
1181 firstPt = pts[0];
1421 SkPoint pts[4], firstPt, lastPt;
1429 firstPt = pts[0];
1466 stroker.lineTo(firstPt);
[all...]

Completed in 4252 milliseconds