Lines Matching defs:edges
90 XRenderComputeTrapezoids (Edge *edges,
102 qsort (edges, (size_t) nedges, sizeof (Edge), CompareEdge);
105 y = edges[0].edge.p1.y;
110 /* insert new active edges into list */
113 e = &edges[inactive];
194 if (inactive < nedges && edges[inactive].edge.p1.y < next_y)
195 next_y = edges[inactive].edge.p1.y;
214 /* delete inactive edges from list */
246 Edge *edges;
252 edges = Xmalloc (((size_t) npoints * sizeof (Edge)) +
254 if (!edges)
256 traps = (XTrapezoid *) (edges + npoints);
280 edges[nedges].edge.p1.x = prevx;
281 edges[nedges].edge.p1.y = prevy;
282 edges[nedges].edge.p2.x = x;
283 edges[nedges].edge.p2.y = y;
284 edges[nedges].clockWise = True;
289 edges[nedges].edge.p1.x = x;
290 edges[nedges].edge.p1.y = y;
291 edges[nedges].edge.p2.x = prevx;
292 edges[nedges].edge.p2.y = prevy;
293 edges[nedges].clockWise = False;
296 /* drop horizontal edges */
308 if ( XRenderComputeTrapezoids (edges, nedges, winding, traps, &ntraps, npoints * npoints )) {
312 Xfree (edges);