• Home
  • Raw
  • Download

Lines Matching refs:SkVector

24     SkVector fV;
32 static int compute_side(const SkPoint& p0, const SkVector& v, const SkPoint& p) { in compute_side()
33 SkVector w = p - p0; in compute_side()
50 SkVector v0 = polygonVerts[1] - polygonVerts[0]; in SkGetPolygonWinding()
52 SkVector v1 = polygonVerts[curr] - polygonVerts[0]; in SkGetPolygonWinding()
68 SkVector perp = SkVector::Make(p0.fY - p1.fY, p1.fX - p0.fX); in compute_offset_vector()
87 const SkVector& v0 = s0.fV; in compute_intersection()
88 const SkVector& v1 = s1.fV; in compute_intersection()
89 SkVector w = s1.fP0 - s0.fP0; in compute_intersection()
183 SkVector v0 = polygonVerts[currIndex] - polygonVerts[prevIndex]; in SkIsConvexPolygon()
184 SkVector v1 = polygonVerts[nextIndex] - polygonVerts[currIndex]; in SkIsConvexPolygon()
185 SkVector w0 = polygonVerts[currIndex] - origin; in SkIsConvexPolygon()
186 SkVector w1 = polygonVerts[nextIndex] - origin; in SkIsConvexPolygon()
261 const SkVector& v0 = s0.fV; in computeCrossingDistance()
262 const SkVector& v1 = s1.fV; in computeCrossingDistance()
270 SkVector w = s1.fP0 - s0.fP0; in computeCrossingDistance()
353 SkVector v = inputPolygonVerts[next] - inputPolygonVerts[curr]; in SkInsetConvexPolygon()
354 SkVector perp = SkVector::Make(-v.fY, v.fX); in SkInsetConvexPolygon()
461 bool SkComputeRadialSteps(const SkVector& v1, const SkVector& v2, SkScalar offset, in SkComputeRadialSteps()
522 ActiveEdge(const SkPoint& p0, const SkVector& v, uint16_t index0, uint16_t index1) in ActiveEdge()
540 SkVector d = q0 - p0; in aboveIfLeft()
541 const SkVector& v = this->fSegment.fV; in aboveIfLeft()
542 const SkVector& w = that->fSegment.fV; in aboveIfLeft()
600 bool intersect(const SkPoint& q0, const SkVector& w, uint16_t index0, uint16_t index1) const { in intersect()
609 const SkVector& v = this->fSegment.fV; in intersect()
676 SkVector v = p1 - p0; in insert()
791 SkVector v = p2 - p1; in replace()
1189 SkAutoSTMalloc<64, SkVector> normals(inputPolygonSize); in SkOffsetSimplePolygon()
1247 SkVector prevNormal = normals[prevIndex]; in SkOffsetSimplePolygon()
1254 SkVector currNormal = SkVector::Make(prevNormal.fX*rotCos - prevNormal.fY*rotSin, in SkOffsetSimplePolygon()
1453 SkVector v0 = p1 - p0; in point_in_triangle()
1454 SkVector v1 = p2 - p1; in point_in_triangle()
1457 SkVector w0 = p - p0; in point_in_triangle()
1462 SkVector w1 = p - p1; in point_in_triangle()
1467 SkVector v2 = p0 - p2; in point_in_triangle()
1468 SkVector w2 = p - p2; in point_in_triangle()
1566 SkVector fGridConversion;
1575 SkVector v0 = p->fPosition - polygonVerts[p->fPrevIndex]; in reclassify_vertex()
1576 SkVector v1 = polygonVerts[p->fNextIndex] - p->fPosition; in reclassify_vertex()
1612 SkVector v0 = polygonVerts[0] - polygonVerts[prevIndex]; in SkTriangulateSimplePolygon()
1621 SkVector v1 = polygonVerts[nextIndex] - polygonVerts[currIndex]; in SkTriangulateSimplePolygon()
1729 static double crs(SkVector a, SkVector b) { in crs()
1764 SkVector fFirst, fPrev;
1782 void addVec(SkVector v) { in addVec()