Newer
Older
Import / research / ui / TweakableProperties / toolkit / include / GL / Font.h
@John John on 29 Dec 2020 383 bytes bulk import from macbookpro checkouts
#ifndef FONT_H
#define FONT_H


#include <cstdint>


#include "Namespace.h"
BEGIN_NAMESPACE


float textWidth(const char* text);
float charWidth(char ch);
void glDrawText(int x, int y, const char* text, uint32_t a_color, uint32_t a_dropColor, int32_t a_fontSize, bool a_invertColors);
void glInitFont();
void glCleanupFont();


END_NAMESPACE


#endif // FONT_H