synfig-studio  1.0.3
Macros | Functions
duckmatic.cpp File Reference

Template File. More...

#include <fstream>
#include <iostream>
#include <algorithm>
#include <ETL/hermite>
#include "duckmatic.h"
#include "ducktransform_scale.h"
#include "ducktransform_translate.h"
#include "ducktransform_rotate.h"
#include <synfigapp/value_desc.h>
#include <synfigapp/canvasinterface.h>
#include <synfig/general.h>
#include <synfig/paramdesc.h>
#include <synfig/valuenodes/valuenode_timedswap.h>
#include <synfig/valuenodes/valuenode_animated.h>
#include <synfig/valuenodes/valuenode_composite.h>
#include <synfig/valuenodes/valuenode_range.h>
#include <synfig/valuenodes/valuenode_scale.h>
#include <synfig/valuenodes/valuenode_bline.h>
#include <synfig/valuenodes/valuenode_wplist.h>
#include <synfig/valuenodes/valuenode_blinecalctangent.h>
#include <synfig/valuenodes/valuenode_blinecalcvertex.h>
#include <synfig/valuenodes/valuenode_blinecalcwidth.h>
#include <synfig/valuenodes/valuenode_staticlist.h>
#include <synfig/valuenodes/valuenode_bone.h>
#include <synfig/valuenodes/valuenode_boneinfluence.h>
#include <synfig/valuenodes/valuenode_boneweightpair.h>
#include <synfig/pair.h>
#include <synfig/curve_helper.h>
#include <synfig/context.h>
#include <synfig/layers/layer_pastecanvas.h>
#include <sigc++/retype_return.h>
#include <sigc++/retype.h>
#include <sigc++/hide.h>
#include <sigc++/bind.h>
#include "ducktransform_matrix.h"
#include "ducktransform_origin.h"
#include "canvasview.h"
#include "onemoment.h"
#include "general.h"

Macros

#define TANGENT_HANDLE_SCALE   0.33333333333333333
#define TANGENT_BEZIER_SCALE   0.33333333333333333
#define QUEUE_REBUILD_DUCKS   sigc::mem_fun(*canvas_view,&CanvasView::queue_rebuild_ducks)
#define REAL_COOKIE   reinterpret_cast<synfig::ParamDesc*>(28)

Functions

synfig::GUID calc_duck_guid (const synfigapp::ValueDesc &value_desc, const synfig::TransformStack &transform_stack)
void set_duck_value_desc (Duck &duck, const synfigapp::ValueDesc &value_desc, const synfig::TransformStack &transform_stack)
 sets duck name, value_desc, transform_stack and GUID
void set_duck_value_desc (Duck &duck, const synfigapp::ValueDesc &value_desc, const synfig::String &sub_name, const synfig::TransformStack &transform_stack)
 sets duck name, value_desc and GUID

Detailed Description

Template File.

$Id$

Macro Definition Documentation

#define TANGENT_HANDLE_SCALE   0.33333333333333333
#define TANGENT_BEZIER_SCALE   0.33333333333333333
#define QUEUE_REBUILD_DUCKS   sigc::mem_fun(*canvas_view,&CanvasView::queue_rebuild_ducks)
#define REAL_COOKIE   reinterpret_cast<synfig::ParamDesc*>(28)

Function Documentation

synfig::GUID calc_duck_guid ( const synfigapp::ValueDesc value_desc,
const synfig::TransformStack &  transform_stack 
)
inline
void set_duck_value_desc ( Duck duck,
const synfigapp::ValueDesc value_desc,
const synfig::TransformStack &  transform_stack 
)
inline
void set_duck_value_desc ( Duck duck,
const synfigapp::ValueDesc value_desc,
const synfig::String &  sub_name,
const synfig::TransformStack &  transform_stack 
)
inline

sets duck name, value_desc and GUID

References synfigapp::ValueDesc::get_sub_value(), and set_duck_value_desc().