Doug Binks
3d3582cd9a
Moved to floating point color via NVGcolor structure.
Currently working with gl3buf backend.
11 years ago
Mikko Mononen
0262883c55
Fixes for AA on retina, a bit finer tessellation
- changed tessellation threshold from 0.3 to 0.25
- fixed scissor AA on retina
- fixed stroke AA on retina
11 years ago
Mikko Mononen
ba3c0cbce1
Fix for issue #40 : Added support to render using premultiplied alpha
- added support to take screen shots
- added support to render to frame buffer using premultiplied alpha
- fixed spelling NVGaling -> NVGalign
11 years ago
Mikko Mononen
0c6d5d3702
Added NVG_ANTIALIAS into read me, commented line cap/join
11 years ago
Mikko Mononen
0ec2be7a6c
Added support for line caps and joins
11 years ago
Jim Tilander
8e434b0467
Fixed some warnings with MS compiler
11 years ago
Mikko Mononen
6840bf8478
Simplified back-end API a little
- removed assize from the back-end api
- moved image to paint in renderTriangles call
11 years ago
Mikko Mononen
1378269815
Fixed unused variables and scissor under zoom
- added NVG_NOTUSED to suppress unused param warnings
- fixed scissor anti-aliased border width when zoomed
11 years ago
Mikko Mononen
d41083886a
Added retina/hi-dpi support
- fixed off-by-one pixels from demo
- added device-pixel-ratio support (retina support)
- added nvgEndFrame()
11 years ago
Mikko Mononen
ecb0a9c394
Removed scaling from nvgTextBounds and nvgVertMetrics and commented the behavior
11 years ago
Mikko Mononen
cd376082ba
Added MSAA option for backends
- added option to turn off AA fringe generation
- added examples which use no AA fringes and MSAA
11 years ago
Mikko Mononen
39602081e8
Fix for issue #11, added C++ guards
11 years ago
Mikko Mononen
8b234ca953
Improved rendering performance of convex shapes and on gl3 back-end
- set swap interval to 0 to better see performance
- draw convex shapes without stencil to speed things up
- improve vertex buffer upload for gl3
11 years ago
Mikko Mononen
9b00b7aaf5
Implemented OGL 3.2 core profile back-end
- moved demo stuff to separate file
- created two separate examples for gl2 and gl3
- initial stab at OGL 3.2 core profile back-end (currently twice as
slows as 2.0)
- API change: glBeginFrame() takes view witdth and height as input
- added FPS counter to demo
11 years ago
Mikko Mononen
786dffa0cb
First stab at documentation.
11 years ago
Mikko Mononen
4b9dc973f7
Fixed arcTo, small additions to API
- fixed nvgArcTo
- added nvgTransRGBA, allows to change alpha of color
- added nvgFindFont, allows to find font id by name
11 years ago
Mikko Mononen
99e7d9b21d
added texture atlas size to glnvgCreate()
11 years ago
Mikko Mononen
68d27124a8
- decorated math functions
- updated font stash
- added end parameter to text (can draw substring)
- text and text measure return advance/width
11 years ago
Mikko Mononen
6c0d41a124
Fixed small arc rendering, improved example, added screenshot
- fixed arc rendering for small arcs
- added color wheel to example
- added screenshot
11 years ago
Mikko Mononen
b89907ba6b
First commit
11 years ago