Mikko Mononen
							
						 
						
							
							
							
								
							
								4cc5fd68d1 
								
							
								 
							
						 
						
							
							
								
								Improved nvgTextGlyphPositions()  
							
							 
							
							 
							
							
								
							
							
							- added glyph min/max x
- fixed first glyph position 
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Mikko Mononen
							
						 
						
							
							
							
								
							
								2beba289c4 
								
							
								 
							
						 
						
							
							
								
								Fix for issue  #72  
							
							 
							
							 
							
							
								
							
							
							- scale and letterspacing were mixed in call to getQuad 
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Mikko Mononen
							
						 
						
							
							
							
								
							
								9d62d28bdf 
								
							
								 
							
						 
						
							
							
								
								Fix for issue  #69  
							
							 
							
							 
							
							
								
							
							
							- make default uniform struct align 4 
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Andrew Corrigan
							
						 
						
							
							
							
								
							
								ee1e66e721 
								
							
								 
							
						 
						
							
							
								
								fixes texture formats for GLES2/GLES3  
							
							 
							
							
								
							
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Mikko Mononen
							
						 
						
							
							
							
								
							
								5a4e5a3d7c 
								
							
								 
							
						 
						
							
							
								
								Added nvgCurrentTransform() and exposed matrix functions  
							
							 
							
							 
							
							
								
							
							
							- added nvgCurrentTransform() which allows to get the current
transformation matrix
- added skew x/y transforms
- exposed functions 2x3 matrix functions
- exposed point transform
- added deg/rad conversion functions 
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Mikko Mononen
							
						 
						
							
							
							
								
							
								be16b4dff3 
								
							
								 
							
						 
						
							
							
								
								Made old GL backends obsolete, added docs  
							
							 
							
							 
							
							
								
							
							
							- added documentation about changed GL state
- made old GL2 and GL3 backends obsolete 
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Mikko Mononen
							
						 
						
							
							
							
								
							
								6edc46e5b0 
								
							
								 
							
						 
						
							
							
								
								Allow small strokes, fixed textBoxBounds()  
							
							 
							
							 
							
							
								
							
							
							- added test for multiple stroke widths
- allow stroke width down to 1px size, then scale with alpha
- fixed textBoxBounds() in hi-dpi 
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Mikko Mononen
							
						 
						
							
							
							
								
							
								b54faeff30 
								
							
								 
							
						 
						
							
							
								
								Added TODO about GLES2 pixel shader precision  
							
							 
							
							
								
							
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Mikko Mononen
							
						 
						
							
							
							
								
							
								b416f76b1c 
								
							
								 
							
						 
						
							
							
								
								Added nvgTextBoxBounds, fixed nvgTextBounds  
							
							 
							
							 
							
							
								
							
							
							- nvgTextBounds() API changed, assumes x,y as input too
- fixed nvgTextBounds() return values
- added nvgTextBoxBounds()
- text line width is handle more consistently
- added note about return values of text measure funds
- changed demo to show text(box)bounds usage 
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Mikko Mononen
							
						 
						
							
							
							
								
							
								407cd75a98 
								
							
								 
							
						 
						
							
							
								
								Fixed rendering artefacts when not using uniform buffers  
							
							 
							
							 
							
							
								
							
							
							- made uniform buffer support behind separate define for easier toggling
- calculate scissor and stroke alpha outside type selection to simplify
the shader (or else it produces rendering artefacts)
- restore default pixel store settings instead of restoring old state
- set active texture to 0 when starting to render a frame 
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Mikko Mononen
							
						 
						
							
							
							
								
							
								8f16ad0e07 
								
							
								 
							
						 
						
							
							
								
								Clear frag uniforms before filling  
							
							 
							
							
								
							
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Mikko Mononen
							
						 
						
							
							
							
								
							
								9d367dcb81 
								
							
								 
							
						 
						
							
							
								
								GL3buf backend supports GL2 too (not yet enabled)  
							
							 
							
							 
							
							
								
							
							
							- added support for GL(ES)2 for nanovg_gl3buf (something is still not
quite there)
- nanovg now sets all required GL state
- removed compiler warnings about unused vars 
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Mikko Mononen
							
						 
						
							
							
							
								
							
								fdb96903c8 
								
							
								 
							
						 
						
							
							
								
								Fixed text related calculations for hi-dpi rendering  
							
							 
							
							 
							
							
								
							
							
							- calculate all text related stuff using scaling
