9 #ifndef TurtleBrainsExpress_ShadowedText_hpp
10 #define TurtleBrainsExpress_ShadowedText_hpp
12 #include <turtle_brains/graphics/tb_graphic.hpp>
13 #include <turtle_brains/graphics/tb_text.hpp>
15 namespace TurtleBrains::Express::Graphics
45 #if defined(TURTLEBRAINS_SDF_FONTS)
48 void SetShadowOffset(
const float offsetX,
const float offsetY);
62 #if defined(TURTLEBRAINS_SDF_FONTS)
75 namespace tbxGraphics = TurtleBrains::Express::Graphics;
Definition: tbx_shadowed_text.hpp:27
virtual void SetColor(const tbGraphics::Color &newColor) override
virtual tbGraphics::PixelSpace GetPixelWidth(void) const override
Definition: tbx_shadowed_text.hpp:55
virtual void OnRender(void) const override
virtual tbGraphics::PixelSpace GetPixelHeight(void) const override
Definition: tbx_shadowed_text.hpp:56
Definition: tb_color.hpp:24
Definition: tb_graphic.hpp:50
Definition: tb_text.hpp:57
static const String & DefaultFontFile(void)
virtual PixelSpace GetPixelHeight(void) const override
static FontSize DefaultFontSize(void)
virtual PixelSpace GetPixelWidth(void) const override
Definition: tb_vector.hpp:99
#define tb_string(object)
Definition: tb_string.hpp:30
std::string String
Definition: tb_string.hpp:302
tbCore::uint16 PixelSpace
Definition: tb_texture_manager.hpp:34