projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ignore generated files, such as PNG files.
[synfig.git]
/
synfig-core
/
trunk
/
src
/
synfig
/
renddesc.cpp
diff --git
a/synfig-core/trunk/src/synfig/renddesc.cpp
b/synfig-core/trunk/src/synfig/renddesc.cpp
index
b1b2832
..
81b2c04
100644
(file)
--- a/
synfig-core/trunk/src/synfig/renddesc.cpp
+++ b/
synfig-core/trunk/src/synfig/renddesc.cpp
@@
-250,7
+250,7
@@
RendDesc::set_y_res(Real y)
int
RendDesc::get_frame_start()const
{
int
RendDesc::get_frame_start()const
{
- return
time_begin*frame_rate
;
+ return
round_to_int(time_begin*frame_rate)
;
}
RendDesc &
}
RendDesc &
@@
-262,7
+262,7
@@
RendDesc::set_frame_start(int x)
int
RendDesc::get_frame_end()const
{
int
RendDesc::get_frame_end()const
{
- return
time_end*frame_rate
;
+ return
round_to_int(time_end*frame_rate)
;
}
RendDesc &
}
RendDesc &
@@
-396,7
+396,7
@@
const int &
RendDesc::get_antialias()const
{ return a; }
RendDesc::get_antialias()const
{ return a; }
-//! Set the anti
la
ias amount
+//! Set the anti
al
ias amount
RendDesc &
RendDesc::set_antialias(const int &x)
{ a=x; return *this; }
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 &
{ 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
{ tl_=Point(a,b); br_=Point(c,d); return *this; }
Real