summaryrefslogtreecommitdiff
path: root/agg/source/agg_image_filters.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'agg/source/agg_image_filters.cpp')
-rwxr-xr-xagg/source/agg_image_filters.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/agg/source/agg_image_filters.cpp b/agg/source/agg_image_filters.cpp
index 28dd0654eeb4..fa651f18ae12 100755
--- a/agg/source/agg_image_filters.cpp
+++ b/agg/source/agg_image_filters.cpp
@@ -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.
//
@@ -55,9 +55,9 @@ namespace agg
//--------------------------------------------------------------------
- // This function normalizes integer values and corrects the rounding
+ // This function normalizes integer values and corrects the rounding
// errors. It doesn't do anything with the source floating point values
- // (m_weight_array_dbl), it corrects only integers according to the rule
+ // (m_weight_array_dbl), it corrects only integers according to the rule
// of 1.0 which means that any sum of pixel weights must be equal to 1.0.
// So, the filter function must produce a graph of the proper shape.
//--------------------------------------------------------------------
@@ -83,7 +83,7 @@ namespace agg
sum = 0;
for(j = 0; j < m_diameter; j++)
{
- sum += m_weight_array[j * image_subpixel_size + i] =
+ sum += m_weight_array[j * image_subpixel_size + i] =
int16(m_weight_array[j * image_subpixel_size + i] * k);
}