synfig-studio  1.0.3
Classes | Public Types | Public Member Functions | Public Attributes | Friends | List of all members
studio::WorkArea Class Reference

#include <workarea.h>

Inheritance diagram for studio::WorkArea:
studio::Duckmatic

Classes

class  PushState
class  SurfaceElement

Public Types

enum  DragMode {
  DRAG_NONE = 0, DRAG_WINDOW, DRAG_DUCK, DRAG_GUIDE,
  DRAG_BOX, DRAG_BEZIER
}
typedef std::vector
< SurfaceElement
SurfaceBook
- Public Types inherited from studio::Duckmatic
typedef std::map< synfig::GUID,
etl::smart_ptr< synfig::Point > > 
DuckDataMap
typedef studio::DuckMap DuckMap
typedef studio::Duck Duck
typedef Duck::Type Type
typedef std::list< float > GuideList

Public Member Functions

void insert_renderer (const etl::handle< WorkAreaRenderer > &x)
void insert_renderer (const etl::handle< WorkAreaRenderer > &x, int priority)
void erase_renderer (const etl::handle< WorkAreaRenderer > &x)
void resort_render_set ()
const etl::loose_handle
< synfig::ValueNode > & 
get_selected_value_node ()
const synfig::Point & get_drag_point () const
std::vector< std::pair
< Glib::RefPtr< Gdk::Pixbuf >
, int > > & 
get_tile_book ()
SurfaceBookget_cairo_book ()
int get_refreshes () const
bool get_canceled () const
bool get_queued () const
bool get_rendering () const
bool get_full_frame () const
int get_tile_w () const
int get_tile_h () const
bool get_allow_layer_clicks ()
void set_allow_layer_clicks (bool value)
bool get_allow_duck_clicks ()
void set_allow_duck_clicks (bool value)
bool get_allow_bezier_clicks ()
void set_allow_bezier_clicks (bool value)
sigc::signal< void > & signal_rendering ()
sigc::signal< void > & signal_cursor_moved ()
sigc::signal< void > & signal_view_window_changed ()
sigc::signal< void > & signal_meta_data_changed ()
void view_window_changed ()
sigc::signal< void, GdkDevice * > & signal_input_device_changed ()
sigc::signal< void > & signal_popup_menu ()
sigc::signal< void,
synfig::Point > & 
signal_user_click (int button=0)
 One signal per button (5 buttons)
sigc::signal< void,
etl::handle< synfig::Layer > > & 
signal_layer_selected ()
void set_onion_skin (bool x)
bool get_onion_skin () const
void toggle_onion_skin ()
void set_onion_skins (int *onions)
int const * get_onion_skins () const
void set_selected_value_node (etl::loose_handle< synfig::ValueNode > x)
bool is_dragging ()
DragMode get_dragging_mode ()
 WorkArea (etl::loose_handle< synfigapp::CanvasInterface > canvas_interface)
virtual ~WorkArea ()
void set_cursor (const Glib::RefPtr< Gdk::Cursor > &x)
void set_cursor (Gdk::CursorType x)
const synfig::Point & get_cursor_pos () const
Glib::RefPtr< Gtk::Adjustment > get_scrollx_adjustment ()
Glib::RefPtr< Gtk::Adjustment > get_scrolly_adjustment ()
Glib::RefPtr< const
Gtk::Adjustment > 
get_scrollx_adjustment () const
Glib::RefPtr< const
Gtk::Adjustment > 
get_scrolly_adjustment () const
void set_instance (etl::loose_handle< studio::Instance > x)
void set_canvas (etl::handle< synfig::Canvas > x)
void set_canvas_view (etl::loose_handle< studio::CanvasView > x)
etl::handle< synfig::Canvas > get_canvas () const
etl::handle< studio::Instanceget_instance () const
etl::loose_handle
< studio::CanvasView
get_canvas_view () const
void refresh_dimension_info ()
void enable_grid ()
 Enables showing of the grid.
void disable_grid ()
 Disables showing of the grid.
