219 if (x1 < x2) {xl = x1; xt = x2;}
220 else {xl = x2; xt = x1;}
221 if (y1 < y2) {yl = y1; yt = y2;}
222 else {yl = y2; yt = y1;}
234 if (
c <= 0)
return 9999;
238 if (
d < 0)
return 9999;
264 if (normal_style && normal_width)
265 pp->SetAttLine(*
this);
269 att1.SetLineStyle(1);
271 att1.SetLineWidth(std::abs(
fLineWidth % 100));
272 pp->SetAttLine(att1);
292 Bool_t force_saving = (coldef == 1) && (stydef == 1) && (widdef == 1) &&
gStyle &&
293 ((
gStyle->GetLineColor() != 1) || (
gStyle->GetLineWidth() != 1) || (
gStyle->GetLineStyle() != 1));
int Int_t
Signed integer 4 bytes (int).
short Width_t
Line width (short).
bool Bool_t
Boolean (0=false, 1=true) (bool).
double Double_t
Double 8 bytes.
short Color_t
Color number (short).
short Style_t
Style number (short).
float Float_t
Float 4 bytes (float).
const char Option_t
Option string (const char).
virtual void ModifyOn(TVirtualPad &pad)
virtual void SetLineAttributes()
virtual void SaveLineAttributes(std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t widdef=1)
Width_t fLineWidth
Line width.
virtual void SetLineColor(Color_t lcolor)
Set the line color.
Style_t fLineStyle
Line style.
void Copy(TAttLine &attline) const
Color_t fLineColor
Line color.
Int_t DistancetoLine(Int_t px, Int_t py, Double_t xp1, Double_t yp1, Double_t xp2, Double_t yp2)
virtual void SetLineColorAlpha(Color_t lcolor, Float_t lalpha)
virtual void ResetAttLine(Option_t *option="")
static Int_t GetColorTransparent(Int_t color, Float_t a)
static TString SavePrimitiveColor(Int_t ci)
static void UpdateLineAttributes(Int_t col, Int_t sty, Int_t width)
Update line attributes via the pad editor.
TVirtualPad is an abstract base class for the Pad and Canvas classes.
virtual TVirtualPadPainter * GetPainter()=0
VecExpr< UnaryOp< Sqrt< T >, VecExpr< A, T, D >, T >, T, D > sqrt(const VecExpr< A, T, D > &rhs)