diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2019-12-10 11:48:12 +0100 |
---|---|---|
committer | Alexander Shalamov <alexander.shalamov@mapbox.com> | 2020-01-15 15:02:11 +0200 |
commit | c80baa35b3e03bd0ef795e54bb6a83641627e9b0 (patch) | |
tree | 2e3e2185e7039da30952fe8b8328514058898809 /src/mbgl/renderer/image_atlas.hpp | |
parent | 47dc5727ab7e1b4b2d13540a0b4310e629668cfe (diff) | |
download | qtlocation-mapboxgl-c80baa35b3e03bd0ef795e54bb6a83641627e9b0.tar.gz |
[core] add stretches + content to ImagePosition
Diffstat (limited to 'src/mbgl/renderer/image_atlas.hpp')
-rw-r--r-- | src/mbgl/renderer/image_atlas.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mbgl/renderer/image_atlas.hpp b/src/mbgl/renderer/image_atlas.hpp index e4d7d0f009..e5305b0e42 100644 --- a/src/mbgl/renderer/image_atlas.hpp +++ b/src/mbgl/renderer/image_atlas.hpp @@ -24,6 +24,9 @@ public: float pixelRatio; Rect<uint16_t> textureRect; uint32_t version; + style::ImageStretches stretchX; + style::ImageStretches stretchY; + style::ImageContent content; std::array<uint16_t, 2> tl() const { return {{ |