void toggle_grid ()
 Toggles the showing of the grid.
bool grid_status () const
 Returns the state of the show_grid flag.
void toggle_grid_snap ()
 Toggles the snap of the grid.
void set_grid_size (const synfig::Vector &s)
 Sets the size of the grid.
void set_grid_color (const synfig::Color &c)
 Sets the color of the grid.
const synfig::Color & get_grid_color () const
 Returns the color of the grid.
bool get_show_guides () const
 Returns the state of the show_guides flag.
void set_show_guides (bool x)
 Sets the showing of the grid.
void toggle_show_guides ()
 Toggles the showing of the guides.
void toggle_guide_snap ()
 Toggles the snap of the guides.
void set_guides_color (const synfig::Color &c)
 Sets the color of the guides.
const synfig::Color & get_guides_color () const
 Returns the color of the guides.
synfig::Time get_jack_offset () const
void set_jack_offset (const synfig::Time &x)
void set_background_size (const synfig::Vector &s)
 Sets the size of the checker background.
void set_background_first_color (const synfig::Color &c)
 Sets the first color of the checker background.
void set_background_second_color (const synfig::Color &c)
 Sets the second color of the checker background.
const synfig::Vector & get_background_size () const
 Sets the size of the checker background.
const synfig::Color & get_background_first_color () const
 Returns the first color of the checker background.
const synfig::Color & get_background_second_color () const
 Returns the second color of the checker background.
bool get_low_resolution_flag () const
void set_low_resolution_flag (bool x)
void toggle_low_resolution_flag ()
void queue_scroll ()
 ???
void popup_menu ()
 ??
int get_quality () const
int get_low_res_pixel_size () const
void set_quality (int x)
void set_low_res_pixel_size (int x)
int get_w () const
int get_h () const
int get_bpp () const
const synfig::RendDesc & get_rend_desc () const
 ??
void set_rend_desc (const synfig::RendDesc &x)
 ??
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)
float get_pw () const
float get_ph () const
const synfig::Point & get_window_tl () const
const synfig::Point & get_window_br () const
bool async_update_preview ()
void async_update_finished ()
void async_render_preview (synfig::Time time)
void async_render_preview ()
bool sync_update_preview ()
bool sync_render_preview (synfig::Time time)
bool sync_render_preview ()
void sync_render_preview_hook ()
void queue_render_preview ()
void queue_draw_preview ()
void zoom_in ()
void zoom_out ()
void zoom_fit ()
void zoom_norm ()
float get_zoom () const
void set_zoom (float z)
void set_progress_callback (synfig::ProgressCallback *x)
synfig::ProgressCallback * get_progress_callback ()
void set_focus_point (const synfig::Point &x)
synfig::Point get_focus_point () const
void done_rendering ()
bool refresh (const Cairo::RefPtr< Cairo::Context > &cr)
void reset_cursor ()
void refresh_cursor ()
void save_meta_data ()
void load_meta_data ()
bool have_meta_data ()
 Test initial meta data values.
- Public Member Functions inherited from studio::Duckmatic
 Duckmatic (etl::loose_handle< synfigapp::CanvasInterface > canvas_interface)
virtual ~Duckmatic ()
void set_alternative_mode (bool x)
bool get_alternative_mode () const
void set_lock_animation_mode (bool x)
bool get_lock_animation_mode () const
sigc::signal< void > & signal_duck_selection_changed ()
sigc::signal< void > & signal_strokes_changed ()
sigc::signal< void > & signal_grid_changed ()
sigc::signal< void > & signal_sketch_saved ()
GuideListget_guide_list_x ()
GuideListget_guide_list_y ()
const GuideListget_guide_list_x () const
const GuideListget_guide_list_y () const
void set_guide_snap (bool x=true)
bool get_guide_snap () const
void set_grid_snap (bool x=true)
 Sets the state of the grid snap flag.
bool get_grid_snap () const
 Gets the state of the grid snap flag.
