Awesome Open Source
Awesome Open Source

gbox

The Graphic Box Library

Introduction

gbox is a mutli-platform c graphic library.

It is now in the early stages of development only for reference and learning.

If you are interesting to this project, please view the source code.

Features

  • Support 2d vector drawing
  • Support matrix transform
  • Support fill and stroke for solid, gradient and image
  • Support custom path and drawing
  • Support float and fixed point computation
  • Provide custom drawing devices
  • Support OpenGL ES 1.0/2.0
  • Support soft algorithm for drawing
  • Implement mesh structure and algorithm
  • Implement complex polygon tessellator and triangulation
  • Support odd and nonzero fill
  • Implement polygon scanning algorithm
  • Provide multi-platform windows(.e.g glut, sdl and x11, framebuffer, ios, android in the feature)

In the plans

  • Draw svg images
  • Implement anti-aliasing
  • More drawing devices and windows
  • Draw text
  • Development ui and game engine

Build

please install xmake first: xmake

$ cd ./gbox
$ xmake

Run

$ xmake run core

Documents

Contacts

GBOXcwindowslinuxmaciosandroid

  • 2d
  • gpuopengl es 1.0/2.0bitmap
  • ==
  • mesh
  • glutsdlx11framebuffer, ios/androidwindows

  • svg
  • ui

  • opengltiger.svg60fps
  • bitmaptiger.svg30-40fpspc

: xmake

cd ./gbox
xmake

$ xmake run core


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Algorithms (10,487
Drawing (603
Sdl (550
Graphics Library (158
Related Projects