#include <image.hpp>
|
| | Image (std::string id, PremultipliedImage &&, float pixelRatio, bool sdf, ImageStretches stretchX={}, ImageStretches stretchY={}, const std::optional< ImageContent > &content=std::nullopt) |
| |
| | Image (std::string id, PremultipliedImage &&image, float pixelRatio, ImageStretches stretchX={}, ImageStretches stretchY={}, const std::optional< ImageContent > &content=std::nullopt) |
| |
| | Image (const Image &) |
| |
| std::string | getID () const |
| |
| const PremultipliedImage & | getImage () const |
| |
| float | getPixelRatio () const |
| | Pixel ratio of the sprite image. More...
|
| |
| bool | isSdf () const |
| | Whether this image should be interpreted as a signed distance field icon. More...
|
| |
| const ImageStretches & | getStretchX () const |
| | Stretch area of this image. More...
|
| |
| const ImageStretches & | getStretchY () const |
| | Stretch area of this image. More...
|
| |
| const std::optional< ImageContent > & | getContent () const |
| | The space where text can be fit into this image. More...
|
| |
| | Image (Immutable< Impl > baseImpl_) |
| |
Definition at line 29 of file image.hpp.
◆ Image() [1/4]
◆ Image() [2/4]
◆ Image() [3/4]
| mbgl::style::Image::Image |
( |
const Image & |
| ) |
|
◆ Image() [4/4]
| mbgl::style::Image::Image |
( |
Immutable< Impl > |
baseImpl_ | ) |
|
|
inlineexplicit |
◆ getContent()
| const std::optional<ImageContent>& mbgl::style::Image::getContent |
( |
| ) |
const |
The space where text can be fit into this image.
◆ getID()
| std::string mbgl::style::Image::getID |
( |
| ) |
const |
◆ getImage()
◆ getPixelRatio()
| float mbgl::style::Image::getPixelRatio |
( |
| ) |
const |
Pixel ratio of the sprite image.
◆ getStretchX()
Stretch area of this image.
◆ getStretchY()
Stretch area of this image.
◆ isSdf()
| bool mbgl::style::Image::isSdf |
( |
| ) |
const |
Whether this image should be interpreted as a signed distance field icon.
◆ baseImpl
The documentation for this class was generated from the following file:
- /home/runner/work/maplibre-native/maplibre-native/include/mbgl/style/image.hpp