Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008 #ifndef LINEDISPLAYSTYLE_H_
00009 #define LINEDISPLAYSTYLE_H_
00010
00011 #include "DisplayStyle.h"
00012
00013 namespace display
00014 {
00015
00016 class LineDisplayStyle : public DisplayStyle
00017 {
00018 public:
00019 LineDisplayStyle(double red, double green, double blue, double alpha, double thickness);
00020 virtual ~LineDisplayStyle();
00021 void prepare(Cairo::RefPtr<Cairo::Context> cr) const;
00022 void exec(Cairo::RefPtr<Cairo::Context> cr) const;
00023 private:
00024 double red, green, blue, alpha, thickness;
00025 };
00026
00027 }
00028 #endif