Registry / other / canvas-ity

canvas-ity

JSON →
library1.0vcpkgunverified

A tiny, single-header <canvas>-like 2D rasterizer for C++.

vcpkg install canvas-ity
INSTALL
IMPORT
SIG · CANVAS-ITY
C
canvas-ity
othercppv1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

canvas-ity.hpp
#include <canvas-ity.hpp>

Create a canvas, draw a filled rectangle, and save as PPM.

#include <canvas-ity.hpp> #include <fstream> int main() { canvas_ity::canvas c(100, 100); c.fill_rectangle(canvas_ity::vec2{10, 10}, canvas_ity::vec2{80, 80}); std::ofstream file("output.ppm"); file << c; // PPM format return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources

No resource links recorded.

canvas-ity — pip install canvas-ity · libregistry