diff options
Diffstat (limited to 'src/mbgl/text/shaping.hpp')
-rw-r--r-- | src/mbgl/text/shaping.hpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/mbgl/text/shaping.hpp b/src/mbgl/text/shaping.hpp index 1f62f38521..0c238d36b0 100644 --- a/src/mbgl/text/shaping.hpp +++ b/src/mbgl/text/shaping.hpp @@ -28,21 +28,19 @@ class BiDi; class PositionedIcon { private: - PositionedIcon(ImagePosition image_, float top_, float bottom_, float left_, float right_, float angle_) - : _image(image_), _top(top_), _bottom(bottom_), _left(left_), _right(right_), _angle(angle_) {} + PositionedIcon(ImagePosition image_, float top_, float bottom_, float left_, float right_) + : _image(image_), _top(top_), _bottom(bottom_), _left(left_), _right(right_) {} ImagePosition _image; float _top; float _bottom; float _left; float _right; - float _angle; public: static PositionedIcon shapeIcon(const ImagePosition&, const std::array<float, 2>& iconOffset, - style::SymbolAnchorType iconAnchor, - const float iconRotation); + style::SymbolAnchorType iconAnchor); // Updates shaped icon's bounds based on shaped text's bounds and provided // layout properties. @@ -57,7 +55,6 @@ public: float bottom() const { return _bottom; } float left() const { return _left; } float right() const { return _right; } - float angle() const { return _angle; } }; const Shaping getShaping(const TaggedString& string, |