#ifndef LLMR_TEXT_PLACEMENT #define LLMR_TEXT_PLACEMENT #include #include #include #include #include namespace llmr { class TextBucket; class StyleBucketText; class Placement { public: Placement(int8_t zoom); void addFeature(TextBucket &bucket, const std::vector &line, const StyleBucketText &info, const GlyphPositions &face, const Shaping &shaping); private: const int8_t zoom; Collision collision; const float zOffset; const float maxPlacementScale; public: static const int tileExtent; static const int glyphSize; static const float minScale; }; } #endif