summaryrefslogtreecommitdiff
path: root/test/text
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-10-28 16:39:50 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2017-02-02 09:44:42 -0800
commit141e995806576364d185626176c1b993fc519291 (patch)
treeecdc41fc7699f2a1a9e9456157348451ebe99597 /test/text
parent6a6bddb4537004cc1bfc506e76772de74d33f3f7 (diff)
downloadqtlocation-mapboxgl-141e995806576364d185626176c1b993fc519291.tar.gz
[core] Add support for data-driven styling
Diffstat (limited to 'test/text')
-rw-r--r--test/text/quads.test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/text/quads.test.cpp b/test/text/quads.test.cpp
index c20218a82f..0bc2961344 100644
--- a/test/text/quads.test.cpp
+++ b/test/text/quads.test.cpp
@@ -17,7 +17,7 @@ TEST(getIconQuads, normal) {
std::shared_ptr<const SpriteImage>(),
1.0f
};
- PositionedIcon shapedIcon(image, -5.0, 6.0, -7.0, 8.0);
+ PositionedIcon shapedIcon(image, -5.0, 6.0, -7.0, 8.0, 0);
GeometryCoordinates line;
Shaping shapedText;
@@ -47,7 +47,7 @@ TEST(getIconQuads, style) {
std::shared_ptr<const SpriteImage>(),
1.0f
};
- PositionedIcon shapedIcon(image, -10.0, 10.0, -10.0, 10.0);
+ PositionedIcon shapedIcon(image, -10.0, 10.0, -10.0, 10.0, 0);
GeometryCoordinates line;
Shaping shapedText;
shapedText.top = -10.0f;