Functions | |
| auto | pixel_span (const surface &surf) |
| Returns a read-only view over to surf's underlying pixel array. More... | |
| auto | pixel_span (surface &surf) |
| Returns a mutable per-pixel view over surf's underlying pixel array. More... | |
|
inline |
Returns a read-only view over to surf's underlying pixel array.
Definition at line 74 of file surface.hpp.
References surface::area(), and surf.
Referenced by surface_locker< T >::pixel_span().
|
inline |
Returns a mutable per-pixel view over surf's underlying pixel array.
Definition at line 83 of file surface.hpp.
References surface::area(), and surf.