~kalon33/corsix-th/master

« back to all changes in this revision

Viewing changes to agg/src/agg_vcgen_contour.cpp

  • Committer: corsixth.bot at gmail
  • Date: 2014-03-31 23:30:23 UTC
  • Revision ID: svn-v4:c39591fa-788f-11de-a72b-d90af8dea425:trunk:2687
Remove trailing whitespaces in .h, .cpp, .c and .lua files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
// Anti-Grain Geometry - Version 2.4
3
3
// Copyright (C) 2002-2005 Maxim Shemanarev (http://www.antigrain.com)
4
4
//
5
 
// Permission to copy, use, modify, sell and distribute this software 
6
 
// is granted provided this copyright notice appears in all copies. 
 
5
// Permission to copy, use, modify, sell and distribute this software
 
6
// is granted provided this copyright notice appears in all copies.
7
7
// This software is provided "as is" without express or implied
8
8
// warranty, and with no claim as to its suitability for any purpose.
9
9
//
65
65
                if(is_end_poly(cmd))
66
66
                {
67
67
                    m_closed = get_close_flag(cmd);
68
 
                    if(m_orientation == path_flags_none) 
 
68
                    if(m_orientation == path_flags_none)
69
69
                    {
70
70
                        m_orientation = get_orientation(cmd);
71
71
                    }
84
84
            {
85
85
                if(!is_oriented(m_orientation))
86
86
                {
87
 
                    m_orientation = (calc_polygon_area(m_src_vertices) > 0.0) ? 
88
 
                                    path_flags_ccw : 
 
87
                    m_orientation = (calc_polygon_area(m_src_vertices) > 0.0) ?
 
88
                                    path_flags_ccw :
89
89
                                    path_flags_cw;
90
90
                }
91
91
            }
126
126
                    m_status = end_poly;
127
127
                    break;
128
128
                }
129
 
                m_stroker.calc_join(m_out_vertices, 
130
 
                                    m_src_vertices.prev(m_src_vertex), 
131
 
                                    m_src_vertices.curr(m_src_vertex), 
132
 
                                    m_src_vertices.next(m_src_vertex), 
 
129
                m_stroker.calc_join(m_out_vertices,
 
130
                                    m_src_vertices.prev(m_src_vertex),
 
131
                                    m_src_vertices.curr(m_src_vertex),
 
132
                                    m_src_vertices.next(m_src_vertex),
133
133
                                    m_src_vertices.prev(m_src_vertex).dist,
134
134
                                    m_src_vertices.curr(m_src_vertex).dist);
135
135
                ++m_src_vertex;