void enable_grid_snap ()
void disable_grid_snap ()
synfig::Point snap_point_to_grid (const synfig::Point &x) const
bool get_show_persistent_strokes () const
void set_show_persistent_strokes (bool x)
const synfig::Vector & get_grid_size () const
 Returns the size of the grid.
const synfig::Time & get_time () const
bool get_axis_lock () const
void set_axis_lock (bool x)
void set_time (synfig::Time x)
bool is_duck_group_selectable (const etl::handle< Duck > &x) const
DuckList get_duck_list () const
const std::list< etl::handle
< Bezier > > & 
bezier_list () const
const std::list< etl::handle
< Stroke > > & 
stroke_list () const
const std::list< etl::handle
< Stroke > > & 
persistent_stroke_list () const
std::list< etl::handle< Stroke > > & persistent_stroke_list ()
etl::handle< Duckget_selected_duck () const
 Return first selected duck (handle) has const Duck etl::handle.
DuckList get_selected_ducks () const
 Return list of selected ducks (handles)
DuckList get_ducks_in_box (const synfig::Vector &tl, const synfig::Vector &br) const
 Return list of box contained ducks (handles). The box is defined by a vector's pair.
void refresh_selected_ducks ()
void clear_selected_ducks ()
 Clear all selected ducks.
int count_selected_ducks () const
 Return the number of selected ducks.
bool duck_is_selected (const etl::handle< Duck > &duck) const
 Give the selection status of a duck.
void toggle_select_duck (const etl::handle< Duck > &duck)
 Toggle the duck (handle)
void select_duck (const etl::handle< Duck > &duck)
 Select the duck (handle)
void unselect_duck (const etl::handle< Duck > &duck)
 Unselect the duck (handle)
void toggle_select_ducks_in_box (const synfig::Vector &tl, const synfig::Vector &br)
 Toggle the ducks (handles) contained in the box defined by a pair of vectors.
void select_ducks_in_box (const synfig::Vector &tl, const synfig::Vector &br)
 Select the ducks (handles) contained in the box defined by a pair of vectors.
const synfig::TransformStack & get_curr_transform_stack () const
void clear_curr_transform_stack ()
etl::handle< Bezierget_selected_bezier () const
void start_duck_drag (const synfig::Vector &offset)
 Begin dragging ducks.
void translate_selected_ducks (const synfig::Vector &vector)
 Continue dragging the selected ducks.
void update_ducks ()
 Update the coordinates of tangents and linked-to-bline ducks.
bool end_duck_drag ()
 Ends the duck drag.
void start_bezier_drag (const synfig::Vector &offset, float bezier_click_pos)
void translate_selected_bezier (const synfig::Vector &vector)
bool end_bezier_drag ()
void signal_user_click_selected_ducks (int button)
 Signals to each selected duck that it has been clicked.
void signal_edited_duck (const etl::handle< Duck > &duck, bool moving=false)
 Calls a single duck's edited signal.
void signal_edited_selected_ducks (bool moving=false)
 Calls all of the ducks' edited signals.
bool on_duck_changed (const studio::Duck &duck, const synfigapp::ValueDesc &value_desc)
etl::handle< Duckfind_similar_duck (etl::handle< Duck > duck)
etl::handle< Duckadd_similar_duck (etl::handle< Duck > duck)
void add_stroke (etl::smart_ptr< std::list< synfig::Point > > stroke_point_list, const synfig::Color &color=synfig::Color(0, 0, 0))
void add_persistent_stroke (etl::smart_ptr< std::list< synfig::Point > > stroke_point_list, const synfig::Color &color=synfig::Color(0, 0, 0))
void clear_persistent_strokes ()
void add_duck (const etl::handle< Duck > &duck)
void add_bezier (const etl::handle< Bezier > &bezier)
void erase_duck (const etl::handle< Duck > &duck)
void erase_bezier (const etl::handle< Bezier > &bezier)
etl::handle< Ducklast_duck () const
 Returns the last duck added.
