Functions | |
| auto | pixel_span (const surface &surf) |
| Returns a read-only view over to surf's underlying pixel array. | |
| auto | pixel_span (surface &surf) |
| Returns a mutable per-pixel view over surf's underlying pixel array. | |
|
inlineprivate |
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().
|
inlineprivate |
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.