30 gPad->Range(0, 0, 1, 1);
42 box->SetLineWidth(std::ceil(borderWidth));
47 const RGBColor &color,
bool alignCenter)
const
52 t->SetTextAlign((alignCenter) ? 22 : 13);
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
const char Option_t
Option string (const char).
std::vector< Node > fNodes
void DrawLegend() const
Logic for drawing the legend of leaf types.
void DrawTreeMap(const Node &elem, Rect rect, int depth) const
Logic for drawing the entirety of the treemap.
void Paint(Option_t *opt) override
This method must be overridden if a class wants to paint itself.
void AddText(const Vec2 &pos, const std::string &content, float size, const RGBColor &color=RGBColor(0, 0, 0), bool alignCenter=false) const final
Logic for drawing a text on TVirtualPad.
void AddBox(const Rect &rect, const RGBColor &color, float borderWidth) const final
Logic for drawing a box on TVirtualPad.
static Int_t GetColor(const char *hexcolor)
void box(Int_t pat, Double_t x1, Double_t y1, Double_t x2, Double_t y2)