etl::handle< Bezierlast_bezier () const
etl::handle< Duckfind_duck (synfig::Point pos, synfig::Real radius=0, Duck::Type type=Duck::TYPE_DEFAULT)
GuideList::iterator find_guide_x (synfig::Point pos, float radius=0.1)
GuideList::iterator find_guide_y (synfig::Point pos, float radius=0.1)
GuideList::const_iterator find_guide_x (synfig::Point pos, float radius=0.1) const
GuideList::const_iterator find_guide_y (synfig::Point pos, float radius=0.1) const
etl::handle< Bezierfind_bezier (synfig::Point pos, synfig::Real radius=0, float *location=0)
etl::handle< Bezierfind_bezier (synfig::Point pos, synfig::Real scale, synfig::Real radius, float *location=0)
void add_ducks_layers (synfig::Canvas::Handle canvas, std::set< synfig::Layer::Handle > &selected_layer_set, etl::handle< CanvasView > canvas_view, synfig::TransformStack &transform_stack)
bool add_to_ducks (const synfigapp::ValueDesc &value_desc, etl::handle< CanvasView > canvas_view, const synfig::TransformStack &transform_stack_, synfig::ParamDesc *param_desc=0)
void set_type_mask (Type x)
 Set the type mask, which determines what types of ducks are shown.
Type get_type_mask () const
 Get the type mask, which determines what types of ducks are shown.
void select_all_ducks ()
void unselect_all_ducks ()
void clear_ducks ()
bool save_sketch (const synfig::String &filename) const
bool load_sketch (const synfig::String &filename)
const synfig::String & get_sketch_filename () const
void set_duck_dragger (etl::handle< DuckDrag_Base > x)
etl::handle< DuckDrag_Baseget_duck_dragger () const
void clear_duck_dragger ()
void set_bezier_dragger (etl::handle< BezierDrag_Base > x)
etl::handle< BezierDrag_Baseget_bezier_dragger () const
void clear_bezier_dragger ()

Public Attributes

bool solid_lines
GuideList::iterator curr_guide
int timecode_width
int timecode_height
int bonesetup_width
int bonesetup_height

Friends

class WorkAreaTarget
class WorkAreaTarget_Full
class WorkAreaTarget_Cairo
class WorkAreaTarget_Cairo_Tile
class DirtyTrap
class WorkAreaRenderer
class WorkAreaProgress
class PushState

Additional Inherited Members

- Protected Attributes inherited from studio::Duckmatic
etl::handle< Bezierselected_bezier
synfig::Time cur_time
bool grid_snap
 This flag is set if operations should snap to the grid.
bool guide_snap
synfig::Vector grid_size
 This vector describes the grid size.
synfig::Color grid_color
 Hold the grid color.
synfig::Color guides_color
 Hold the guides color.
float zoom
 Zoom factor.
float prev_zoom
 Previous Zoom factor.
bool show_persistent_strokes
bool axis_lock

Member Typedef Documentation

Member Enumeration Documentation

Enumerator:
DRAG_NONE 
DRAG_WINDOW 
DRAG_DUCK 
DRAG_GUIDE 
DRAG_BOX 
DRAG_BEZIER 

Constructor & Destructor Documentation

WorkArea::WorkArea ( etl::loose_handle< synfigapp::CanvasInterface canvas_interface)
WorkArea::~WorkArea ( )
virtual

Member Function Documentation

void WorkArea::insert_renderer ( const etl::handle< WorkAreaRenderer > &  x)

Referenced by insert_renderer(), and WorkArea().

void WorkArea::insert_renderer ( const etl::handle< WorkAreaRenderer > &  x,
int  priority 
)

References insert_renderer().

