summaryrefslogtreecommitdiffstats
path: root/tksao/frame/circle.h
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2017-03-11 21:17:59 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2017-03-11 21:17:59 (GMT)
commiteef1b4e01cc3c5307188e1497e6b095081eef378 (patch)
treeb27c812b352c9024fe4a5b9dbab6f6102a581156 /tksao/frame/circle.h
parentf7a9669c931c4da48dbc39d3f90b17ea2314ab9c (diff)
downloadblt-eef1b4e01cc3c5307188e1497e6b095081eef378.zip
blt-eef1b4e01cc3c5307188e1497e6b095081eef378.tar.gz
blt-eef1b4e01cc3c5307188e1497e6b095081eef378.tar.bz2
add region fill
Diffstat (limited to 'tksao/frame/circle.h')
-rw-r--r--tksao/frame/circle.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/tksao/frame/circle.h b/tksao/frame/circle.h
index a8a3c28..cc58e85 100644
--- a/tksao/frame/circle.h
+++ b/tksao/frame/circle.h
@@ -6,15 +6,19 @@
#define __circle_h__
#include "baseellipse.h"
+#include "basefill.h"
-class Circle : public BaseEllipse {
+class Circle : public BaseEllipse, public BaseFill {
protected:
+ void renderXCircleDraw(Drawable, GC, Vector&, Vector&, int, int);
+ void renderPSCircleDraw(Vector& cc, double l, float a1, float a2);
+
void listNonCel(FitsImage*, ostream&, Coord::CoordSystem);
public:
- Circle(Base* p, const Vector& ctr, double r);
+ Circle(Base* p, const Vector& ctr, double r, int fill);
Circle(Base* p, const Vector& ctr,
- double r,
+ double r, int fill,
const char* clr, int *dsh,
int wth, const char* fnt, const char* txt,
unsigned short prop, const char* cmt,
@@ -34,6 +38,7 @@ public:
void analysisStats(Coord::CoordSystem, Coord::SkyFrame sky);
void list(ostream&, Coord::CoordSystem, Coord::SkyFrame, Coord::SkyFormat, int, int);
+ virtual void listPost(ostream&, int, int);
void listXML(ostream&, Coord::CoordSystem, Coord::SkyFrame, Coord::SkyFormat);
virtual void listCiao(ostream&, Coord::CoordSystem, int);
virtual void listSAOtng(ostream&, Coord::CoordSystem, Coord::SkyFrame, Coord::SkyFormat, int);