11 lines
304 B
C++
11 lines
304 B
C++
#pragma once
|
|
|
|
#include <filesystem>
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
constexpr unsigned kTextTextureWidth = 4096;
|
|
constexpr unsigned kTextTextureHeight = 512;
|
|
|
|
bool RasterizeTextSdf(const std::string& text, const std::filesystem::path& fontPath, std::vector<unsigned char>& sdf, std::string& error);
|