ETL
0.04.19
|
#include <_pen.h>
Classes | |
struct | difference_type |
Public Types | |
typedef T | value_type |
typedef AT | accumulator_type |
typedef value_type * | pointer |
typedef accumulator_type * | accumulator_pointer |
typedef const value_type * | const_pointer |
typedef const accumulator_type * | const_accumulator_pointer |
typedef value_type & | reference |
typedef const value_type & | const_reference |
typedef pointer | iterator_x |
typedef const_pointer | const_iterator_x |
typedef generic_pen_row_iterator < value_type > | iterator_y |
typedef generic_pen_row_iterator < const value_type > | const_iterator_y |
Public Member Functions | |
generic_pen (value_type *data, int w, int h, int pitch) | |
generic_pen (value_type *data, int w, int h) | |
generic_pen () | |
self_type & | move (int a, int b) |
self_type & | move_to (int x, int y) |
void | set_value (const value_type &v) |
void | inc_x () |
void | dec_x () |
void | inc_y () |
void | dec_y () |
void | inc_x (int n) |
void | dec_x (int n) |
void | inc_y (int n) |
void | dec_y (int n) |
void | put_value (const value_type &v) const |
void | put_value () const |
void | put_value_clip (const value_type &v) const |
void | put_value_clip () const |
const_reference | get_value () const |
const_reference | get_value_at (int x, int y) const |
const_reference | get_value_clip_at (int x, int y) const |
const value_type | get_value_clip () const |
const value_type | get_pen_value () const |
void | put_hline (int l, const value_type &v) |
void | put_hline (int l) |
void | put_hline_clip (int l, const value_type &v) |
void | put_hline_clip (int l) |
void | put_block (int h, int w, const value_type &v) |
void | put_block (int h, int w) |
void | put_block_clip (int h, int w, const value_type &v) |
void | put_block_clip (int h, int w) |
iterator_x | operator[] (int i) const |
iterator_x | x () |
iterator_x | begin_x () |
iterator_x | end_x () |
iterator_y | y () |
iterator_y | begin_y () |
iterator_y | end_y () |
operator bool () const | |
bool | operator! () const |
bool | operator== (const self_type &rhs) const |
bool | operator!= (const self_type &rhs) const |
bool | clipped (int x, int y) const |
bool | clipped () const |
difference_type | operator- (const self_type &rhs) const |
self_type | operator+ (const difference_type &rhs) const |
difference_type | diff_begin () const |
difference_type | diff_end () const |
self_type | get_start () const |
self_type | get_end () const |
int | get_width () const |
int | get_height () const |
int | get_w () const |
int | get_h () const |
int | get_pitch () const |
Protected Attributes | |
int | x_ |
int | y_ |
int | w_ |
int | h_ |
Private Types | |
typedef generic_pen< T, AT > | self_type |
Private Member Functions | |
void | addptr (int nbytes) |
void | subptr (int nbytes) |
Private Attributes | |
int | pitch_ |
value_type | value_ |
value_type * | data_ |
typedef T generic_pen< T, AT >::value_type |
typedef AT generic_pen< T, AT >::accumulator_type |
typedef value_type* generic_pen< T, AT >::pointer |
typedef accumulator_type* generic_pen< T, AT >::accumulator_pointer |
typedef const value_type* generic_pen< T, AT >::const_pointer |
typedef const accumulator_type* generic_pen< T, AT >::const_accumulator_pointer |
typedef value_type& generic_pen< T, AT >::reference |
typedef const value_type& generic_pen< T, AT >::const_reference |
typedef pointer generic_pen< T, AT >::iterator_x |
typedef const_pointer generic_pen< T, AT >::const_iterator_x |
typedef generic_pen_row_iterator<value_type> generic_pen< T, AT >::iterator_y |
typedef generic_pen_row_iterator<const value_type> generic_pen< T, AT >::const_iterator_y |
|
private |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
Definition at line 152 of file _pen.h.
References generic_pen< T, AT >::data_.
Referenced by generic_pen< T, AT >::inc_y(), and generic_pen< T, AT >::move().
|
inlineprivate |
Definition at line 157 of file _pen.h.
References generic_pen< T, AT >::data_.
Referenced by generic_pen< T, AT >::dec_y().
|
inline |
Definition at line 186 of file _pen.h.
References generic_pen< T, AT >::addptr(), generic_pen< T, AT >::data_, generic_pen< T, AT >::pitch_, generic_pen< T, AT >::x_, and generic_pen< T, AT >::y_.
Referenced by surface< T, AT, VP >::get_pen(), generic_pen< T, AT >::move_to(), and generic_pen< T, AT >::operator+().
|
inline |
Definition at line 193 of file _pen.h.
References generic_pen< T, AT >::data_, generic_pen< T, AT >::move(), generic_pen< T, AT >::x_, and generic_pen< T, AT >::y_.
|
inline |
Definition at line 194 of file _pen.h.
References generic_pen< T, AT >::value_.
Referenced by surface< T, AT, VP >::fill().
|
inline |
Definition at line 196 of file _pen.h.
References generic_pen< T, AT >::data_, and generic_pen< T, AT >::x_.
Referenced by surface< T, AT, VP >::blit_to(), generic_pen< T, AT >::put_block_clip(), generic_pen< T, AT >::put_hline(), generic_pen< T, AT >::put_hline_clip(), surface< T, AT, VP >::sample_rect(), surface< T, AT, VP >::sample_rect_clip(), surface< T, AT, VP >::sample_rect_clip_cooked(), and surface< T, AT, VP >::sample_rect_cooked().
|
inline |
Definition at line 197 of file _pen.h.
References generic_pen< T, AT >::data_, and generic_pen< T, AT >::x_.
Referenced by surface< T, AT, VP >::blit_to(), surface< T, AT, VP >::fill(), surface< T, AT, VP >::sample_rect(), surface< T, AT, VP >::sample_rect_clip(), surface< T, AT, VP >::sample_rect_clip_cooked(), and surface< T, AT, VP >::sample_rect_cooked().
|
inline |
Definition at line 198 of file _pen.h.
References generic_pen< T, AT >::addptr(), generic_pen< T, AT >::data_, generic_pen< T, AT >::pitch_, and generic_pen< T, AT >::y_.
Referenced by surface< T, AT, VP >::blit_to(), surface< T, AT, VP >::fill(), generic_pen< T, AT >::put_block(), generic_pen< T, AT >::put_block_clip(), surface< T, AT, VP >::sample_rect(), surface< T, AT, VP >::sample_rect_clip(), surface< T, AT, VP >::sample_rect_clip_cooked(), and surface< T, AT, VP >::sample_rect_cooked().
|
inline |
Definition at line 199 of file _pen.h.
References generic_pen< T, AT >::data_, generic_pen< T, AT >::pitch_, generic_pen< T, AT >::subptr(), and generic_pen< T, AT >::y_.
|
inline |
Definition at line 201 of file _pen.h.
References generic_pen< T, AT >::data_, and generic_pen< T, AT >::x_.
|
inline |
Definition at line 202 of file _pen.h.
References generic_pen< T, AT >::data_, and generic_pen< T, AT >::x_.
|
inline |
Definition at line 203 of file _pen.h.
References generic_pen< T, AT >::data_, generic_pen< T, AT >::pitch_, and generic_pen< T, AT >::y_.
|
inline |
Definition at line 204 of file _pen.h.
References generic_pen< T, AT >::data_, generic_pen< T, AT >::pitch_, and generic_pen< T, AT >::y_.
|
inline |
Definition at line 206 of file _pen.h.
References generic_pen< T, AT >::data_.
|
inline |
Definition at line 207 of file _pen.h.
References generic_pen< T, AT >::data_, generic_pen< T, AT >::put_value(), and generic_pen< T, AT >::value_.
Referenced by generic_pen< T, AT >::put_hline(), generic_pen< T, AT >::put_value(), and generic_pen< T, AT >::put_value_clip().
|
inline |
Definition at line 209 of file _pen.h.
References generic_pen< T, AT >::clipped(), and generic_pen< T, AT >::put_value().
|
inline |
Definition at line 211 of file _pen.h.
References generic_pen< T, AT >::put_value_clip(), and generic_pen< T, AT >::value_.
Referenced by generic_pen< T, AT >::put_hline_clip(), and generic_pen< T, AT >::put_value_clip().
|
inline |
Definition at line 213 of file _pen.h.
References generic_pen< T, AT >::data_.
Referenced by surface< T, AT, VP >::blit_to(), surface< T, AT, VP >::sample_rect(), surface< T, AT, VP >::sample_rect_clip(), surface< T, AT, VP >::sample_rect_clip_cooked(), and surface< T, AT, VP >::sample_rect_cooked().
|
inline |
Definition at line 215 of file _pen.h.
References generic_pen< T, AT >::data_, generic_pen< T, AT >::pitch_, and generic_pen< T, AT >::x().
|
inline |
Definition at line 217 of file _pen.h.
References generic_pen< T, AT >::clipped(), generic_pen< T, AT >::data_, generic_pen< T, AT >::pitch_, and generic_pen< T, AT >::x().
|
inline |
Definition at line 219 of file _pen.h.
References generic_pen< T, AT >::clipped(), and generic_pen< T, AT >::data_.
|
inline |
Definition at line 221 of file _pen.h.
References generic_pen< T, AT >::value_.
|
inline |
Definition at line 223 of file _pen.h.
References generic_pen< T, AT >::inc_x(), and generic_pen< T, AT >::put_value().
Referenced by surface< T, AT, VP >::fill(), generic_pen< T, AT >::put_block(), and generic_pen< T, AT >::put_block_clip().
|
inline |
Definition at line 226 of file _pen.h.
References generic_pen< T, AT >::put_hline(), and generic_pen< T, AT >::value_.
Referenced by generic_pen< T, AT >::put_hline().
|
inline |
Definition at line 228 of file _pen.h.
References generic_pen< T, AT >::inc_x(), generic_pen< T, AT >::put_value_clip(), generic_pen< T, AT >::w_, and generic_pen< T, AT >::x_.
|
inline |
Definition at line 231 of file _pen.h.
References generic_pen< T, AT >::put_hline_clip(), and generic_pen< T, AT >::value_.
Referenced by generic_pen< T, AT >::put_hline_clip().
|
inline |
Definition at line 234 of file _pen.h.
References generic_pen< T, AT >::inc_y(), and generic_pen< T, AT >::put_hline().
Referenced by generic_pen< T, AT >::put_block_clip().
|
inline |
Definition at line 244 of file _pen.h.
References generic_pen< T, AT >::put_block(), and generic_pen< T, AT >::value_.
Referenced by generic_pen< T, AT >::put_block().
|
inline |
Definition at line 246 of file _pen.h.
References generic_pen< T, AT >::h_, generic_pen< T, AT >::inc_x(), generic_pen< T, AT >::inc_y(), generic_pen< T, AT >::put_hline(), generic_pen< T, AT >::w_, generic_pen< T, AT >::x_, and generic_pen< T, AT >::y_.
|
inline |
Definition at line 266 of file _pen.h.
References generic_pen< T, AT >::put_block(), and generic_pen< T, AT >::value_.
|
inline |
Definition at line 269 of file _pen.h.
References generic_pen< T, AT >::data_, and generic_pen< T, AT >::pitch_.
|
inline |
Definition at line 271 of file _pen.h.
References generic_pen< T, AT >::data_.
Referenced by generic_pen< T, AT >::get_value_at(), and generic_pen< T, AT >::get_value_clip_at().
|
inline |
Definition at line 272 of file _pen.h.
References generic_pen< T, AT >::data_, and generic_pen< T, AT >::x_.
|
inline |
Definition at line 273 of file _pen.h.
References generic_pen< T, AT >::data_, generic_pen< T, AT >::w_, and generic_pen< T, AT >::x_.
|
inline |
Definition at line 275 of file _pen.h.
References generic_pen< T, AT >::data_, and generic_pen< T, AT >::pitch_.
|
inline |
Definition at line 276 of file _pen.h.
References generic_pen< T, AT >::data_, generic_pen< T, AT >::pitch_, and generic_pen< T, AT >::y_.
|
inline |
Definition at line 277 of file _pen.h.
References generic_pen< T, AT >::data_, generic_pen< T, AT >::h_, generic_pen< T, AT >::pitch_, and generic_pen< T, AT >::y_.
|
inline |
Definition at line 279 of file _pen.h.
References generic_pen< T, AT >::data_.
|
inline |
Definition at line 280 of file _pen.h.
References generic_pen< T, AT >::data_.
|
inline |
Definition at line 281 of file _pen.h.
References generic_pen< T, AT >::data_.
|
inline |
Definition at line 282 of file _pen.h.
References generic_pen< T, AT >::data_.
|
inline |
Definition at line 283 of file _pen.h.
References generic_pen< T, AT >::h_, generic_pen< T, AT >::w_, generic_pen< T, AT >::x_, and generic_pen< T, AT >::y_.
|
inline |
Definition at line 284 of file _pen.h.
References generic_pen< T, AT >::h_, generic_pen< T, AT >::w_, generic_pen< T, AT >::x_, and generic_pen< T, AT >::y_.
Referenced by generic_pen< T, AT >::get_value_clip(), generic_pen< T, AT >::get_value_clip_at(), and generic_pen< T, AT >::put_value_clip().
|
inline |
Definition at line 286 of file _pen.h.
References generic_pen< T, AT >::data_, and generic_pen< T, AT >::pitch_.
|
inline |
Definition at line 294 of file _pen.h.
References generic_pen< T, AT >::data_, generic_pen< T, AT >::move(), generic_pen< T, AT >::difference_type::x, and generic_pen< T, AT >::difference_type::y.
|
inline |
Definition at line 302 of file _pen.h.
References generic_pen< T, AT >::x_, and generic_pen< T, AT >::y_.
Referenced by generic_pen< T, AT >::get_start().
|
inline |
Definition at line 303 of file _pen.h.
References generic_pen< T, AT >::h_, generic_pen< T, AT >::w_, generic_pen< T, AT >::x_, and generic_pen< T, AT >::y_.
Referenced by generic_pen< T, AT >::get_end().
|
inline |
Definition at line 305 of file _pen.h.
References generic_pen< T, AT >::diff_begin().
|
inline |
Definition at line 306 of file _pen.h.
References generic_pen< T, AT >::diff_end().
|
inline |
Definition at line 308 of file _pen.h.
References generic_pen< T, AT >::w_.
|
inline |
Definition at line 309 of file _pen.h.
References generic_pen< T, AT >::h_.
|
inline |
Definition at line 311 of file _pen.h.
References generic_pen< T, AT >::w_.
|
inline |
Definition at line 312 of file _pen.h.
References generic_pen< T, AT >::h_.
|
inline |
Definition at line 313 of file _pen.h.
References generic_pen< T, AT >::pitch_.
|
protected |
Definition at line 143 of file _pen.h.
Referenced by generic_pen< T, AT >::begin_x(), generic_pen< T, AT >::clipped(), generic_pen< T, AT >::dec_x(), generic_pen< T, AT >::diff_begin(), generic_pen< T, AT >::diff_end(), generic_pen< T, AT >::end_x(), generic_pen< T, AT >::inc_x(), generic_pen< T, AT >::move(), generic_pen< T, AT >::move_to(), generic_pen< T, AT >::put_block_clip(), and generic_pen< T, AT >::put_hline_clip().
|
protected |
Definition at line 143 of file _pen.h.
Referenced by generic_pen< T, AT >::begin_y(), generic_pen< T, AT >::clipped(), generic_pen< T, AT >::dec_y(), generic_pen< T, AT >::diff_begin(), generic_pen< T, AT >::diff_end(), generic_pen< T, AT >::end_y(), generic_pen< T, AT >::inc_y(), generic_pen< T, AT >::move(), generic_pen< T, AT >::move_to(), and generic_pen< T, AT >::put_block_clip().
|
protected |
Definition at line 144 of file _pen.h.
Referenced by generic_pen< T, AT >::clipped(), generic_pen< T, AT >::diff_end(), generic_pen< T, AT >::end_x(), generic_pen< T, AT >::get_w(), generic_pen< T, AT >::get_width(), generic_pen< T, AT >::put_block_clip(), and generic_pen< T, AT >::put_hline_clip().
|
protected |
Definition at line 144 of file _pen.h.
Referenced by generic_pen< T, AT >::clipped(), generic_pen< T, AT >::diff_end(), generic_pen< T, AT >::end_y(), generic_pen< T, AT >::get_h(), generic_pen< T, AT >::get_height(), and generic_pen< T, AT >::put_block_clip().
|
private |
Definition at line 146 of file _pen.h.
Referenced by generic_pen< T, AT >::begin_y(), generic_pen< T, AT >::dec_y(), generic_pen< T, AT >::end_y(), generic_pen< T, AT >::get_pitch(), generic_pen< T, AT >::get_value_at(), generic_pen< T, AT >::get_value_clip_at(), generic_pen< T, AT >::inc_y(), generic_pen< T, AT >::move(), generic_pen< T, AT >::operator-(), generic_pen< T, AT >::operator[](), and generic_pen< T, AT >::y().
|
private |
Definition at line 147 of file _pen.h.
Referenced by generic_pen< T, AT >::get_pen_value(), generic_pen< T, AT >::put_block(), generic_pen< T, AT >::put_block_clip(), generic_pen< T, AT >::put_hline(), generic_pen< T, AT >::put_hline_clip(), generic_pen< T, AT >::put_value(), generic_pen< T, AT >::put_value_clip(), and generic_pen< T, AT >::set_value().
|
private |
Definition at line 148 of file _pen.h.
Referenced by generic_pen< T, AT >::addptr(), generic_pen< T, AT >::begin_x(), generic_pen< T, AT >::begin_y(), generic_pen< T, AT >::dec_x(), generic_pen< T, AT >::dec_y(), generic_pen< T, AT >::end_x(), generic_pen< T, AT >::end_y(), generic_pen< T, AT >::get_value(), generic_pen< T, AT >::get_value_at(), generic_pen< T, AT >::get_value_clip(), generic_pen< T, AT >::get_value_clip_at(), generic_pen< T, AT >::inc_x(), generic_pen< T, AT >::inc_y(), generic_pen< T, AT >::move(), generic_pen< T, AT >::move_to(), generic_pen< T, AT >::operator bool(), generic_pen< T, AT >::operator!(), generic_pen< T, AT >::operator!=(), generic_pen< T, AT >::operator+(), generic_pen< T, AT >::operator-(), generic_pen< T, AT >::operator==(), generic_pen< T, AT >::operator[](), generic_pen< T, AT >::put_value(), generic_pen< T, AT >::subptr(), generic_pen< T, AT >::x(), and generic_pen< T, AT >::y().