Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 586 Bytes

.Doxyfile.md

File metadata and controls

24 lines (17 loc) · 586 Bytes

pntr: Image Manipulation Library

pntr is an image manipulation library for C99 or C++, with a focus on ease-of-use.

pntr logo

Usage

See the pntr API and Examples for how to use pntr.

#define PNTR_PIXELFORMAT_RGBA
#define PNTR_IMPLEMENTATION
#include "pntr.h"

int main() {
    pntr_image* image = pntr_new_image(200, 200);
    pntr_draw_circle_fill(image, 100, 100, 80, PNTR_RED);
    pntr_save_image(image, "output.png");
    pntr_unload_image(image);

    return 0;
}