void WorkArea::erase_renderer ( const etl::handle< WorkAreaRenderer > &  x)
void WorkArea::resort_render_set ( )
const etl::loose_handle<synfig::ValueNode>& studio::WorkArea::get_selected_value_node ( )
inline
const synfig::Point& studio::WorkArea::get_drag_point ( ) const
inline
std::vector< std::pair<Glib::RefPtr<Gdk::Pixbuf>,int> >& studio::WorkArea::get_tile_book ( )
inline
SurfaceBook& studio::WorkArea::get_cairo_book ( )
inline
int studio::WorkArea::get_refreshes ( ) const
inline
bool studio::WorkArea::get_canceled ( ) const
inline
bool studio::WorkArea::get_queued ( ) const
inline
bool studio::WorkArea::get_rendering ( ) const
inline
bool studio::WorkArea::get_full_frame ( ) const
inline
int studio::WorkArea::get_tile_w ( ) const
inline
int studio::WorkArea::get_tile_h ( ) const
inline
bool studio::WorkArea::get_allow_layer_clicks ( )
inline
void studio::WorkArea::set_allow_layer_clicks ( bool  value)
inline
bool studio::WorkArea::get_allow_duck_clicks ( )
inline
void studio::WorkArea::set_allow_duck_clicks ( bool  value)
inline
bool studio::WorkArea::get_allow_bezier_clicks ( )
inline
void studio::WorkArea::set_allow_bezier_clicks ( bool  value)
inline
sigc::signal<void>& studio::WorkArea::signal_rendering ( )
inline
sigc::signal<void>& studio::WorkArea::signal_cursor_moved ( )
inline
sigc::signal<void>& studio::WorkArea::signal_view_window_changed ( )
inline

Referenced by view_window_changed().

sigc::signal<void>& studio::WorkArea::signal_meta_data_changed ( )
inline

Referenced by load_meta_data().

void studio::WorkArea::view_window_changed ( )
inline
sigc::signal<void,GdkDevice* >& studio::WorkArea::signal_input_device_changed ( )
inline
sigc::signal<void>& studio::WorkArea::signal_popup_menu ( )
inline

Referenced by popup_menu().

sigc::signal<void,synfig::Point>& studio::WorkArea::signal_user_click ( int  button = 0)
inline

One signal per button (5 buttons)

sigc::signal<void, etl::handle<synfig::Layer> >& studio::WorkArea::signal_layer_selected ( )
inline
void WorkArea::set_onion_skin ( bool  x)
bool WorkArea::get_onion_skin ( ) const

Referenced by toggle_onion_skin().

void studio::WorkArea::toggle_onion_skin ( )
inline
void WorkArea::set_onion_skins ( int *  onions)
int const * WorkArea::get_onion_skins ( ) const
void WorkArea::set_selected_value_node ( etl::loose_handle< synfig::ValueNode >  x)
bool studio::WorkArea::is_dragging ( )
inline

References DRAG_NONE.

DragMode studio::WorkArea::get_dragging_mode ( )
inline
void studio::WorkArea::set_cursor ( const Glib::RefPtr< Gdk::Cursor > &  x)

Check if the window we want draw is ready

void studio::WorkArea::set_cursor ( Gdk::CursorType  x)

Check if the window we want draw is ready

References synfigapp::Action::create().

const synfig::Point& studio::WorkArea::get_cursor_pos ( ) const
inline
Glib::RefPtr<Gtk::Adjustment> studio::WorkArea::get_scrollx_adjustment ( )
inline
Glib::RefPtr<Gtk::Adjustment> studio::WorkArea::get_scrolly_adjustment ( )
inline
Glib::RefPtr<const Gtk::Adjustment> studio::WorkArea::get_scrollx_adjustment ( ) const
inline
Glib::RefPtr<const Gtk::Adjustment> studio::WorkArea::get_scrolly_adjustment ( ) const
inline
void studio::WorkArea::set_instance ( etl::loose_handle< studio::Instance x)
inline
void studio::WorkArea::set_canvas ( etl::handle< synfig::Canvas >  x)
inline
void studio::WorkArea::set_canvas_view ( etl::loose_handle< studio::CanvasView x)
inline
etl::handle<synfig::Canvas> studio::WorkArea::get_canvas ( ) const
inline
etl::handle<studio::Instance> studio::WorkArea::get_instance ( ) const
inline
etl::loose_handle<studio::CanvasView> studio::WorkArea::get_canvas_view ( ) const
inline
void WorkArea::refresh_dimension_info ( )
void WorkArea::enable_grid ( )