- removed a couple of compiler warnings
- tweaked caret picking 
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Mikko Mononen
							
						 
						
							
							
							
								
							
								7a282bd934 
								
							
								 
							
						 
						
							
							
								
								Added some TODOs, no return value for textbox  
							
							 
							
							
								
							
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Mikko Mononen
							
						 
						
							
							
							
								
							
								635f4a4afb 
								
							
								 
							
						 
						
							
							
								
								Added multi-line text drawing  
							
							 
							
							 
							
							
								
							
							
							- fixed some warnings
- changed nvgLetterSpacing() to nvgTextLetterSpacing()
- added nvgTextBox()
- added nvgTextLineHeight()
- added some documentation 
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Mikko Mononen
							
						 
						
							
							
							
								
							
								ff8b521506 
								
							
								 
							
						 
						
							
							
								
								Added text break line and glyph position functions  
							
							 
							
							 
							
							
								
							
							
							- added debug configs for the lib
- added more data for font stash text iterator (ptr to current and next
position in string, code point)
- renamed nvgVertMetrics() to nvgTextMetrics()
- added nvgTextGlyphPositions() which returns glyph x position for the
text
- added nvgTextBreakLines breaks a text into multiple rows based on
newlines and max row width
- tweaked tessellation tolerance 
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Mikko Mononen
							
						 
						
							
							
							
								
							
								2d5c1845ac 
								
							
								 
							
						 
						
							
							
								
								Removed unused function  
							
							 
							
							
								
							
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Mikko Mononen
							
						 
						
							
							
							
								
							
								888103db39 
								
							
								 
							
						 
						
							
							
								
								Adjusted tessellation  
							
							 
							
							 
							
							
								
							
							
							- changed tessellation flatness test which produces less vertices
(especially when using straight lines)
- added nvgDebugDumpPathCache which allows to dump path cache state to
stout 
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Mikko Mononen
							
						 
						
							
							
							
								
							
								8d88a9b38e 
								
							
								 
							
						 
						
							
							
								
								Fixed bug in fonsTextIterNext()  
							
							 
							
							
								
							
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Doug Binks
							
						 
						
							
							
							
								
							
								f398f26018 
								
							
								 
							
						 
						
							
							
								
								Bugfix to nvgRGBf  
							
							 
							
							
								
							
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Doug Binks
							
						 
						
							
							
							
								
							
								c3f50b9c01 
								
							
								 
							
						 
						
							
							
								
								Removed nvgIsBlack, and added isBlack to demo.c  
							
							 
							
							
								
							
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Doug Binks
							
						 
						
							
							
							
								
							
								253dc627e7 
								
							
								 
							
						 
						
							
							
								
								Added nvgTransRGBAf  
							
							 
							
							
								
							
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Doug Binks
							
						 
						
							
							
							
								
							
								a83913bc87 
								
							
								 
							
						 
						
							
							
								
								Added nvgRGBf and nvgRGBAf constructor functions.  
							
							 
							
							
								
							
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Doug Binks
							
						 
						
							
							
							
								
							
								466ab4b19a 
								
							
								 
							
						 
						
							
							
								
								Converted spaces to tabs.  
							
							 
							
							
								
							
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Doug Binks
							
						 
						
							
							
							
								
							
								d16b4df7fd 
								
							
								 
							
						 
						
							
							
								
								Warning/Error fix: added int return type to nvgIsBlack  
							
							 
							
							
								
							
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Doug Binks
							
						 
						
							
							
							
								
							
								730b8c2edd 
								
							
								 
							
						 
						
							
							
								
								Converted gl3 unbuffered version.  
							
							 
							
							
								
							
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Doug Binks
							
						 
						
							
							
							
								
							
								5ed1b21855 
								
							
								 
							
						 
						
							
							
								
								Converted gl2 path.  
							
							 
							
							
								
							
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Doug Binks
							
						 
						
							
							
							
								
							
								3d3582cd9a 
								
							
								 
							
						 
						
							
							
								
								Moved to floating point color via NVGcolor structure.  
							
							 
							
							 
							
							
								
							
							
							Currently working with gl3buf backend. 
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Mikko Mononen
							
						 
						
							
							
							
								
							
								b47f256607 
								
							
								 
							
						 
						
							
							
								
								Updated fontstash  
							
							 
							
							
								
							
							
						 
						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  
					 
				
					
						
							
							
								   Kyle Gretchev
							
						 
						
							
							
							
								
							
								db5c78fb00 
								
							
								 
							
						 
						
							
							
								
								Variable initialization, unused var removal, and casts.  
							
							 
							
							 
							
							
								
							
							
							Removed some unused variables to silence compiler warnings, initialized
