#include <size.hpp>
|
constexpr | Size ()=default |
|
constexpr | Size (const uint32_t width_, const uint32_t height_) |
|
constexpr uint32_t | area () const |
|
constexpr float | aspectRatio () const |
|
constexpr bool | isEmpty () const |
|
Definition at line 7 of file size.hpp.
◆ Size() [1/2]
constexpr mbgl::Size::Size |
( |
| ) |
|
|
constexprdefault |
◆ Size() [2/2]
constexpr mbgl::Size::Size |
( |
const uint32_t |
width_, |
|
|
const uint32_t |
height_ |
|
) |
| |
|
inlineconstexpr |
◆ area()
constexpr uint32_t mbgl::Size::area |
( |
| ) |
const |
|
inlineconstexpr |
◆ aspectRatio()
constexpr float mbgl::Size::aspectRatio |
( |
| ) |
const |
|
inlineconstexpr |
◆ isEmpty()
constexpr bool mbgl::Size::isEmpty |
( |
| ) |
const |
|
inlineconstexpr |
◆ height
uint32_t mbgl::Size::height = 0 |
◆ width
uint32_t mbgl::Size::width = 0 |
The documentation for this class was generated from the following file:
- /home/runner/work/maplibre-native/maplibre-native/include/mbgl/util/size.hpp