Lines Matching defs:Edge
341 struct Edge { struct
342 enum class Type { kInner, kOuter, kConnector };
343 Edge(Vertex* top, Vertex* bottom, int winding, Type type) in Edge() function
364 int fWinding; // 1 == edge goes downward; -1 = edge goes upward.
365 Vertex* fTop; // The top vertex in vertex-sort-order (sweep_lt).
366 Vertex* fBottom; // The bottom vertex in vertex-sort-order.
367 Type fType;
368 Edge* fLeft; // The linked list of edges in the active edge list.
369 Edge* fRight; // "
370 Edge* fPrevEdgeAbove; // The linked list of edges in the bottom Vertex's "edges above".
371 Edge* fNextEdgeAbove; // "
372 Edge* fPrevEdgeBelow; // The linked list of edges in the top Vertex's "edges below".
373 Edge* fNextEdgeBelow; // "
374 Poly* fLeftPoly; // The Poly to the left of this edge, if any.
375 Poly* fRightPoly; // The Poly to the right of this edge, if any.
376 Edge* fLeftPolyPrev;
377 Edge* fLeftPolyNext;
378 Edge* fRightPolyPrev;
379 Edge* fRightPolyNext;
380 bool fUsedInLeftPoly;
381 bool fUsedInRightPoly;
382 Line fLine;
383 double dist(const SkPoint& p) const { in dist()
386 bool isRightOf(Vertex* v) const { in isRightOf()
389 bool isLeftOf(Vertex* v) const { in isLeftOf()
392 void recompute() { in recompute()
395 bool intersect(const Edge& other, SkPoint* p, uint8_t* alpha = nullptr) const { in intersect()