~kalon33/corsix-th/master

« back to all changes in this revision

Viewing changes to agg/include/agg_trans_single_path.h

  • 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
//
54
54
        void finalize_path();
55
55
 
56
56
        //--------------------------------------------------------------------
57
 
        template<class VertexSource> 
 
57
        template<class VertexSource>
58
58
        void add_path(VertexSource& vs, unsigned path_id=0)
59
59
        {
60
60
            double x;
64
64
            vs.rewind(path_id);
65
65
            while(!is_stop(cmd = vs.vertex(&x, &y)))
66
66
            {
67
 
                if(is_move_to(cmd)) 
 
67
                if(is_move_to(cmd))
68
68
                {
69
69
                    move_to(x, y);
70
70
                }
71
 
                else 
 
71
                else
72
72
                {
73
73
                    if(is_vertex(cmd))
74
74
                    {