void SetExtraBorder(float size)
static bool AssertSdfFont(std::string_view font_name, std::string_view ttf_font)
Check if font exists, otherwise try to create it.
static std::string sSdfFontDir
void SetFontHinting(Float_t fontHinting)
Float_t GetFontHinting() const
Color_t GetTextColor() const
void SetPosition(const REveVector &position)
REveText(const REveText &)=delete
Int_t WriteCoreJson(nlohmann::json &j, Int_t rnr_offset) override
Fill core part of JSON representation.
const REveVector & RefPosition() const
Float_t GetFontSize() const
void ComputeBBox() override
Compute bounding-box of the data.
void SetTextColor(Color_t color)
std::string GetFont() const
static bool SetDefaultSdfFontDir()
Set default SDF font directory based on write permissions in $ROOTSYS and in the current working dire...
REveText & operator=(const REveText &)=delete
void SetFont(std::string_view font)
REveVector GetPosition() const
std::string GetText() const
void SetFontSize(float size)
static bool SetSdfFontDir(std::string_view dir, bool require_write_access=true)
Set location where SDF fonts and their metrics data are stored or are to be created via the AssertSdf...
Float_t GetExtraBorder() const
void SetText(std::string_view text)
void BuildRenderData() override
Crates 3D point array for rendering.