constixel
|
Fluent API for drawing points. More...
#include <constixel.hpp>
Public Member Functions | |
constexpr | point (image_type &image, int32_t x_, int32_t y_) |
Construct a point shape. | |
constexpr point & | plot (uint8_t col) |
Plot the point with the specified color. | |
Fluent API for drawing points.
Provides a chainable interface for plotting individual pixels.
|
inlineconstexpr |
Construct a point shape.
image | Target image to draw on |
x_ | X coordinate of the point |
y_ | Y coordinate of the point |
|
inlineconstexpr |
Plot the point with the specified color.
col | Color value |