Skip to content

tearsofphoenix/VeritasGraphics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Veritas Graphics

Veritas Graphics is a artificial graphics rendering library based on NanoVG. All APIs are learned from Apple CoreGraphics & CoreAnimation.

Screenshot

screenshot under development

Usage

The Veritas Graphics API is modeled loosely on QuartzCore API.

Creating Render context

#include "VGContext.h"
...
struct NVGcontext* vg = nvgCreateGL2(NVG_ANTIALIAS | NVG_STENCIL_STROKES);
VGContextCreate(vg);

This will create a render context, you can access this context by extern VGContextRef VGGetCurrentContext(void).

Using UI in VeritasGraphics

  1. VGLabel
  2. VGButton
  3. VGSpinner
  4. VGSlider
  5. VGInput
  6. VGCheckBox

License

The library is licensed under zlib license

Releases

No releases published

Packages

No packages published

Languages