Return to previous page Return to menu Go to next page

Rectangular sprite

Draw the character pattern enlarged or reduced to the specified position. There are two ways to specify the position and scale. One is to specify the coordinates of the upper left and lower right vertices, and the other is to specify the fixed point (zoom point), its coordinates, and the horizontal and vertical display widths.
* Rectangular sprites cannot be rotated 90 °. If you want to rotate 90 degrees, use the sprite drawing command.

Specify two coordinates

When specifying two coordinates, specify the coordinates of the two points for drawing the upper left and lower right vertices of the character pattern.
The drawing direction (character drawing direction) is determined by the position of the lower right coordinate relative to the specified upper left coordinate. The character pattern is drawn from the upper left coordinates to the lower right coordinates.
When the X value of the lower right coordinate is smaller than the X value of the upper left coordinate, it is drawn horizontally reversed. When the Y value of the lower right coordinate is smaller than the Y value of the upper left coordinate, it is drawn upside down. .
¡Reversal can be specified in the readout direction as well as regular sprites. If you flip it upside down at the coordinates and flip it upside down in the readout direction, the inversion is canceled and the upside down designation becomes invalid.

Figure 1.3 Rectangle Sprite (Specify 2 points)


Return to previous page Return to menu Go to next page