1 /*! ========================================================================
3 ** Template Header File
4 ** $Id: rotate.h,v 1.2 2005/01/24 05:00:18 darco Exp $
6 ** Copyright (c) 2002 Robert B. Quattlebaum Jr.
8 ** This software and associated documentation
9 ** are CONFIDENTIAL and PROPRIETARY property of
10 ** the above-mentioned copyright holder.
12 ** You may not copy, print, publish, or in any
13 ** other way distribute this software without
14 ** a prior written agreement with
15 ** the copyright holder.
17 ** === N O T E S ===========================================================
19 ** ========================================================================= */
21 /* === S T A R T =========================================================== */
23 #ifndef __SYNFIG_ROTATE_H
24 #define __SYNFIG_ROTATE_H
26 /* === H E A D E R S ======================================================= */
28 #include <synfig/vector.h>
29 #include <synfig/angle.h>
30 #include <synfig/layer.h>
32 /* === M A C R O S ========================================================= */
34 /* === T Y P E D E F S ===================================================== */
36 /* === C L A S S E S & S T R U C T S ======================================= */
38 using namespace synfig;
43 class Rotate : public Layer
45 SYNFIG_LAYER_MODULE_EXT
46 friend class Rotate_Trans;
57 virtual bool set_param(const synfig::String & param, const synfig::ValueBase &value);
58 virtual ValueBase get_param(const synfig::String & param)const;
59 virtual Color get_color(Context context, const Point &pos)const;
60 virtual bool accelerated_render(Context context,Surface *surface,int quality, const RendDesc &renddesc, ProgressCallback *cb)const;
61 synfig::Layer::Handle hit_check(synfig::Context context, const synfig::Point &point)const;
62 virtual Vocab get_param_vocab()const;
63 virtual Rect get_full_bounding_rect(Context context)const;
65 virtual etl::handle<synfig::Transform> get_transform()const;
68 /* === E N D =============================================================== */