/home/martin/workspace/OpenStreetNav/src/displayer/LineDisplayStyle.h
Go to the documentation of this file.
00001 /*
00002  * LineDisplayStyle.h
00003  *
00004  *  Created on: Dec 29, 2011
00005  *      Author: martin
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 } /* namespace display */
00028 #endif /* LINEDISPLAYSTYLE_H_ */
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines