synfig-core
1.0.3
|
Synfig Tool Rendering Job List Processor Class. More...
Go to the source code of this file.
Functions | |
void | process_job_list (std::list< Job > &job_list, const synfig::TargetParam &target_parameters) |
Process a Job list setting up and processing each job. | |
bool | setup_job (Job &job, const synfig::TargetParam &target_parameters) |
void | process_job (Job &job) |
Process an individual job. |
Synfig Tool Rendering Job List Processor Class.
$Id$
void process_job_list | ( | std::list< Job > & | job_list, |
const synfig::TargetParam & | target_parameters | ||
) |
Process a Job list setting up and processing each job.
References _, process_job(), setup_job(), and SYNFIGTOOL_BORED.
Referenced by main().
bool setup_job | ( | Job & | job, |
const synfig::TargetParam & | target_parameters | ||
) |
Prepare a job to be processed
References _, Job::alpha_mode, synfig::Target::book(), Job::canvas, synfig::Target::create(), synfig::error(), synfig::Target::ext_book(), Job::filename, synfig::info(), SynfigToolGeneralOptions::instance(), Job::outfilename, Job::quality, Job::sifout, Job::target, synfig::TARGET_ALPHA_MODE_KEEP, Job::target_name, tolower, and VERBOSE_OUT.
Referenced by process_job_list().
void process_job | ( | Job & | job | ) |
Process an individual job.
References _, Job::canvas, Job::desc, Job::filename, synfig::RendDesc::get_antialias(), synfig::RendDesc::get_br(), synfig::RendDesc::get_focus(), synfig::RendDesc::get_h(), synfig::RendDesc::get_image_aspect(), synfig::RendDesc::get_pixel_aspect(), synfig::RendDesc::get_span(), synfig::RendDesc::get_tl(), synfig::RendDesc::get_w(), synfig::FileSystemNative::instance(), SynfigToolGeneralOptions::instance(), Job::outfilename, synfig::save_canvas(), SynfigToolGeneralOptions::should_print_benchmarks(), Job::sifout, SYNFIGTOOL_RENDERFAILURE, Job::target, RenderProgress::task(), and VERBOSE_OUT.
Referenced by process_job_list().