tiny-skia-cpp
A C++20 2D rendering library (port of tiny-skia)
Loading...
Searching...
No Matches
Pixmap.h File Reference

Pixel buffers and views for RGBA image data. More...

#include <cstddef>
#include <cstdint>
#include <limits>
#include <optional>
#include <span>
#include <utility>
#include <vector>
#include "tiny_skia/Color.h"
#include "tiny_skia/Geom.h"
Include dependency graph for Pixmap.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  tiny_skia::PixmapView
 Immutable view into RGBA pixel data. Does not own memory. More...
 
class  tiny_skia::MutablePixmapView
 Mutable view into RGBA pixel data. Does not own memory. Primary drawing target for all rendering operations. More...
 
class  tiny_skia::Pixmap
 Owned RGBA pixel buffer. Always premultiplied alpha internally. More...
 

Variables

constexpr std::size_t tiny_skia::kBytesPerPixel = 4
 Bytes per pixel (always 4: RGBA premultiplied).