Patent ID: 7821514

Claim:
An image processing apparatus comprising: a first data generation unit configured to generate triangular data which includes first triangular data generated by analyzing straight line contours with respect to vector format graphic data and second triangular data generated by analyzing curved contours with respect to the vector format graphic data; a second data generation unit configured to generate stencil data from the triangular data by determining a numerical value for separate enclosed regions formed within each of the first triangular data and the second triangular data on the basis of a drawing order of vertices of the first triangular data and the second triangular data, and by determining regions of the triangular data to be included in the stencil data which correspond to specified numerical values obtained by overlapping the first triangular data with the second triangular data and adding together the numerical values determined for the first triangular data with the numerical values determined for the second triangular data, wherein numerical values for overlapping regions of the first triangular data and the second triangular data are added together; and a third data generation unit configured to generate raster format graphic data with reference to the stencil data, wherein the straight line contours define a configuration of a polygon which is obtained by ignoring a control point of each curve contour and connecting starting points and end points of a straight line and curve of each straight line contour, and the curved contours are a group of the triangles in which three points of a starting point, end point and control point of a parameter curve of each curved contour are connected.