HikoGUI
Select Version: ⚠️ This documents the main development branch of HikoGUI. It might differ from release versions.
A low latency retained GUI
|
#include <hikogui/image/pixmap_span.hpp>
Data Structures | |
struct | row_iterator |
struct | row_range |
Public Member Functions | |
constexpr | pixmap_span (pixmap_span const &) noexcept=default |
constexpr | pixmap_span (pixmap_span &&) noexcept=default |
constexpr pixmap_span & | operator= (pixmap_span const &) noexcept=default |
constexpr pixmap_span & | operator= (pixmap_span &&) noexcept=default |
constexpr | pixmap_span (value_type *data, size_type width, size_type height, size_type stride) noexcept |
constexpr | pixmap_span (value_type *data, size_type width, size_type height) noexcept |
template<std::same_as< std::remove_const_t< value_type > > O, typename Allocator > | |
constexpr | pixmap_span (pixmap< O, Allocator > const &other) noexcept |
template<std::same_as< std::remove_const_t< value_type > > O, typename Allocator > | |
constexpr | pixmap_span (pixmap< O, Allocator > &other) noexcept |
template<std::same_as< std::remove_const_t< value_type > > O, typename Allocator > | |
constexpr | pixmap_span (pixmap< O, Allocator > &&other)=delete |
constexpr bool | empty () const noexcept |
constexpr size_type | width () const noexcept |
constexpr size_type | height () const noexcept |
constexpr size_type | stride () const noexcept |
constexpr pointer | data () noexcept |
constexpr const_pointer | data () const noexcept |
constexpr reference | operator() (size_type x, size_type y) noexcept |
constexpr const_reference | operator() (size_type x, size_type y) const noexcept |
constexpr row_type | operator[] (size_type y) noexcept |
constexpr const_row_type | operator[] (size_type y) const noexcept |
constexpr auto | rows () noexcept |
constexpr auto | rows () const noexcept |
constexpr pixmap_span | subimage (size_type x, size_type y, size_type new_width, size_type new_height) noexcept |
constexpr pixmap_span< value_type const > | subimage (size_type x, size_type y, size_type new_width, size_type new_height) const noexcept |
Friends | |
constexpr friend void | copy (pixmap_span src, pixmap_span< std::remove_const_t< value_type > > dst) noexcept |
constexpr friend void | fill (pixmap_span dst, value_type value=value_type{}) noexcept |
A non-owning 2D pixel-based image.
T | The pixel format. |