Skip Navigation

cGrafix

cGrafix

Cgrafix is a lightweight C graphics library that works only on Windows. It uses the native Windows API to render shapes, text, and visuals directly on the screen. No extra dependencies needed.

LibraryPure C Programming

Overview

Cgrafix is a simple window-platform development library designed to provide low level access to graphics. It can be used to create simple games and physics visualization.

Preview

cGrafix screenshot 1 of 3
cGrafix screenshot 2 of 3
cGrafix screenshot 3 of 3
01/03

Key Features

  • 3D Rendering

    Render wireframe 3D objects like cubes with axis indicators directly in a window.

  • Shape Drawing

    Draw circles, rectangles, lines, and other geometric primitives with simple function calls.

  • Font Rendering

    Render custom fonts and text directly onto the graphics window.

  • Image Display

    Load and display pixel art and images within the graphics context.

  • Documented API

    Well-documented functions like getGrafixFPS, createGrafixImage, drawGrafixLine, drawGrafixCircle, and more.

  • Lightweight

    No external dependencies. Uses the native Windows API for all rendering operations.

Tech Stack

Pure C
Windows API
Makefile