81 TArc *newarc =
new TArc(
x1, y1, r1, phimin, phimax);
94 if (
gROOT->ClassSaved(TArc::Class())) {
99 out<<
"arc = new TArc("<<
fX1<<
","<<
fY1<<
","<<
fR1
105 if (
GetNoEdges()) out<<
" arc->SetNoEdges();"<<std::endl;
107 out<<
" arc->Draw();"<<std::endl;
static const double x1[5]
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save primitive as a C++ statement(s) on output stream out.
virtual ~TArc()
Arc default destructor.
TArc()
Arc default constructor.
virtual void DrawArc(Double_t x1, Double_t y1, Double_t radius, Double_t phimin=0, Double_t phimax=360, Option_t *option="")
Draw this arc with new coordinates.
void Copy(TObject &arc) const
Copy this arc to arc.
void Copy(TAttFill &attfill) const
Copy this fill attributes to a new TAttFill.
virtual void SaveFillAttributes(std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1001)
Save fill attributes as C++ statement(s) on output stream out.
void Copy(TAttLine &attline) const
Copy this line attributes to a new TAttLine.
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.
void Copy(TObject &ellipse) const
Copy this ellipse to ellipse.
Double_t fPhimax
Maximum angle (degrees)
Double_t fX1
X coordinate of centre.
Bool_t GetNoEdges() const
Return kTRUE if kNoEdges bit is set, kFALSE otherwise.
Double_t fY1
Y coordinate of centre.
Double_t fPhimin
Minimum angle (degrees)
Mother of all ROOT objects.
virtual void AppendPad(Option_t *option="")
Append graphics object to current pad.
void SetBit(UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f.
@ kCanDelete
if object in a list can be deleted