18 namespace experimental {
21 Style::Style() : TNamed(), TAttLine(), TAttFill(), TAttMarker(), TAttText() {
42 Style::operator TStyle*()
const {
return GetTStyle(); }
47 auto set_axis = [
this](
const TAttAxis& axis, Option_t* o) {
48 this->
tstyle_->SetNdivisions(axis.GetNdivisions(), o);
49 this->
tstyle_->SetAxisColor(axis.GetAxisColor(), o);
50 this->
tstyle_->SetLabelColor(axis.GetLabelColor(), o);
51 this->
tstyle_->SetLabelFont(axis.GetLabelFont(), o);
52 this->
tstyle_->SetLabelOffset(axis.GetLabelOffset(), o);
53 this->
tstyle_->SetLabelSize(axis.GetLabelSize(), o);
54 this->
tstyle_->SetTickLength(axis.GetTickLength(), o);
55 this->
tstyle_->SetTitleOffset(axis.GetTitleOffset(), o);
56 this->
tstyle_->SetTitleSize(axis.GetTitleSize(), o);
57 this->
tstyle_->SetTitleColor(axis.GetTitleColor(), o);
58 this->
tstyle_->SetTitleFont(axis.GetTitleFont(), o);
178 tstyle_->SetLineColor(fLineColor);
179 tstyle_->SetLineStyle(fLineStyle);
180 tstyle_->SetLineWidth(GetLineWidth());
181 tstyle_->SetFillColor(GetFillColor());
182 tstyle_->SetFillStyle(GetFillStyle());
183 tstyle_->SetMarkerColor(GetMarkerColor());
184 tstyle_->SetMarkerSize(GetMarkerSize());
185 tstyle_->SetMarkerStyle(GetMarkerStyle());
186 tstyle_->SetTextAlign(GetTextAlign());
187 tstyle_->SetTextAngle(GetTextAngle());
188 tstyle_->SetTextColor(GetTextColor());
189 tstyle_->SetTextFont(GetTextFont());
190 tstyle_->SetTextSize(GetTextSize());
195 auto set_axis = [style](TAttAxis& axis, Option_t* o) {
196 axis.SetNdivisions(style->GetNdivisions(o));
197 axis.SetAxisColor(style->GetAxisColor(o));
198 axis.SetLabelColor(style->GetLabelColor(o));
199 axis.SetLabelFont(style->GetLabelFont(o));
200 axis.SetLabelOffset(style->GetLabelOffset(o));
201 axis.SetTickLength(style->GetTickLength(o));
202 axis.SetTitleOffset(style->GetTitleOffset(o));
203 axis.SetTitleSize(style->GetTitleSize(o));
204 axis.SetTitleColor(style->GetTitleColor(o));
205 axis.SetTitleFont(style->GetTitleFont(o));
227 fAttDate.SetTextFont(style->GetAttDate()->GetTextFont());
228 fAttDate.SetTextSize(style->GetAttDate()->GetTextSize());
229 fAttDate.SetTextAngle(style->GetAttDate()->GetTextAngle());
230 fAttDate.SetTextAlign(style->GetAttDate()->GetTextAlign());
231 fAttDate.SetTextColor(style->GetAttDate()->GetTextColor());
232 fDateX = style->GetDateX();
233 fDateY = style->GetDateY();
290 fStatX = style->GetStatX();
291 fStatY = style->GetStatY();
292 fStatW = style->GetStatW();
293 fStatH = style->GetStatH();
319 fLineColor = style->GetLineColor();
320 fLineStyle = style->GetLineStyle();
321 SetLineWidth(style->GetLineWidth());
322 SetFillColor(style->GetFillColor());
323 SetFillStyle(style->GetFillStyle());
324 SetMarkerColor(style->GetMarkerColor());
325 SetMarkerSize(style->GetMarkerSize());
326 SetMarkerStyle(style->GetMarkerStyle());
327 SetTextAlign(style->GetTextAlign());
328 SetTextAngle(style->GetTextAngle());
329 SetTextColor(style->GetTextColor());
330 SetTextFont(style->GetTextFont());
331 SetTextSize(style->GetTextSize());