OpenEnroth 73e68f7
|
#include <Image.h>
Public Member Functions | |
ImageView ()=default | |
ImageView (const T *pixels, ssize_t width, ssize_t height) | |
ImageView (const Image< T > &image) | |
Public Member Functions inherited from detail::ImageBase< const T, detail::ViewPointer< const T > > | |
std::span< const T > | pixels () |
std::span< const const T > | pixels () const |
ssize_t | width () const |
ssize_t | height () const |
Sizei | size () const |
std::span< const T > | operator[] (ssize_t y) |
std::span< const const T > | operator[] (ssize_t y) const |
const T & | operator[] (Pointi point) |
const const T & | operator[] (Pointi point) const |
operator bool () const | |
void | reset () |
void | fill (const const T &color) |
Additional Inherited Members | |
Protected Attributes inherited from detail::ImageBase< const T, detail::ViewPointer< const T > > | |
ssize_t | _width |
ssize_t | _height |
detail::ViewPointer< const T > | _pixels |
ImageView
to Image
is what std::string_view
is to std::string
.
|
default |
|
inline |
|
inline |