insightdock::charts::ImageBuffer::pixel

pixel overloads

Synopses

Declared in <insightdock/image_buffer.h>

Mutable pointer to pixel at (x, y).

uint8_t*
pixel(
    std::size_t x,
    std::size_t y);
» more...

Const pixel access.

uint8_t const*
pixel(
    std::size_t x,
    std::size_t y) const;
» more...

Return Value

Pointer to 4 bytes [R,G,B,A], or nullptr if out of bounds.

Created with MrDocs