25 lines
536 B
C++
25 lines
536 B
C++
#pragma once
|
|
|
|
#include <mbgl/util/immutable.hpp>
|
|
#include <mbgl/style/layer.hpp>
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
#include <set>
|
|
|
|
namespace mbgl {
|
|
|
|
// An array of font names
|
|
using FontStack = std::vector<std::string>;
|
|
|
|
std::string fontStackToString(const FontStack&);
|
|
|
|
struct FontStackHash {
|
|
std::size_t operator()(const FontStack&) const;
|
|
};
|
|
|
|
// Statically evaluate layer properties to determine what font stacks are used.
|
|
std::set<FontStack> fontStacks(const std::vector<Immutable<style::Layer::Impl>>&);
|
|
|
|
} // namespace mbgl
|