216 else {xl =
x2; xt =
x1;}
217 if (y1 < y2) {yl = y1; yt = y2;}
218 else {yl = y2; yt = y1;}
219 if (x < xl-2 || x> xt+2)
return 9999;
220 if (y < yl-2 || y> yt+2)
return 9999;
230 if (
c <= 0)
return 9999;
234 if (
d < 0)
return 9999;
246 if (!
gPad->IsBatch()) {
275 out<<
" "<<
name<<
"->SetLineColor(ci);" << std::endl;
static const double x2[5]
static const double x1[5]
include TDocParser_001 C image html pict1_TDocParser_001 png width
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 void 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.