Files Classes Functions Hierarchy
00001 #ifndef D2PARTITIONDRAW_H 00002 #define D2PARTITIONDRAW_H 00003 00004 template< typename T > 00005 class d2partitiondraw : public gobj 00006 { 00007 T & hd; 00008 public: 00009 00010 d2partitiondraw(T & _hd) 00011 : hd(_hd) {} 00012 00013 template< typename U> 00014 void translate( U const & x) 00015 { hd.translate(x); } 00016 00017 void rotate(double const theta) 00018 { hd.rotate(theta); } 00019 00020 void draw() 00021 { hd.draw(); } 00022 }; 00023 00024 #endif 00025
1.5.8