TextDropShadow
Generated from engine/render/text_drop_shadow.h at 862e08b. The text under each declaration is the header's own comment, word for word. About the reference says how these pages are made.
#include "engine/render/text_drop_shadow.h" · namespace labrador
class TextDropShadow
Section titled “class TextDropShadow”TextDropShadow
Section titled “TextDropShadow”TextDropShadow(const std::wstring& text, const std::string& font_name, const Colour& shadow_color = Colour::black, const mattmath::Vector2F& shadow_offset = { 2.0f, 2.0f }, float scale = 1.0f, float shadow_scale = 1.0f, float rotation = 0.0f, float layer_depth = 0.0f);const, like every draw below it - and here const also buys correctness rather than only safety. A non-const draw would not override TextObject::draw(...) const at all, it would *hide* it, so a TextDropShadow reached through a Text& would draw its text with no shadow.
shadow_offset · shadow_color · shadow_scale
Section titled “shadow_offset · shadow_color · shadow_scale”float shadow_scale() const;set_shadow_offset · set_shadow_color · set_shadow_scale
Section titled “set_shadow_offset · set_shadow_color · set_shadow_scale”void set_shadow_scale(float scale);Related types
Section titled “Related types”Named in the public declarations above: Colour, DrawList, RenderResources, Text, Vector2F.
In the samples and tests
Section titled “In the samples and tests”The files that include this header directly. A file can also reach it through another header.
tests/render/text_drop_shadow_tests.cpp
Development documentation (unreleased). Built from Labrador 862e08b of 2026-10-08.