Author: Diego Barrios Romero <[email protected]>
Date: Tue Jun 12 13:47:05 2012 +0200
Spacing
---
synfig-core/src/synfig/colorbase.h | 14 ++++----------
1 files changed, 4 insertions(+), 10 deletions(-)
diff --git a/synfig-core/src/synfig/colorbase.h
b/synfig-core/src/synfig/colorbase.h
index 5999fab..14dbc05 100644
--- a/synfig-core/src/synfig/colorbase.h
+++ b/synfig-core/src/synfig/colorbase.h
@@ -110,8 +110,7 @@ public:
ColorBase<T>& set_alpha(const T& x) { return set_a(x); }
//! Returns color's luminance
- float
- get_y() const
+ float get_y() const
{
return
(float)get_r()*EncodeYUV[0][0]+
@@ -119,10 +118,8 @@ public:
(float)get_b()*EncodeYUV[0][2];
}
-
//! Returns U component of chromanance
- float
- get_u() const
+ float get_u() const
{
return
(float)get_r()*EncodeYUV[1][0]+
@@ -130,10 +127,8 @@ public:
(float)get_b()*EncodeYUV[1][2];
}
-
//! Returns V component of chromanance
- float
- get_v() const
+ float get_v() const
{
return
(float)get_r()*EncodeYUV[2][0]+
@@ -144,8 +139,7 @@ public:
//! Returns the color's saturation
/*! This is is the magnitude of the U and V components.
** \see set_s() */
- float
- get_s() const
+ float get_s() const
{
const float u(get_u()), v(get_v());
return sqrt(u*u+v*v);
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl