libgpac
0.5.0
|
rectangle 2D More...
#include <gpac/math.h>
Public Attributes | |
Fixed | x |
Fixed | y |
Fixed | width |
Fixed | height |
The 2D rectangle used in the GPAC project.
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 testing
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