Enables showing of the grid.

References save_meta_data().

void WorkArea::disable_grid ( )

Disables showing of the grid.

References save_meta_data().

void WorkArea::toggle_grid ( )

Toggles the showing of the grid.

References save_meta_data().

bool studio::WorkArea::grid_status ( ) const
inline

Returns the state of the show_grid flag.

void WorkArea::toggle_grid_snap ( )

Toggles the snap of the grid.

Reimplemented from studio::Duckmatic.

References save_meta_data().

void WorkArea::set_grid_size ( const synfig::Vector &  s)

Sets the size of the grid.

Reimplemented from studio::Duckmatic.

References save_meta_data().

Referenced by load_meta_data().

void WorkArea::set_grid_color ( const synfig::Color &  c)

Sets the color of the grid.

Reimplemented from studio::Duckmatic.

References save_meta_data().

Referenced by load_meta_data().

const synfig::Color& studio::WorkArea::get_grid_color ( ) const
inline

Returns the color of the grid.

Reimplemented from studio::Duckmatic.

Referenced by load_meta_data(), and save_meta_data().

bool studio::WorkArea::get_show_guides ( ) const
inline

Returns the state of the show_guides flag.

Referenced by save_meta_data(), and toggle_show_guides().

void WorkArea::set_show_guides ( bool  x)

Sets the showing of the grid.

References save_meta_data().

Referenced by toggle_show_guides().

void studio::WorkArea::toggle_show_guides ( )
inline

Toggles the showing of the guides.

References get_show_guides(), and set_show_guides().

void WorkArea::toggle_guide_snap ( )

Toggles the snap of the guides.

Reimplemented from studio::Duckmatic.

References save_meta_data().

void WorkArea::set_guides_color ( const synfig::Color &  c)

Sets the color of the guides.

Reimplemented from studio::Duckmatic.

References save_meta_data().

Referenced by load_meta_data().

const synfig::Color& studio::WorkArea::get_guides_color ( ) const
inline

Returns the color of the guides.

Reimplemented from studio::Duckmatic.

Referenced by load_meta_data(), and save_meta_data().

synfig::Time studio::WorkArea::get_jack_offset ( ) const
inline
void WorkArea::set_jack_offset ( const synfig::Time &  x)

References save_meta_data().

void WorkArea::set_background_size ( const synfig::Vector &  s)

Sets the size of the checker background.

References save_meta_data().

Referenced by load_meta_data().

void WorkArea::set_background_first_color ( const synfig::Color &  c)

Sets the first color of the checker background.

References save_meta_data().

Referenced by load_meta_data().

void WorkArea::set_background_second_color ( const synfig::Color &  c)

Sets the second color of the checker background.

References save_meta_data().

Referenced by load_meta_data().

const synfig::Vector& studio::WorkArea::get_background_size ( ) const
inline

Sets the size of the checker background.

Referenced by load_meta_data(), and save_meta_data().

const synfig::Color& studio::WorkArea::get_background_first_color ( ) const
inline

Returns the first color of the checker background.

Referenced by load_meta_data(), and save_meta_data().

const synfig::Color& studio::WorkArea::get_background_second_color ( ) const
inline

Returns the second color of the checker background.

Referenced by load_meta_data(), and save_meta_data().

bool studio::WorkArea::get_low_resolution_flag ( ) const
inline
void WorkArea::set_low_resolution_flag ( bool  x)
void WorkArea::toggle_low_resolution_flag ( )
void WorkArea::queue_scroll ( )
void WorkArea::popup_menu ( )

??

References signal_popup_menu().

Referenced by WorkArea().

