summaryrefslogtreecommitdiff
path: root/src/mbgl/renderer/image_atlas.hpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2019-12-10 11:48:12 +0100
committerAlexander Shalamov <alexander.shalamov@mapbox.com>2020-01-15 15:02:11 +0200
commitc80baa35b3e03bd0ef795e54bb6a83641627e9b0 (patch)
tree2e3e2185e7039da30952fe8b8328514058898809 /src/mbgl/renderer/image_atlas.hpp
parent47dc5727ab7e1b4b2d13540a0b4310e629668cfe (diff)
downloadqtlocation-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.hpp3
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 {{