summaryrefslogtreecommitdiff
path: root/src/mbgl/text/placement.hpp
diff options
context:
space:
mode:
authorAnsis Brammanis <brammanis@gmail.com>2015-03-31 15:33:57 -0700
committerAnsis Brammanis <brammanis@gmail.com>2015-03-31 15:33:57 -0700
commit9309f59de3e156432087b55f0f7e3ebc026b78e8 (patch)
treedf786aef3dd6a787d572b04b2f30ba607f364526 /src/mbgl/text/placement.hpp
parent7b29c5b2576d687fb8491291f1f28b09020100de (diff)
downloadqtlocation-mapboxgl-9309f59de3e156432087b55f0f7e3ebc026b78e8.tar.gz
split generating symbol quads from collision code
Collision prevention is temporarily disabled.
Diffstat (limited to 'src/mbgl/text/placement.hpp')
-rw-r--r--src/mbgl/text/placement.hpp31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/mbgl/text/placement.hpp b/src/mbgl/text/placement.hpp
deleted file mode 100644
index 40762b8d70..0000000000
--- a/src/mbgl/text/placement.hpp
+++ /dev/null
@@ -1,31 +0,0 @@
-#ifndef MBGL_TEXT_PLACEMENT
-#define MBGL_TEXT_PLACEMENT
-
-#include <mbgl/text/types.hpp>
-#include <mbgl/text/glyph.hpp>
-
-#include <mbgl/util/vec.hpp>
-
-namespace mbgl {
-
-struct Anchor;
-class StyleLayoutSymbol;
-
-class Placement {
-public:
- static Placement getIcon(Anchor &anchor, const Rect<uint16_t> &image, float iconBoxScale,
- const std::vector<Coordinate> &line, const StyleLayoutSymbol &layout);
-
- static Placement getGlyphs(Anchor &anchor, const vec2<float> &origin, const Shaping &shaping,
- const GlyphPositions &face, float boxScale, bool horizontal,
- const std::vector<Coordinate> &line, const StyleLayoutSymbol &layout);
-
- static const float globalMinScale;
-
- GlyphBoxes boxes;
- PlacedGlyphs shapes;
- float minScale;
-};
-}
-
-#endif