1. A method for producing canonical graphical content, the method comprising: separating graphical content into linear and filled polygonal planes; decomposing linear features in the linear plane into line segments; ordering the line segments using a canonical line segments ordering; decomposing polygonal features in the polygonal plane into trigons wherein each trigon is defined at least by three non-collinear points; and ordering the trigons using a canonical trigons ordering, the ordering of the trigons using a canonical trigons ordering comprising ordering the trigons respective to coordinates of the three non-collinear points; the canonical graphical content comprising at least the line segments ordered using the canonical line segments ordering and the trigons ordered using the canonical trigons ordering; the method for producing canonical graphical content being performed by a digital processor.