insightdock::charts::ImageBuffer::pixel

Mutable pointer to pixel at (x, y).

Synopsis

Declared in <insightdock/image_buffer.h>
uint8_t*
pixel(
    std::size_t x,
    std::size_t y);

Return Value

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

Created with MrDocs