Home | History | Annotate | Download | only in shapes

Lines Matching refs:intersection

142     FloatPoint intersection;
150 if (prevOffsetEdge.intersection(thisOffsetEdge, intersection))
151 paddedVertices->append(intersection);
163 FloatPoint intersection;
171 if (prevOffsetEdge.intersection(thisOffsetEdge, intersection))
172 marginVertices->append(intersection);
205 static inline bool getVertexIntersectionVertices(const EdgeIntersection& intersection, FloatPoint& prevVertex, FloatPoint& thisVertex, FloatPoint& nextVertex)
207 if (intersection.type != VertexMinY && intersection.type != VertexMaxY)
210 ASSERT(intersection.edge && intersection.edge->polygon());
211 const FloatPolygon& polygon = *(intersection.edge->polygon());
212 const FloatPolygonEdge& thisEdge = *(intersection.edge);
214 if ((intersection.type == VertexMinY && (thisEdge.vertex1().y() < thisEdge.vertex2().y()))
215 || (intersection.type == VertexMaxY && (thisEdge.vertex1().y() > thisEdge.vertex2().y()))) {
252 EdgeIntersection intersection;
254 if (computeXIntersection(edges[i], y, intersection) && intersection.type != VertexYBoth)
255 intersections.append(intersection);
276 // Replace pairs of intersections whose types are VertexMinY,VertexMaxY or VertexMaxY,VertexMinY with one intersection.
321 EdgeIntersection intersection;
328 computeXIntersection(edge, y1, intersection);
329 x1 = intersection.point.x();
335 computeXIntersection(edge, y2, intersection);
336 x2 = intersection.point.x();
495 if (offsetEdges[i].intersection(offsetEdges[j], offsetEdgesIntersection)) {