blend2d.h (3268B)
1 // This file is part of Blend2D project <https://blend2d.com> 2 // 3 // SPDX-License-Identifier: Zlib 4 // Official GitHub Repository: https://github.com/blend2d/blend2d 5 // 6 // Copyright (c) 2017-2024 The Blend2D Authors 7 // 8 // This software is provided 'as-is', without any express or implied 9 // warranty. In no event will the authors be held liable for any damages 10 // arising from the use of this software. 11 // 12 // Permission is granted to anyone to use this software for any purpose, 13 // including commercial applications, and to alter it and redistribute it 14 // freely, subject to the following restrictions: 15 // 16 // 1. The origin of this software must not be misrepresented; you must not 17 // claim that you wrote the original software. If you use this software 18 // in a product, an acknowledgment in the product documentation would be 19 // appreciated but is not required. 20 // 2. Altered source versions must be plainly marked as such, and must not be 21 // misrepresented as being the original software. 22 // 3. This notice may not be removed or altered from any source distribution. 23 24 // ---------------------------------------------------------------------------- 25 // This is a public header file designed to be used by Blend2D users. It 26 // includes all the necessary files required to use Blend2D library from both 27 // C and C++ and it's the only header that is guaranteed to always be provided. 28 // 29 // Never include directly header files placed in "blend2d/" directory. Headers 30 // that end with "_p" suffix are private and should never be included - they 31 // are not part of the public API and they are not part of blend2d-dev packages. 32 // ---------------------------------------------------------------------------- 33 34 #ifndef BLEND2D_H_INCLUDED 35 #define BLEND2D_H_INCLUDED 36 37 #if defined(_MSC_VER) 38 #pragma warning(push) 39 #pragma warning(disable: 4201) // Nameless struct/union. 40 #pragma warning(disable: 4324) // Structure was padded due to alignment specifier. 41 #pragma warning(disable: 4458) // declaration of 'X' hides class member. 42 #pragma warning(disable: 4582) // constructor is not implicitly called. 43 #pragma warning(disable: 4583) // destructor is not implicitly called. 44 #endif 45 46 #include "blend2d/api.h" 47 #include "blend2d/array.h" 48 #include "blend2d/bitarray.h" 49 #include "blend2d/bitset.h" 50 #include "blend2d/context.h" 51 #include "blend2d/filesystem.h" 52 #include "blend2d/font.h" 53 #include "blend2d/fontdata.h" 54 #include "blend2d/fontdefs.h" 55 #include "blend2d/fontface.h" 56 #include "blend2d/fontfeaturesettings.h" 57 #include "blend2d/fontmanager.h" 58 #include "blend2d/fontvariationsettings.h" 59 #include "blend2d/format.h" 60 #include "blend2d/geometry.h" 61 #include "blend2d/glyphbuffer.h" 62 #include "blend2d/glyphrun.h" 63 #include "blend2d/gradient.h" 64 #include "blend2d/image.h" 65 #include "blend2d/imagecodec.h" 66 #include "blend2d/imagedecoder.h" 67 #include "blend2d/imageencoder.h" 68 #include "blend2d/matrix.h" 69 #include "blend2d/object.h" 70 #include "blend2d/path.h" 71 #include "blend2d/pattern.h" 72 #include "blend2d/pixelconverter.h" 73 #include "blend2d/random.h" 74 #include "blend2d/rgba.h" 75 #include "blend2d/runtime.h" 76 #include "blend2d/runtimescope.h" 77 #include "blend2d/string.h" 78 #include "blend2d/var.h" 79 80 #if defined(_MSC_VER) 81 #pragma warning(pop) 82 #endif 83 84 #endif // BLEND2D_H_INCLUDED