synfig-studio  1.0.3
Public Types | Public Member Functions | Protected Member Functions | List of all members
studio::WorkAreaRenderer Class Reference

#include <workarearenderer.h>

Inheritance diagram for studio::WorkAreaRenderer:
studio::Renderer_Background studio::Renderer_BBox studio::Renderer_BoneSetup studio::Renderer_Canvas studio::Renderer_Dragbox studio::Renderer_Ducks studio::Renderer_Grid studio::Renderer_Guides studio::Renderer_Timecode

Public Types

typedef etl::handle
< WorkAreaRenderer
Handle
typedef etl::loose_handle
< WorkAreaRenderer
LooseHandle

Public Member Functions

sigc::signal< void > & signal_changed ()
int get_w () const
int get_h () const
float get_pw () const
float get_ph () const
synfig::Point screen_to_comp_coords (synfig::Point pos) const
 Converts screen coords (ie: pixels) to composition coordinates.
synfig::Point comp_to_screen_coords (synfig::Point pos) const
 Converts composition coordinates to screen coords (ie: pixels)
 WorkAreaRenderer ()
virtual ~WorkAreaRenderer ()
bool get_enabled () const
int get_priority () const
WorkAreaget_work_area () const
void set_enabled (bool x)
void set_priority (int x)
void set_work_area (WorkArea *work_area_)
virtual void render_vfunc (const Glib::RefPtr< Gdk::Window > &window, const Gdk::Rectangle &expose_area)
virtual bool event_vfunc (GdkEvent *event)
bool operator< (const WorkAreaRenderer &rhs)

Protected Member Functions

virtual bool get_enabled_vfunc () const

Member Typedef Documentation

Constructor & Destructor Documentation

WorkAreaRenderer::WorkAreaRenderer ( )
WorkAreaRenderer::~WorkAreaRenderer ( )
virtual

Member Function Documentation

sigc::signal<void>& studio::WorkAreaRenderer::signal_changed ( )
inline

Referenced by set_enabled(), and set_priority().

int WorkAreaRenderer::get_w ( ) const
int WorkAreaRenderer::get_h ( ) const
float WorkAreaRenderer::get_pw ( ) const
float WorkAreaRenderer::get_ph ( ) const
synfig::Point WorkAreaRenderer::screen_to_comp_coords ( synfig::Point  pos) const

Converts screen coords (ie: pixels) to composition coordinates.

References get_work_area(), and studio::WorkArea::screen_to_comp_coords().

synfig::Point WorkAreaRenderer::comp_to_screen_coords ( synfig::Point  pos) const

Converts composition coordinates to screen coords (ie: pixels)

References studio::WorkArea::comp_to_screen_coords(), and get_work_area().

bool studio::WorkAreaRenderer::get_enabled ( ) const
inline

References get_enabled_vfunc().

int studio::WorkAreaRenderer::get_priority ( ) const
inline
WorkArea* studio::WorkAreaRenderer::get_work_area ( ) const
inline
void WorkAreaRenderer::set_enabled ( bool  x)

References signal_changed().

void WorkAreaRenderer::set_priority ( int  x)

References signal_changed().

void WorkAreaRenderer::set_work_area ( WorkArea work_area_)
void WorkAreaRenderer::render_vfunc ( const Glib::RefPtr< Gdk::Window > &  window,
const Gdk::Rectangle &  expose_area 
)
virtual
bool WorkAreaRenderer::event_vfunc ( GdkEvent *  event)
virtual
bool WorkAreaRenderer::get_enabled_vfunc ( ) const
protectedvirtual
bool studio::WorkAreaRenderer::operator< ( const WorkAreaRenderer rhs)
inline

The documentation for this class was generated from the following files: