Added support for SVG
This commit is contained in:
18
thirdparty/nanosvg/LICENSE.txt
vendored
Normal file
18
thirdparty/nanosvg/LICENSE.txt
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
Copyright (c) 2013-14 Mikko Mononen memon@inside.org
|
||||
|
||||
This software is provided 'as-is', without any express or implied
|
||||
warranty. In no event will the authors be held liable for any damages
|
||||
arising from the use of this software.
|
||||
|
||||
Permission is granted to anyone to use this software for any purpose,
|
||||
including commercial applications, and to alter it and redistribute it
|
||||
freely, subject to the following restrictions:
|
||||
|
||||
1. The origin of this software must not be misrepresented; you must not
|
||||
claim that you wrote the original software. If you use this software
|
||||
in a product, an acknowledgment in the product documentation would be
|
||||
appreciated but is not required.
|
||||
2. Altered source versions must be plainly marked as such, and must not be
|
||||
misrepresented as being the original software.
|
||||
3. This notice may not be removed or altered from any source distribution.
|
||||
|
||||
2
thirdparty/nanosvg/README.md
vendored
Normal file
2
thirdparty/nanosvg/README.md
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
See:
|
||||
https://github.com/memononen/nanosvg
|
||||
8
thirdparty/nanosvg/src/nanosvg.cc
vendored
Normal file
8
thirdparty/nanosvg/src/nanosvg.cc
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
#include "stdio.h"
|
||||
#include "string.h"
|
||||
#include "math.h"
|
||||
#define NANOSVG_ALL_COLOR_KEYWORDS
|
||||
#define NANOSVG_IMPLEMENTATION
|
||||
#include "nanosvg.h"
|
||||
#define NANOSVGRAST_IMPLEMENTATION
|
||||
#include "nanosvgrast.h"
|
||||
2925
thirdparty/nanosvg/src/nanosvg.h
vendored
Normal file
2925
thirdparty/nanosvg/src/nanosvg.h
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1447
thirdparty/nanosvg/src/nanosvgrast.h
vendored
Normal file
1447
thirdparty/nanosvg/src/nanosvgrast.h
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user