int studio::WorkArea::get_quality ( ) const
inline
int studio::WorkArea::get_low_res_pixel_size ( ) const
inline
void WorkArea::set_quality ( int  x)
void WorkArea::set_low_res_pixel_size ( int  x)
int studio::WorkArea::get_w ( ) const
inline
int studio::WorkArea::get_h ( ) const
inline
int studio::WorkArea::get_bpp ( ) const
inline
const synfig::RendDesc& studio::WorkArea::get_rend_desc ( ) const
inline

??

void studio::WorkArea::set_rend_desc ( const synfig::RendDesc &  x)
inline

??

synfig::Point WorkArea::screen_to_comp_coords ( synfig::Point  pos) const

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

References get_canvas(), and get_focus_point().

Referenced by studio::WorkAreaRenderer::screen_to_comp_coords().

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

Converts composition coordinates to screen coords (ie: pixels)

Referenced by studio::WorkAreaRenderer::comp_to_screen_coords().

float studio::WorkArea::get_pw ( ) const
inline
float studio::WorkArea::get_ph ( ) const
inline
const synfig::Point& studio::WorkArea::get_window_tl ( ) const
inline
const synfig::Point& studio::WorkArea::get_window_br ( ) const
inline
bool studio::WorkArea::async_update_preview ( )
void studio::WorkArea::async_update_finished ( )

References _.

Referenced by async_update_preview().

void studio::WorkArea::async_render_preview ( synfig::Time  time)
void WorkArea::async_render_preview ( )
bool studio::WorkArea::sync_update_preview ( )
bool studio::WorkArea::sync_render_preview ( synfig::Time  time)
bool WorkArea::sync_render_preview ( )
void WorkArea::sync_render_preview_hook ( )
void studio::WorkArea::queue_render_preview ( )
void studio::WorkArea::queue_draw_preview ( )
void studio::WorkArea::zoom_in ( )

Referenced by WorkArea().

void studio::WorkArea::zoom_out ( )

Referenced by WorkArea().

void studio::WorkArea::zoom_fit ( )

Referenced by WorkArea().

void studio::WorkArea::zoom_norm ( )

Referenced by WorkArea().

float studio::WorkArea::get_zoom ( ) const
inline
void studio::WorkArea::set_zoom ( float  z)
void studio::WorkArea::set_progress_callback ( synfig::ProgressCallback *  x)
inline
synfig::ProgressCallback* studio::WorkArea::get_progress_callback ( )
inline
void WorkArea::set_focus_point ( const synfig::Point &  x)
synfig::Point WorkArea::get_focus_point ( ) const
void WorkArea::done_rendering ( )
bool WorkArea::refresh ( const Cairo::RefPtr< Cairo::Context > &  cr)

Check if the window we want draw is ready

References get_canvas(), get_focus_point(), and synfigapp::MODE_ANIMATE.

Referenced by WorkArea().

void studio::WorkArea::reset_cursor ( )

Check if the window we want draw is ready

References synfigapp::Action::create().

void studio::WorkArea::refresh_cursor ( )
void WorkArea::save_meta_data ( )
void WorkArea::load_meta_data ( )
bool WorkArea::have_meta_data ( )

Test initial meta data values.

Referenced by WorkArea().

Friends And Related Function Documentation

friend class WorkAreaTarget
friend
friend class WorkAreaTarget_Full
friend
friend class WorkAreaTarget_Cairo
friend
friend class WorkAreaTarget_Cairo_Tile
friend
friend class DirtyTrap
friend
friend class WorkAreaRenderer
friend
friend class WorkAreaProgress
friend
friend class PushState
friend

Member Data Documentation

bool studio::WorkArea::solid_lines

Referenced by load_meta_data(), and WorkArea().

GuideList::iterator studio::WorkArea::curr_guide
int studio::WorkArea::timecode_width

Referenced by queue_scroll().

int studio::WorkArea::timecode_height

Referenced by queue_scroll().

int studio::WorkArea::bonesetup_width

Referenced by queue_scroll().

int studio::WorkArea::bonesetup_height

Referenced by queue_scroll().


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