Adobe Source Libraries 1.49.0
A collection of C++ libraries.
|
An intrinsic geometry class for objects with a graphical representation. More...
#include <adobe/extents.hpp>
Classes | |
class | slice_t |
A class containing element geometry for a single orientation. More... |
Public Member Functions | |
slice_t & | vertical () |
slice_t & | horizontal () |
const slice_t & | vertical () const |
const slice_t & | horizontal () const |
int & | height () |
int & | width () |
const int & | height () const |
const int & | width () const |
Public Attributes | |
std::array< slice_t, 2 > | slice_m |
Friends | |
bool | operator== (const extents_t &x, const extents_t &y) |
extents_t is an equality comparable class for storing intrinsic geometry about a graphical element. Each extents_t is comprised of two slices. A slice stores intrinsic geometry about a graphical element for in a single direction, either vertically or horizontally.
Definition at line 66 of file extents.hpp.
slice_t & vertical | ( | ) |
Definition at line 86 of file extents.hpp.
slice_t & horizontal | ( | ) |
Definition at line 87 of file extents.hpp.
const slice_t & vertical | ( | ) | const |
Definition at line 89 of file extents.hpp.
const slice_t & horizontal | ( | ) | const |
Definition at line 90 of file extents.hpp.
int & height | ( | ) |
Definition at line 92 of file extents.hpp.
int & width | ( | ) |
Definition at line 93 of file extents.hpp.
const int & height | ( | ) | const |
Definition at line 95 of file extents.hpp.
const int & width | ( | ) | const |
Definition at line 96 of file extents.hpp.
std::array<slice_t, 2> slice_m |
The two slices that comprise this extents.
Definition at line 84 of file extents.hpp.