1. A method for graphics processing, the method comprising: receiving an intermediate graphical representation associated with a document, the intermediate graphical representation comprising a plurality of non-intersecting edges; determining a plurality of vertices using the intermediate graphical representation, the plurality of vertices comprising endpoints of the edges and at least one split point, the split point being determined by splitting a first edge into two or more portions using an endpoint of at least one second edge, wherein the first edge and the second edge are from the plurality of non-intersecting edges; associating vertices from the plurality of vertices with at least one edge from the intermediate graphical representation using endpoints of said one edge, wherein the associating comprises selecting, from the determined plurality of vertices, a plurality of neighbouring vertices to said one edge to define a region with the endpoints of said one edge; and processing the region using at least the endpoints of said one edge and the associated neighbouring vertices, thereby converting an edge-based representation into an intermediate non-overlapping object-based representation.