|
synfig-studio
1.0.3
|
#include <workarea.h>
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 () |
| SurfaceBook & | get_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::Instance > | get_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 () |
| GuideList & | get_guide_list_x () |
| GuideList & | get_guide_list_y () |
| const GuideList & | get_guide_list_x () const |
| const GuideList & | get_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< Duck > | get_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< Bezier > | get_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< Duck > | find_similar_duck (etl::handle< Duck > duck) |
| etl::handle< Duck > | add_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< Duck > | last_duck () const |
| Returns the last duck added. | |
| etl::handle< Bezier > | last_bezier () const |
| etl::handle< Duck > | find_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< Bezier > | find_bezier (synfig::Point pos, synfig::Real radius=0, float *location=0) |
| etl::handle< Bezier > | find_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_Base > | get_duck_dragger () const |
| void | clear_duck_dragger () |
| void | set_bezier_dragger (etl::handle< BezierDrag_Base > x) |
| etl::handle< BezierDrag_Base > | get_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< Bezier > | selected_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 |
| typedef std::vector<SurfaceElement> studio::WorkArea::SurfaceBook |
| WorkArea::WorkArea | ( | etl::loose_handle< synfigapp::CanvasInterface > | canvas_interface | ) |
References get_canvas(), get_scrollx_adjustment(), get_scrolly_adjustment(), have_meta_data(), insert_renderer(), load_meta_data(), studio::Duckmatic::load_sketch(), popup_menu(), queue_scroll(), refresh(), refresh_dimension_info(), save_meta_data(), set_focus_point(), studio::Duckmatic::signal_duck_selection_changed(), studio::Duckmatic::signal_grid_changed(), studio::Duckmatic::signal_sketch_saved(), studio::Duckmatic::signal_strokes_changed(), studio::ZoomDial::signal_zoom_fit(), studio::ZoomDial::signal_zoom_in(), studio::ZoomDial::signal_zoom_norm(), studio::ZoomDial::signal_zoom_out(), solid_lines, zoom_fit(), zoom_in(), zoom_norm(), and zoom_out().
|
virtual |
| 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 | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by studio::WorkArea::PushState::PushState().
|
inline |
|
inline |
Referenced by studio::WorkArea::PushState::PushState().
|
inline |
|
inline |
Referenced by studio::WorkArea::PushState::PushState().
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by view_window_changed().
|
inline |
Referenced by load_meta_data().
|
inline |
References signal_view_window_changed().
Referenced by refresh_dimension_info().
|
inline |
|
inline |
Referenced by popup_menu().
|
inline |
One signal per button (5 buttons)
|
inline |
| void WorkArea::set_onion_skin | ( | bool | x | ) |
References queue_render_preview(), and save_meta_data().
Referenced by load_meta_data(), and toggle_onion_skin().
| bool WorkArea::get_onion_skin | ( | ) | const |
Referenced by toggle_onion_skin().
|
inline |
References get_onion_skin(), and set_onion_skin().
| void WorkArea::set_onion_skins | ( | int * | onions | ) |
References queue_render_preview(), and save_meta_data().
| int const * WorkArea::get_onion_skins | ( | ) | const |
| void WorkArea::set_selected_value_node | ( | etl::loose_handle< synfig::ValueNode > | x | ) |
|
inline |
References DRAG_NONE.
|
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().
|
inline |
|
inline |
Referenced by get_focus_point(), set_focus_point(), and WorkArea().
|
inline |
Referenced by get_focus_point(), set_focus_point(), and WorkArea().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by get_focus_point(), refresh(), refresh_dimension_info(), screen_to_comp_coords(), set_focus_point(), and WorkArea().
|
inline |
|
inline |
Referenced by async_render_preview(), sync_render_preview(), and sync_render_preview_hook().
| 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().
|
inline |
Returns the state of the show_grid flag.
| void WorkArea::toggle_grid_snap | ( | ) |
| 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().
|
inline |
Returns the color of the grid.
Reimplemented from studio::Duckmatic.
Referenced by load_meta_data(), and save_meta_data().
|
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 | ) |
|
inline |
Toggles the showing of the guides.
References get_show_guides(), and set_show_guides().
| void WorkArea::toggle_guide_snap | ( | ) |
| 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().
|
inline |
Returns the color of the guides.
Reimplemented from studio::Duckmatic.
Referenced by load_meta_data(), and save_meta_data().
|
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().
|
inline |
Sets the size of the checker background.
Referenced by load_meta_data(), and save_meta_data().
|
inline |
Returns the first color of the checker background.
Referenced by load_meta_data(), and save_meta_data().
|
inline |
Returns the second color of the checker background.
Referenced by load_meta_data(), and save_meta_data().
|
inline |
Referenced by toggle_low_resolution_flag().
| void WorkArea::set_low_resolution_flag | ( | bool | x | ) |
References queue_render_preview().
Referenced by toggle_low_resolution_flag().
| void WorkArea::toggle_low_resolution_flag | ( | ) |
References get_low_resolution_flag(), and set_low_resolution_flag().
| void WorkArea::queue_scroll | ( | ) |
???
Check if the window we want draw is ready
References bonesetup_height, bonesetup_width, bonesetup_x, bonesetup_y, get_focus_point(), synfigapp::MODE_ANIMATE, timecode_height, timecode_width, timecode_x, and timecode_y.
Referenced by WorkArea().
| void WorkArea::popup_menu | ( | ) |
|
inline |
|
inline |
| void WorkArea::set_quality | ( | int | x | ) |
References queue_render_preview().
| void WorkArea::set_low_res_pixel_size | ( | int | x | ) |
References queue_render_preview().
|
inline |
Referenced by studio::WorkAreaRenderer::get_w().
|
inline |
Referenced by studio::WorkAreaRenderer::get_h().
|
inline |
|
inline |
??
|
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().
|
inline |
Referenced by studio::WorkAreaRenderer::get_pw().
|
inline |
Referenced by studio::WorkAreaRenderer::get_ph().
|
inline |
|
inline |
| bool studio::WorkArea::async_update_preview | ( | ) |
References _, async_update_finished(), and studio::App::workarea_uses_cairo.
| void studio::WorkArea::async_update_finished | ( | ) |
References _.
Referenced by async_update_preview().
| void studio::WorkArea::async_render_preview | ( | synfig::Time | time | ) |
References studio::EVENT_REFRESH_DUCKS.
| void WorkArea::async_render_preview | ( | ) |
References get_canvas_view(), and studio::Duckmatic::get_time().
| bool studio::WorkArea::sync_update_preview | ( | ) |
References _, studio::EVENT_REFRESH_DUCKS, and studio::App::workarea_uses_cairo.
| bool studio::WorkArea::sync_render_preview | ( | synfig::Time | time | ) |
| bool WorkArea::sync_render_preview | ( | ) |
References get_canvas_view(), and studio::Duckmatic::get_time().
Referenced by sync_render_preview_hook().
| void WorkArea::sync_render_preview_hook | ( | ) |
References get_canvas_view(), studio::Duckmatic::get_time(), and sync_render_preview().
| 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().
|
inline |
References studio::Duckmatic::zoom.
| void studio::WorkArea::set_zoom | ( | float | z | ) |
|
inline |
|
inline |
| void WorkArea::set_focus_point | ( | const synfig::Point & | x | ) |
References get_canvas(), get_scrollx_adjustment(), and get_scrolly_adjustment().
Referenced by WorkArea().
| synfig::Point WorkArea::get_focus_point | ( | ) | const |
References get_canvas(), get_scrollx_adjustment(), and get_scrolly_adjustment().
Referenced by queue_scroll(), refresh(), refresh_dimension_info(), and screen_to_comp_coords().
| 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 | ( | ) |
References get_background_first_color(), get_background_second_color(), get_background_size(), get_grid_color(), studio::Duckmatic::get_grid_size(), studio::Duckmatic::get_grid_snap(), studio::Duckmatic::get_guide_list_x(), studio::Duckmatic::get_guide_list_y(), studio::Duckmatic::get_guide_snap(), get_guides_color(), get_show_guides(), and studio::Duckmatic::get_sketch_filename().
Referenced by disable_grid(), enable_grid(), set_background_first_color(), set_background_second_color(), set_background_size(), set_grid_color(), set_grid_size(), set_guides_color(), set_jack_offset(), set_onion_skin(), set_onion_skins(), set_show_guides(), toggle_grid(), toggle_grid_snap(), toggle_guide_snap(), and WorkArea().
| void WorkArea::load_meta_data | ( | ) |
References _, get_background_first_color(), get_background_second_color(), get_background_size(), get_grid_color(), studio::Duckmatic::get_grid_size(), studio::Duckmatic::get_guide_list_x(), studio::Duckmatic::get_guide_list_y(), get_guides_color(), ONION_SKIN_FUTURE, ONION_SKIN_PAST, queue_render_preview(), set_background_first_color(), set_background_second_color(), set_background_size(), set_grid_color(), set_grid_size(), studio::Duckmatic::set_grid_snap(), studio::Duckmatic::set_guide_snap(), set_guides_color(), set_onion_skin(), signal_meta_data_changed(), solid_lines, stratof, and stratoi.
Referenced by WorkArea().
| bool WorkArea::have_meta_data | ( | ) |
Test initial meta data values.
Referenced by WorkArea().
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
| 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().
1.8.1.2