projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revised Spanish translation for synfigstudio. Thanks genete.
[synfig.git]
/
synfig-studio
/
tags
/
stable
/
src
/
synfigapp
/
blineconvert.h
diff --git
a/synfig-studio/tags/stable/src/synfigapp/blineconvert.h
b/synfig-studio/tags/stable/src/synfigapp/blineconvert.h
index
c6f6fbd
..
2b27187
100644
(file)
--- a/
synfig-studio/tags/stable/src/synfigapp/blineconvert.h
+++ b/
synfig-studio/tags/stable/src/synfigapp/blineconvert.h
@@
-57,7
+57,7
@@
public:
:curind(o.curind), tangentscale(o.tangentscale), error(o.error)
{}
:curind(o.curind), tangentscale(o.tangentscale), error(o.error)
{}
- const cpindex & operator
=
(const cpindex & rhs)
+ const cpindex & operator
=
(const cpindex & rhs)
{
curind = rhs.curind;
tangentscale = rhs.tangentscale;
{
curind = rhs.curind;
tangentscale = rhs.tangentscale;
@@
-65,7
+65,7
@@
public:
return *this;
}
return *this;
}
- bool operator
<
(const cpindex &rhs) const
+ bool operator
<
(const cpindex &rhs) const
{
return curind < rhs.curind;
}
{
return curind < rhs.curind;
}
@@
-76,19
+76,19
@@
public:
private:
//cached data
private:
//cached data
- std::vector<synfig::Point>
f;
//the preprocessed input cache
- std::vector<synfig::Real>
f_w
;
+ std::vector<synfig::Point>
point_cache;
//the preprocessed input cache
+ std::vector<synfig::Real>
width_cache
;
//temporary point storage for vector calc
std::vector<synfig::Point> ftemp;
//temporary point storage for vector calc
std::vector<synfig::Point> ftemp;
- std::vector<synfig::Vector> d
f
; //the derivative cache
- std::vector<synfig::Real> c
vt
; //the curvature cache
+ std::vector<synfig::Vector> d
eriv
; //the derivative cache
+ std::vector<synfig::Real> c
urvature
; //the curvature cache
- std::vector<int> br
k
; //the break point cache
+ std::vector<int> br
eak_tangents
; //the break point cache
- std::vector<synfig::Real>
di,
//cumulative distance
-
d_i
; //distance between adjacent segments
+ std::vector<synfig::Real>
cum_dist,
//cumulative distance
+
this_dist
; //distance between adjacent segments
std::vector<synfig::Point> work; //the working point cache for the entire curve
std::vector<cpindex> curind;
std::vector<synfig::Point> work; //the working point cache for the entire curve
std::vector<cpindex> curind;
@@
-106,7
+106,7
@@
public:
BLineConverter();
static void EnforceMinWidth(std::list<synfig::BLinePoint> &bline, synfig::Real min_pressure);
BLineConverter();
static void EnforceMinWidth(std::list<synfig::BLinePoint> &bline, synfig::Real min_pressure);
- void operator
()(std::list<synfig::BLinePoint> &out, const std::list<synfig::Point> &in,const std::list<synfig::Real> &in_w);
+ void operator()(std::list<synfig::BLinePoint> &out, const std::list<synfig::Point> &in,const std::list<synfig::Real> &in_w);
};
}; // END of namespace synfigapp
};
}; // END of namespace synfigapp