pixel-aligned rectangle More...
#include <gpac/math.h>
Public Attributes | |
s32 | x |
s32 | y |
s32 | width |
s32 | height |
Pixel-aligned rectangle used in the GPAC framework. This is usually needed for 2D drawing algorithms.
s32 GF_IRect::x |
the left coordinate of the rectangle
s32 GF_IRect::y |
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
s32 GF_IRect::width |
the width of the rectangle. Width must be greater than or equal to 0
s32 GF_IRect::height |
the height of the rectangle. Height must be greater than or equal to 0