summaryrefslogtreecommitdiff
path: root/agg/inc/agg_span_gouraud_gray.h
diff options
context:
space:
mode:
Diffstat (limited to 'agg/inc/agg_span_gouraud_gray.h')
-rwxr-xr-xagg/inc/agg_span_gouraud_gray.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/agg/inc/agg_span_gouraud_gray.h b/agg/inc/agg_span_gouraud_gray.h
index caf288919e93..b2c745dca179 100755
--- a/agg/inc/agg_span_gouraud_gray.h
+++ b/agg/inc/agg_span_gouraud_gray.h
@@ -2,8 +2,8 @@
// Anti-Grain Geometry - Version 2.3
// Copyright (C) 2002-2005 Maxim Shemanarev (http://www.antigrain.com)
//
-// Permission to copy, use, modify, sell and distribute this software
-// is granted provided this copyright notice appears in all copies.
+// Permission to copy, use, modify, sell and distribute this software
+// is granted provided this copyright notice appears in all copies.
// This software is provided "as is" without express or implied
// warranty, and with no claim as to its suitability for any purpose.
//
@@ -13,12 +13,12 @@
// http://www.antigrain.com
//----------------------------------------------------------------------------
//
-// Adaptation for high precision colors has been sponsored by
+// Adaptation for high precision colors has been sponsored by
// Liberty Technology Systems, Inc., visit http://lib-sys.com
//
// Liberty Technology Systems, Inc. is the provider of
// PostScript and PDF technology for software developers.
-//
+//
//----------------------------------------------------------------------------
#ifndef AGG_SPAN_GOURAUD_GRAY_INCLUDED
@@ -88,14 +88,14 @@ namespace agg
span_gouraud_gray(alloc_type& alloc) : base_type(alloc) {}
//--------------------------------------------------------------------
- span_gouraud_gray(alloc_type& alloc,
- const color_type& c1,
- const color_type& c2,
+ span_gouraud_gray(alloc_type& alloc,
+ const color_type& c1,
+ const color_type& c2,
const color_type& c3,
- double x1, double y1,
+ double x1, double y1,
double x2, double y2,
- double x3, double y3,
- double d = 0) :
+ double x3, double y3,
+ double d = 0) :
base_type(alloc, c1, c2, c3, x1, y1, x2, y2, x3, y3, d)
{}
@@ -109,7 +109,7 @@ namespace agg
m_y2 = int(coord[1].y);
- m_swap = calc_point_location(coord[0].x, coord[0].y,
+ m_swap = calc_point_location(coord[0].x, coord[0].y,
coord[2].x, coord[2].y,
coord[1].x, coord[1].y) < 0.0;
@@ -153,7 +153,7 @@ namespace agg
if(nx < x)
{
unsigned d = unsigned(x - nx);
- v += d;
+ v += d;
a += d;
}
@@ -162,7 +162,7 @@ namespace agg
{
span->v = (value_type)v.y();
span->a = (value_type)a.y();
- ++v;
+ ++v;
++a;
++span;
}