SimpleGFX  1.0
Simple Graphics Library for C Programming Education
simple.c File Reference

Basic example demonstrating text and circle drawing. More...

#include "gfx/simplegfx.h"

Functions

int main ()
 

Detailed Description

Basic example demonstrating text and circle drawing.

Author
Sukesh Ashok Kumar

This is the simplest example to get started with the SimpleGFX library. It demonstrates the basic structure of a graphics program:

  1. Initialize the graphics window
  2. Draw some graphics (text and shapes)
  3. Present the result to the screen
  4. Wait for user to view
  5. Clean up and exit

What you'll learn:

Compile:

gcc simple.c gfx/simplegfx.c -o output/simple -lX11

Run:

./output/simple

Function Documentation

◆ main()

int main ( )