1*4882a593SmuzhiyunCopyright (c) 2008 - 2013 Paul Butler and contributors 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunThis sofware may be used under a zlib/libpng-style license: 4*4882a593Smuzhiyun 5*4882a593SmuzhiyunThis software is provided 'as-is', without any express or implied warranty. In 6*4882a593Smuzhiyunno event will the authors be held liable for any damages arising from the use 7*4882a593Smuzhiyunof this software. 8*4882a593Smuzhiyun 9*4882a593SmuzhiyunPermission is granted to anyone to use this software for any purpose, including 10*4882a593Smuzhiyuncommercial applications, and to alter it and redistribute it freely, subject to 11*4882a593Smuzhiyunthe following restrictions: 12*4882a593Smuzhiyun 13*4882a593Smuzhiyun1. The origin of this software must not be misrepresented; you must not claim 14*4882a593Smuzhiyunthat you wrote the original software. If you use this software in a product, an 15*4882a593Smuzhiyunacknowledgment in the product documentation would be appreciated but is not 16*4882a593Smuzhiyunrequired. 17*4882a593Smuzhiyun 18*4882a593Smuzhiyun2. Altered source versions must be plainly marked as such, and must not be 19*4882a593Smuzhiyunmisrepresented as being the original software. 20*4882a593Smuzhiyun 21*4882a593Smuzhiyun3. This notice may not be removed or altered from any source distribution. 22*4882a593Smuzhiyun 23