summaryrefslogtreecommitdiff
path: root/include/llmr/text/collision.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/llmr/text/collision.hpp')
-rw-r--r--include/llmr/text/collision.hpp32
1 files changed, 0 insertions, 32 deletions
diff --git a/include/llmr/text/collision.hpp b/include/llmr/text/collision.hpp
deleted file mode 100644
index c9dafdd386..0000000000
--- a/include/llmr/text/collision.hpp
+++ /dev/null
@@ -1,32 +0,0 @@
-#ifndef LLMR_TEXT_COLLISION
-#define LLMR_TEXT_COLLISION
-
-#include <llmr/text/types.hpp>
-
-namespace llmr {
-
-class Collision {
-
-public:
- Collision();
- ~Collision();
-
- PlacementProperty place(const GlyphBoxes &boxes,
- const CollisionAnchor &anchor,
- float minPlacementScale, float maxPlacementScale,
- float padding, bool horizontal, bool alwaysVisible);
- float getPlacementScale(const GlyphBoxes &glyphs, float minPlacementScale,
- float maxPlacementScale, float pad);
- PlacementRange getPlacementRange(const GlyphBoxes &glyphs,
- float placementScale, bool horizontal);
- void insert(const GlyphBoxes &glyphs, const CollisionAnchor &anchor,
- float placementScale, const PlacementRange &placementRange,
- bool horizontal, float padding);
-
-private:
- void *cTree;
- void *hTree;
-};
-}
-
-#endif