Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef __gr_Abi_ColorArea_h__
00021 #define __gr_Abi_ColorArea_h__
00022
00023 #include "mathview_proxy.h"
00024
00025 class GR_Abi_ColorArea : public ColorArea
00026 {
00027 protected:
00028 GR_Abi_ColorArea(const AreaRef& area, const RGBColor& c) : ColorArea(area, c) { }
00029 virtual ~GR_Abi_ColorArea() { }
00030
00031 public:
00032 static SmartPtr<GR_Abi_ColorArea> create(const AreaRef& area, const RGBColor& c)
00033 { return new GR_Abi_ColorArea(area, c); }
00034 virtual AreaRef clone(const AreaRef& area) const { return create(area, getColor()); }
00035
00036 virtual void render(RenderingContext&, const scaled&, const scaled&) const;
00037 };
00038
00039 #endif // __gr_Abi_ColorArea_h__