|
MapLibre Native Core
|
The distance on each side between a rectangle and a rectangle within. More...
#include <geo.hpp>
Public Member Functions | |
| EdgeInsets (double t_=0, double l_=0, double b_=0, double r_=0) | |
| double | top () const |
| double | left () const |
| double | bottom () const |
| double | right () const |
| bool | isFlush () const |
| void | operator+= (const EdgeInsets &o) |
| EdgeInsets | operator+ (const EdgeInsets &o) const |
| ScreenCoordinate | getCenter (uint16_t width, uint16_t height) const |
Friends | |
| bool | operator== (const EdgeInsets &a, const EdgeInsets &b) |
| bool | operator!= (const EdgeInsets &a, const EdgeInsets &b) |
The distance on each side between a rectangle and a rectangle within.
|
inline |
| ScreenCoordinate mbgl::EdgeInsets::getCenter | ( | uint16_t | width, |
| uint16_t | height | ||
| ) | const |
|
inline |
|
inline |
|
friend |
|
friend |