~kalon33/corsix-th/master

« back to all changes in this revision

Viewing changes to agg/include/agg_pixfmt_transposer.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
//
52
52
        }
53
53
 
54
54
        //--------------------------------------------------------------------
55
 
        AGG_INLINE void blend_pixel(int x, int y, 
56
 
                                    const color_type& c, 
 
55
        AGG_INLINE void blend_pixel(int x, int y,
 
56
                                    const color_type& c,
57
57
                                    int8u cover)
58
58
        {
59
59
            m_pixf->blend_pixel(y, x, c, cover);
60
60
        }
61
61
 
62
62
        //--------------------------------------------------------------------
63
 
        AGG_INLINE void copy_hline(int x, int y, 
64
 
                                   unsigned len, 
 
63
        AGG_INLINE void copy_hline(int x, int y,
 
64
                                   unsigned len,
65
65
                                   const color_type& c)
66
66
        {
67
67
            m_pixf->copy_vline(y, x, len, c);
69
69
 
70
70
        //--------------------------------------------------------------------
71
71
        AGG_INLINE void copy_vline(int x, int y,
72
 
                                   unsigned len, 
 
72
                                   unsigned len,
73
73
                                   const color_type& c)
74
74
        {
75
75
            m_pixf->copy_hline(y, x, len, c);
77
77
 
78
78
        //--------------------------------------------------------------------
79
79
        AGG_INLINE void blend_hline(int x, int y,
80
 
                                    unsigned len, 
 
80
                                    unsigned len,
81
81
                                    const color_type& c,
82
82
                                    int8u cover)
83
83
        {
86
86
 
87
87
        //--------------------------------------------------------------------
88
88
        AGG_INLINE void blend_vline(int x, int y,
89
 
                                    unsigned len, 
 
89
                                    unsigned len,
90
90
                                    const color_type& c,
91
91
                                    int8u cover)
92
92
        {
95
95
 
96
96
        //--------------------------------------------------------------------
97
97
        AGG_INLINE void blend_solid_hspan(int x, int y,
98
 
                                          unsigned len, 
 
98
                                          unsigned len,
99
99
                                          const color_type& c,
100
100
                                          const int8u* covers)
101
101
        {
104
104
 
105
105
        //--------------------------------------------------------------------
106
106
        AGG_INLINE void blend_solid_vspan(int x, int y,
107
 
                                          unsigned len, 
 
107
                                          unsigned len,
108
108
                                          const color_type& c,
109
109
                                          const int8u* covers)
110
110
        {
113
113
 
114
114
        //--------------------------------------------------------------------
115
115
        AGG_INLINE void copy_color_hspan(int x, int y,
116
 
                                         unsigned len, 
 
116
                                         unsigned len,
117
117
                                         const color_type* colors)
118
118
        {
119
119
            m_pixf->copy_color_vspan(y, x, len, colors);
121
121
 
122
122
        //--------------------------------------------------------------------
123
123
        AGG_INLINE void copy_color_vspan(int x, int y,
124
 
                                         unsigned len, 
 
124
                                         unsigned len,
125
125
                                         const color_type* colors)
126
126
        {
127
127
            m_pixf->copy_color_hspan(y, x, len, colors);
129
129
 
130
130
        //--------------------------------------------------------------------
131
131
        AGG_INLINE void blend_color_hspan(int x, int y,
132
 
                                          unsigned len, 
 
132
                                          unsigned len,
133
133
                                          const color_type* colors,
134
134
                                          const int8u* covers,
135
135
                                          int8u cover)
139
139
 
140
140
        //--------------------------------------------------------------------
141
141
        AGG_INLINE void blend_color_vspan(int x, int y,
142
 
                               unsigned len, 
 
142
                               unsigned len,
143
143
                               const color_type* colors,
144
144
                               const int8u* covers,
145
145
                               int8u cover)