# excluded from the INPUT source files. This way you can easily exclude a
# subdirectory from a directory tree whose root is specified with the INPUT tag.
-EXCLUDE =
+EXCLUDE = src/synfig/surfacenew.cpp src/synfig/surfacenew.h src/template.cpp src/template.h
# The EXCLUDE_SYMLINKS tag can be used select whether or not files or
# directories that are symbolic links (a Unix filesystem feature) are excluded
return true;
}
-bool Blur::operator ()(const surface<float> &surface,
- const Vector &resolution,
- surface<float> &out) const
+bool Blur::operator ()(const etl::surface<float> &surface,
+ const synfig::Vector &resolution,
+ etl::surface<float> &out) const
{
int w = surface.get_w(),
h = surface.get_h();
/* === M E T H O D S ======================================================= */
-Canvas::Canvas(const string &id):
+Canvas::Canvas(const String &id):
id_ (id),
cur_time_ (0),
is_inline_ (false),
}
void
-Canvas::erase(Canvas::iterator iter)
+Canvas::erase(iterator iter)
{
if(!(*iter)->get_group().empty())
remove_group_pair((*iter)->get_group(),(*iter));
}
void
-Canvas::add_connection(Layer::LooseHandle layer, sigc::connection connection)
+Canvas::add_connection(etl::loose_handle<Layer> layer, sigc::connection connection)
{
connections_[layer].push_back(connection);
}
void
-Canvas::disconnect_connections(Layer::LooseHandle layer)
+Canvas::disconnect_connections(etl::loose_handle<Layer> layer)
{
std::vector<sigc::connection>::iterator iter;
for(iter=connections_[layer].begin();iter!=connections_[layer].end();++iter)
BLEND_COMPOSITE=0, //!< Color A is composited onto B (Taking A's alpha into account)
BLEND_STRAIGHT=1, //!< Straight linear interpolation from A->B (Alpha ignored)
BLEND_ONTO=13, //!< Similar to BLEND_COMPOSITE, except that B's alpha is maintained
- BLEND_STRAIGHT_ONTO=21, //!< <deprecated> \writeme
+ BLEND_STRAIGHT_ONTO=21, //!< \deprecated \writeme
BLEND_BEHIND=12, //!< Similar to BLEND_COMPOSITE, except that B is composited onto A.
BLEND_SCREEN=16, //!< \writeme
BLEND_OVERLAY=20, //!< \writeme
BLEND_SATURATION=10, //!< Preserves the magnitude of the UV Vector of color A
BLEND_LUMINANCE=11, //!< Preserves the Y channel of color A
- BLEND_ALPHA_BRIGHTEN=14, //!< <deprecated> If A is less opaque than B, use A
- BLEND_ALPHA_DARKEN=15, //!< <deprecated> If A is more opaque than B, use B
- BLEND_ALPHA_OVER=19, //!< <deprecated> multiply alphas and then straight blends using the amount
+ BLEND_ALPHA_BRIGHTEN=14, //!< \deprecated If A is less opaque than B, use A
+ BLEND_ALPHA_DARKEN=15, //!< \deprecated If A is more opaque than B, use B
+ BLEND_ALPHA_OVER=19, //!< \deprecated multiply alphas and then straight blends using the amount
BLEND_END=22 //!< \internal
};
-bool CIntersect::operator()(const bezier<Point> &c1, const bezier<Point> &c2)
+bool CIntersect::operator()(const etl::bezier<Point> &c1, const etl::bezier<Point> &c2)
{
times.clear();
}
void
-Layer_Polygon::add_polygon(const vector<Point> &point_list)
+Layer_Polygon::add_polygon(const std::vector<Point> &point_list)
{
int i,pointcount=point_list.size();
}
bool
-Layer_Shape::render_shape(surface<float> *surface,int /*quality*/,
+Layer_Shape::render_shape(etl::surface<float> *surface,int /*quality*/,
const RendDesc &renddesc, ProgressCallback */*cb*/)const
{
// If our amount is set to zero, no need to render anything
Target::subsys_stop();
synfig::info("Layer::subsys_stop()");
Layer::subsys_stop();
- /*! \fixme For some reason, uncommenting the next line will cause things to crash.
- This needs to be looked into at some point. */
+ /*! \todo For some reason, uncommenting the next line will cause things to crash.
+ This needs to be looked into at some point. */
// synfig::info("Module::subsys_stop()");
// Module::subsys_stop();
synfig::info("Exiting");
{ tl_=__tl; br_=__br; return *this; }
RendDesc &
-RendDesc::set_viewport(Real a,Real b,Real c,Real d)
+RendDesc::set_viewport(Vector::value_type a, Vector::value_type b, Vector::value_type c, Vector::value_type d)
{ tl_=Point(a,b); br_=Point(c,d); return *this; }
Real
top.data=static_cast<void*>(operator[](y)+x);
top.height=h;
top.width=w;
- //top.rowBytes=get_w()*sizeof(Color); //! \fixme this should get the pitch!!
+ //top.rowBytes=get_w()*sizeof(Color); //! \todo this should get the pitch!!
top.rowBytes=get_pitch();
bottom.data=static_cast<void*>(pen.x());
bottom.height=h;
bottom.width=w;
- //bottom.rowBytes=pen.get_width()*sizeof(Color); //! \fixme this should get the pitch!!
- bottom.rowBytes=pen.get_pitch(); //! \fixme this should get the pitch!!
+ //bottom.rowBytes=pen.get_width()*sizeof(Color); //! \todo this should get the pitch!!
+ bottom.rowBytes=pen.get_pitch(); //! \todo this should get the pitch!!
vImage_Error ret;
ret=vImageAlphaBlend_ARGBFFFF(&top,&bottom,&dest,kvImageNoFlags);
/* === M A C R O S ========================================================= */
+#define SYNFIG_LEAN
+#undef SYNFIG_LEAN
/*! \def SYNFIG_LEAN
** \brief Define this to remove unused features, speeding up compile time.
**
}
void
-synfig::Target::set_canvas(Canvas::Handle c)
+synfig::Target::set_canvas(etl::handle<Canvas> c)
{
canvas=c;
RendDesc desc=canvas->rend_desc();
after=before=INTERPOLATION_LINEAR;
}
-Waypoint::Waypoint(ValueNode::Handle value_node, Time time):
+Waypoint::Waypoint(etl::handle<ValueNode> value_node, Time time):
priority_(0),
before(INTERPOLATION_TCB),
after(INTERPOLATION_TCB),
}
void
-Waypoint::set_value_node(const ValueNode::Handle &x)
+Waypoint::set_value_node(const etl::handle<ValueNode> &x)
{
if(!value_node && x->get_type()==ValueBase::TYPE_ANGLE)
after=before=INTERPOLATION_LINEAR;
/* === S Y N F I G ========================================================= */
-/*! \file synfig/src/template.cpp
+/*! \file template.cpp
** \brief Template File
**
** $Id$
/* === S Y N F I G ========================================================= */
-/*! \file synfig/src/template.h
+/*! \file template.h
** \brief Template Header
**
** $Id$