Line | |
---|
1 | #include "MGStarg.h"
|
---|
2 |
|
---|
3 | #include <TCanvas.h>
|
---|
4 |
|
---|
5 | #include <MHexagon.h>
|
---|
6 |
|
---|
7 | ClassImp(MGStarg);
|
---|
8 |
|
---|
9 | void MGStarg::DrawHexagon()
|
---|
10 | {
|
---|
11 | fCanvas->SetEditable(kTRUE);
|
---|
12 | fCanvas->cd();
|
---|
13 |
|
---|
14 | MHexagon hex;
|
---|
15 | hex.SetFillStyle(4000);
|
---|
16 | hex.SetLineColor(17);
|
---|
17 | hex.DrawHexagon(0, 0, 177.5*2);
|
---|
18 |
|
---|
19 | fCanvas->SetEditable(kFALSE);
|
---|
20 | }
|
---|
21 |
|
---|
22 | MGStarg::MGStarg(const TGWindow* p, const UInt_t w)
|
---|
23 | : MGAccuracy(p, w)
|
---|
24 | {
|
---|
25 | SetColorScale(1.5);
|
---|
26 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.