variables to 0, added varialbe casts to silence additional compiler
warnings. 
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Mikko Mononen
							
						 
						
							
							
							
								
							
								8b55ae414e 
								
							
								 
							
						 
						
							
							
								
								Improved miter and bevel line joins  
							
							 
							
							
								
							
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Mikko Mononen
							
						 
						
							
							
							
								
							
								22e58d6d83 
								
							
								 
							
						 
						
							
							
								
								Merged latest changes from fontstash  
							
							 
							
							 
							
							
								
							
							
							- merged font stash optional FreeType support 
							
						 
						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  
					 
				
					
						
							
							
								   Sebastian Wagner
							
						 
						
							
							
							
								
							
								7013386026 
								
							
								 
							
						 
						
							
							
								
								fixed error return value  
							
							 
							
							
								
							
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Mikko Mononen
							
						 
						
							
							
							
								
							
								5de5c1d2a0 
								
							
								 
							
						 
						
							
							
								
								Improve stroke rendering  
							
							 
							
							 
							
							
								
							
							
							- added better logic for inner bevels
- tweaks to reduce overdraw at edges
- fixed convex shape logic 
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Andrew Corrigan
							
						 
						
							
							
							
								
							
								38bb65617e 
								
							
								 
							
						 
						
							
							
								
								reduces warnings  
							
							 
							
							
								
							
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Doug Binks
							
						 
						
							
							
							
								
							
								5d8e63c81c 
								
							
								 
							
						 
						
							
							
								
								Another reset pixel storage settings after load texture.  
							
							 
							
							
								
							
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Doug Binks
							
						 
						
							
							
							
								
							
								a5965635a6 
								
							
								 
							
						 
						
							
							
								
								Reset pixel storage settings after load texture.  
							
							 
							
							
								
							
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Caleb Gingles
							
						 
						
							
							
							
								
							
								fbdc947802 
								
							
								 
							
						 
						
							
							
								
								Improve VC support  
							
							 
							
							
								
							
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Caleb Gingles
							
						 
						
							
							
							
								
							
								731cb55221 
								
							
								 
							
						 
						
							
							
								
								Update nanovg.c  
							
							 
							
							
								
							
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Mikko Mononen
							
						 
						
							
							
							
								
							
								99bd7b358e 
								
							
								 
							
						 
						
							
							
								
								Moving variables at top of blocks for better VC support  
							
							 
							
							
								
							
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Mikko Mononen
							
						 
						
							
							
							
								
							
								0c6d5d3702 
								
							
								 
							
						 
						
							
							
								
								Added NVG_ANTIALIAS into read me, commented line cap/join  
							
							 
							
							
								
							
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Jim Tilander
							
						 
						
							
							
							
								
							
								683785dbfa 
								
							
								 
							
						 
						
							
							
								
								Quick guard against NULL ptr dereference of texture type on CPU side  
							
							 
							
							
								
							
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Mikko Mononen
							
						 
						
							
							
							
								
							
								b043187a51 
								
							
								 
							
						 
						
							
							
								
								gl3buf refactoring  
							
							 
							
							 
							
							
								
							
							
							- implemented missing scissor from draw triangles
- buffer a whole frame of uniforms
- moved paint to uniform conversion earlier
- simplified render loops and data structures
- renamed bunch of things
- combined shaders, use define to disable AA 
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Mikko Mononen
							
						 
						
							
							
							
								
							
								85fb384a3d 
								
							
								 
							
						 
						
							
							
								
								UBO fixes  
							
							 
							
							 
							
							
								
							
							
							- correct fix for ubo memroy allocation (use returned alignment instead
of struct size)
- separated convex fill to own command type
- moved uboPos to call struct 
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Mikko Mononen
							
						 
						
							
							
							
								
							
								3b8c63b6d5 
								
							
								 
							
						 
						
							
							
								
								Fixed bug on ubo allocation, formatting fixes  
							
							 
							
							
								
							
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Kyle Gretchev
							
						 
						
							
							
							
								
							
								fa8d2a9d03 
								
							
								 
							
						 
						
							
							
								
								Added glMapBuffer cast  
							
							 
							
							 
							
							
								
							
							
							Cast void* to char* to remove compiler warning in C++ project in VS2013 
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Mikko Mononen
							
						 
						
							
							
							
								
							
								4a1e66a515 
								
							
								 
							
						 
						
							
							
								
								Do bevels only at control points  
							
							 
							
							
								
							
							
						 
						11 years ago  
					 
				
					
						
							
							
								   Mikko Mononen
							
						 
						
							
							
							
								
							
								0ec2be7a6c 
								
							
								 
							
						 
						
							
							
								
								Added support for line caps and joins  
							
							 
							
							
								
							
							
						 
						11 years ago