X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Frenddesc.cpp;h=81b2c04e11d7d3e15f8682e85827d5ae876f4ec2;hb=3c84217d4e5701c51c796df7c745ad39d90903a8;hp=fad6ad17beb1e11cdd49459228cebc7184f6d2a2;hpb=5ddcf36f04cfbd10fabda4e3c5633cb27cdd4c0a;p=synfig.git diff --git a/synfig-core/trunk/src/synfig/renddesc.cpp b/synfig-core/trunk/src/synfig/renddesc.cpp index fad6ad1..81b2c04 100644 --- a/synfig-core/trunk/src/synfig/renddesc.cpp +++ b/synfig-core/trunk/src/synfig/renddesc.cpp @@ -1,8 +1,8 @@ /* === S Y N F I G ========================================================= */ -/*! \file renddesc.h_ +/*! \file synfig/renddesc.cpp ** \brief RendDesc ** -** $Id: renddesc.cpp,v 1.1.1.1 2005/01/04 01:23:14 darco Exp $ +** $Id$ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley @@ -250,7 +250,7 @@ RendDesc::set_y_res(Real y) int RendDesc::get_frame_start()const { - return time_begin*frame_rate; + return round_to_int(time_begin*frame_rate); } RendDesc & @@ -262,7 +262,7 @@ RendDesc::set_frame_start(int x) int RendDesc::get_frame_end()const { - return time_end*frame_rate; + return round_to_int(time_end*frame_rate); } RendDesc & @@ -396,7 +396,7 @@ const int & RendDesc::get_antialias()const { return a; } -//! Set the antilaias amount +//! Set the antialias amount RendDesc & RendDesc::set_antialias(const int &x) { a=x; return *this; } @@ -525,7 +525,7 @@ RendDesc::set_viewport(const Point &__tl, const Point &__br) { 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