pixel-aligned rectangle More...
#include <maths.h>
Data Fields | |
s32 | x |
s32 | y |
s32 | width |
s32 | height |
Pixel-aligned rectangle used in the GPAC framework. This is usually needed for 2D drawing algorithms.
the left coordinate of the rectangle
the top coordinate of the rectangle, regardless of the canvas orientation. In other words, y is always the greatest coordinate value, even if the rectangle is presented bottom-up. This insures proper rectangles operations
the width of the rectangle. Width must be greater than or equal to 0
the height of the rectangle. Height must be greater than or equal to 0