Patent ID: 8040566

Claim:
An image generating device comprising: a target data accepting unit that accepts target data including an image drawing instruction for drawing an elliptical radial gradation; an acquisition unit that acquires the image drawing instruction from the accepted target data; an extraction unit that extracts elliptical shape parameters specifying an elliptical shape, gradation pattern parameters specifying a gradation pattern to be drawn in the elliptical shape, and drawing area parameters specifying a drawing area in which the elliptical radial gradation is drawn, from the acquired image drawing instruction; a transformation matrix generating unit that generates a transformation matrix for transforming the elliptical shape into a perfect circular shape based on the elliptical shape parameters; an inverse matrix calculating unit that calculates an inverse matrix of the transformation matrix; a first transformation unit that transforms the gradation pattern parameters using the transformation matrix; a second transformation unit that transforms a first area containing the drawing area specified by the drawing area parameters, using the transformation matrix; a drawing unit that draws, in a second area, a radial gradation for the perfect circular shape obtained by the transformation with the transformation matrix, based on the transformed gradation pattern parameters transformed by the first transformation unit, wherein the second area contains the transformed first area transformed by the second transformation unit; and a gradation generating unit that generates the elliptical radial gradation in the drawing area by inversely transforming the second area, in which the radial gradation for the perfect circular shape has been drawn by the drawing unit, using the inverse matrix.