Based on my previous work a while ago on Solaris workstations (and the great work at http://raspberrycompote.blogspot.co.uk) I have put together a simple library to make use of the RaspberryPI's frame buffer for unaccelerated 2D graphics.

The Library supports graphics primatives such as:

Pixel, Line, Ellipse, Rectangle, Fill, Triangle, Polygon, CopyRect, Images, DoubleBuffering/Page Flips, XY origin, TTF Fonts (via public domain code)

Using 16-bit (R5-G6-B5) colour mode (at all available screen resolutions the PI supports) it allows for a relatively fast, colourful graphics API.

You need to be running in text only mode to use this library as it does not use the X windowing system for graphics. See raspi-config options to enable this boot option.

Compilation is simple see the "comptest" file for the command line options to make the test program.

Place all the files in a folder on your PI
use> make Makefile
or run
./comptest

Features

  • C Graphics API
  • Linux Frame Buffer direct access
  • Raspberry PI
  • Low Level 16bit Graphics
  • 2D graphics without linux desktop
  • Magic Mirror Display Creator

Project Samples

Project Activity

See All Activity >

Categories

Raspberry Pi

Follow RaspiGFX

RaspiGFX Web Site

Other Useful Business Software
Rent Manager Software Icon
Rent Manager Software

Landlords, multi-family homes, manufactured home communities, single family homes, associations, commercial properties and mixed portfolios.

Rent Manager is award-winning property management software built for residential, commercial, and short-term-stay portfolios of any size. The program’s fully customizable features include a double-entry accounting system, maintenance management/scheduling, marketing integration, mobile applications, more than 450 insightful reports, and an API that integrates with the best PropTech providers on the market.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of RaspiGFX!

Additional Project Details

Registered

2016-09-26