The virtual coordinate system uses a fixed height for all images and canvases of 8640 units.
The virtual width of a canvas or image depends on its aspect ratio, making the virtual units as
wide as they are tall. The point of origin of a canvas is in the center, and values increase toward the top
and toward the right.
If the width of the canvas or image is an even number of pixels there is no exact center to a line, and the pixel at one half the width is considered the horizontal center, making the left half one pixel wider. The same applies to the vertical dimension. The value 8640 was chosen as the virtual height for a number of reasons:
|
Previous | Index |
Next |
DVD-Video info home | Copyright © 2005 - 2023 MPUCoder, all rights reserved. |