AsyncTarget_Cairo(etl::handle<synfig::Target_Cairo> warm_target): warm_target(warm_target) { set_avoid_time_sync(warm_target->get_avoid_time_sync()); set_canvas(warm_target->get_canvas()); set_quality(warm_target->get_quality()); set_remove_alpha(warm_target->get_remove_alpha()); set_rend_desc(&warm_target->rend_desc()); alive_flag=true; #ifndef GLIB_DISPATCHER_BROKEN ready_connection=frame_ready_signal.connect(sigc::mem_fun(*this,&AsyncTarget_Cairo::frame_ready)); #endif }
AsyncTarget_Scanline(etl::handle<synfig::Target_Scanline> warm_target): warm_target(warm_target) { set_avoid_time_sync(warm_target->get_avoid_time_sync()); set_canvas(warm_target->get_canvas()); set_quality(warm_target->get_quality()); set_remove_alpha(warm_target->get_remove_alpha()); set_threads(warm_target->get_threads()); set_rend_desc(&warm_target->rend_desc()); alive_flag=true; #ifndef GLIB_DISPATCHER_BROKEN ready_connection=frame_ready_signal.connect(sigc::mem_fun(*this,&AsyncTarget_Scanline::frame_ready)); #endif surface.set_wh(warm_target->rend_desc().get_w(),warm_target->rend_desc().get_h()); }
AsyncTarget_Tile(etl::handle<synfig::Target_Tile> warm_target): warm_target(warm_target) { set_avoid_time_sync(warm_target->get_avoid_time_sync()); set_tile_w(warm_target->get_tile_w()); set_tile_h(warm_target->get_tile_h()); set_canvas(warm_target->get_canvas()); set_quality(warm_target->get_quality()); set_remove_alpha(warm_target->get_remove_alpha()); set_threads(warm_target->get_threads()); set_clipping(warm_target->get_clipping()); set_rend_desc(&warm_target->rend_desc()); alive_flag=true; #ifndef GLIB_DISPATCHER_BROKEN ready_connection=tile_ready_signal.connect(sigc::mem_fun(*this,&AsyncTarget_Tile::tile_ready)); #endif }