blob: c57ee774b06dff07d740355c16d01b05337361e5 [file] [log] [blame]
#ifdef WITH_RIVE_TEXT
#include "rive/text_engine.hpp"
using namespace rive;
std::vector<Font::Axis> Font::getAxes() const
{
std::vector<Font::Axis> axes;
const uint16_t count = getAxisCount();
if (count > 0)
{
axes.resize(count);
for (uint16_t i = 0; i < count; ++i)
{
axes.push_back(getAxis(i));
}
}
return axes;
}
#endif