https://github.com/hayguen/offscreen_bitmap_draw
Offscreen Bitmap/Raster Drawing (C++) Library
https://github.com/hayguen/offscreen_bitmap_draw
drawing-library offscreen raster-graphics
Last synced: 8 months ago
JSON representation
Offscreen Bitmap/Raster Drawing (C++) Library
- Host: GitHub
- URL: https://github.com/hayguen/offscreen_bitmap_draw
- Owner: hayguen
- License: mit
- Created: 2022-07-17T14:49:12.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-10-05T19:49:36.000Z (over 2 years ago)
- Last Synced: 2025-04-01T13:21:12.253Z (about 1 year ago)
- Topics: drawing-library, offscreen, raster-graphics
- Language: C++
- Homepage:
- Size: 160 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Offscreen Bitmap Drawing C++ Header-Only Library
## Origin
This is a fork of http://www.partow.net/downloads/bitmap.zip \
an MIT licensed C++ Bitmap Library from Arash Partow.
See http://www.partow.net/programming/bitmap/index.html
and the referenced documentation there: \
https://www.partow.net/programming/bitmap/documentation/annotated.html
## Purpose
Perform inlined in-memory drawing operations with normal CPU - not using GPU,
which don't need library operations or function calls.
Thus, it's header-only.
## Changes from Arash Partow's version
* splitted/organized single header into multiple headers in `offscr_bmp_drw/` directory
* added (still) minimalistic cmake support
* moved all classes/functions into namespace `OffScreenBitmapDraw`
* added zingl_image_drawer and templates for setting or adding pixels - later one for building heatmaps
* other incompatible changes planned!
## Related / Similar C++ Libraries
* Tools for offscreen bitmap drawing - with Adafruit GFX Library
* https://github.com/leftCoast/LC_offscreen
* https://github.com/adafruit/Adafruit-GFX-Library
* Simple C++ off screen raster graphics library
* https://github.com/richmit/mraster
* Bresenham Code/Site of Alois Zingl
* https://zingl.github.io/bresenham.html
* https://github.com/zingl/Bresenham
* PNG loader encoder/decoder
* https://github.com/lvandeve/lodepng