221 else {xl =
x2; xt =
x1;}
223 else {yl =
y2; yt =
y1;}
224 if (x < xl-2 || x> xt+2)
return 9999;
225 if (y < yl-2 || y> yt+2)
return 9999;
235 if (
c <= 0)
return 9999;
239 if (
d < 0)
return 9999;
251 if (!
gPad->IsBatch()) {
279 out<<
" "<<
name<<
"->SetLineColor(ci);" << std::endl;
Option_t Option_t TPoint TPoint const char x2
Option_t Option_t TPoint TPoint const char x1
Option_t Option_t TPoint TPoint const char y2
Option_t Option_t TPoint TPoint const char y1
R__EXTERN TStyle * gStyle
virtual Color_t GetLineColor() const
Return the line color.
virtual Width_t GetLineWidth() const
Return the line width.
virtual void SetLineAttributes()
Invoke the DialogCanvas Line attributes.
virtual void SetLineColorAlpha(Color_t lcolor, Float_t lalpha)
Set a transparent line color.
Width_t fLineWidth
Line width.
virtual void ResetAttLine(Option_t *option="")
Reset this line attributes to default values.
virtual ~TAttLine()
AttLine destructor.
TAttLine()
AttLine default constructor.
virtual Style_t GetLineStyle() const
Return the line style.
virtual void Modify()
Change current line attributes if necessary.
Style_t fLineStyle
Line style.
void Copy(TAttLine &attline) const
Copy this line attributes to a new TAttLine.
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)
Compute distance from point px,py to a line.
virtual void SaveLineAttributes(std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t widdef=1)
Save line attributes as C++ statement(s) on output stream out.
static Bool_t SaveColor(std::ostream &out, Int_t ci)
Save a color with index > 228 as a C++ statement(s) on output stream out.
static Int_t GetColorTransparent(Int_t color, Float_t a)
Static function: Returns the transparent color number corresponding to n.
static void UpdateLineAttributes(Int_t col, Int_t sty, Int_t width)
Update line attributes via the pad editor.
Short_t Abs(Short_t d)
Returns the absolute value of parameter Short_t d.