摘要 |
An image generating device comprises an extraction unit that extracts parameters (specifying an elliptical shape and a gradation pattern) from an instruction for drawing an elliptical radial gradation, a transformation matrix generating unit that generates a transformation matrix for transforming the elliptical shape into a perfect circular shape based on the parameters, an inverse matrix calculating unit that calculates an inverse matrix of the transformation matrix, a perfect circle parameter calculating unit that calculates perfect circle parameters specifying each perfect circle (drawn with a uniform color value inside the perfect circular shape) based on the parameters, an ellipse parameter calculating unit that calculates ellipse parameters specifying each ellipse (drawn with a uniform color value inside the elliptical shape) by inversely transforming the perfect circle parameters using the inverse matrix, and a gradation generating unit that generates the elliptical radial gradation from the ellipse parameters and the gradation pattern parameters.
|