#define _TVG_SW_COMMON_H_
#include "tvgCommon.h"
+#include "tvgRender.h"
#ifdef THORVG_AVX_VECTOR_SUPPORT
#include <immintrin.h>
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
+#include <float.h>
+#include <math.h>
#include "tvgSwCommon.h"
* SOFTWARE.
*/
#include "tvgSwCommon.h"
+#include "tvgRender.h"
/************************************************************************/
/* Internal Class Implementation */
* SOFTWARE.
*/
#include "tvgSwCommon.h"
+#include "tvgTaskScheduler.h"
#include "tvgSwRenderer.h"
/************************************************************************/
#ifndef _TVG_SW_RENDERER_H_
#define _TVG_SW_RENDERER_H_
+#include <vector>
+#include "tvgRender.h"
+
struct SwSurface;
struct SwTask;
#include <setjmp.h>
#include <limits.h>
#include <memory.h>
+
#include "tvgSwCommon.h"
/************************************************************************/
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
+#include <math.h>
#include "tvgSwCommon.h"
+#include "tvgBezier.h"
/************************************************************************/
/* Internal Class Implementation */
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
+#include <string.h>
+#include <math.h>
#include "tvgSwCommon.h"
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
-#include "tvgCommon.h"
-
+#include <float.h>
+#include <math.h>
+#include "tvgBezier.h"
/************************************************************************/
/* Internal Class Implementation */
#ifndef _TVG_BEZIER_H_
#define _TVG_BEZIER_H_
+#include "tvgCommon.h"
+
namespace tvg
{
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
-#include "tvgCommon.h"
#include "tvgCanvasImpl.h"
/************************************************************************/
#ifndef _TVG_CANVAS_IMPL_H_
#define _TVG_CANVAS_IMPL_H_
+#include <vector>
#include "tvgPaint.h"
/************************************************************************/
#define _TVG_COMMON_H_
#include "config.h"
-
-#include <iostream>
-#include <vector>
-#include <math.h>
-#include <float.h>
-#include <string.h>
-#include <memory>
-#include <future>
-
#include "thorvg.h"
using namespace std;
#define TVG_UNUSED __attribute__ ((__unused__))
-#include "tvgBezier.h"
-#include "tvgLoader.h"
-#include "tvgLoaderMgr.h"
-#include "tvgRender.h"
-#include "tvgTaskScheduler.h"
-
#endif //_TVG_COMMON_H_
#ifndef _TVG_FILL_H_
#define _TVG_FILL_H_
+#include <string.h>
#include "tvgCommon.h"
template<typename T>
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
-#include "tvgCommon.h"
#include "tvgCanvasImpl.h"
#ifdef THORVG_GL_RASTER_SUPPORT
* SOFTWARE.
*/
#include "tvgCommon.h"
+#include "tvgTaskScheduler.h"
#include "tvgLoaderMgr.h"
#ifdef THORVG_SW_RASTER_SUPPORT
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
+#include <float.h>
+#include <math.h>
#include "tvgFill.h"
/************************************************************************/
#ifndef _TVG_LOADER_H_
#define _TVG_LOADER_H_
+#include "tvgCommon.h"
+
namespace tvg
{
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
-#include "tvgCommon.h"
+#include "tvgLoaderMgr.h"
#ifdef THORVG_SVG_LOADER_SUPPORT
#include "tvgSvgLoader.h"
#ifndef _TVG_LOADER_MGR_H_
#define _TVG_LOADER_MGR_H_
+#include "tvgLoader.h"
+
struct LoaderMgr
{
static bool init();
#ifndef _TVG_PAINT_H_
#define _TVG_PAINT_H_
-#include "tvgCommon.h"
+#include <float.h>
+#include <math.h>
+#include "tvgRender.h"
namespace tvg
{
#define _TVG_PICTURE_IMPL_H_
#include "tvgPaint.h"
+#include "tvgLoaderMgr.h"
/************************************************************************/
/* Internal Class Implementation */
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
+#include <float.h>
#include "tvgFill.h"
/************************************************************************/
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
-#include "tvgCommon.h"
+#include <float.h>
+#include <math.h>
+#include "tvgRender.h"
/************************************************************************/
/* Internal Class Implementation */
#ifndef _TVG_RENDER_H_
#define _TVG_RENDER_H_
+#include "tvgCommon.h"
+
namespace tvg
{
#ifndef _TVG_SCENE_IMPL_H_
#define _TVG_SCENE_IMPL_H_
+#include <vector>
#include "tvgPaint.h"
/************************************************************************/
* SOFTWARE.
*/
#include <limits>
-
#include "tvgShapeImpl.h"
/************************************************************************/
#ifndef _TVG_SHAPE_PATH_H_
#define _TVG_SHAPE_PATH_H_
+#include <string.h>
#include "tvgCommon.h"
/************************************************************************/
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
-#include "tvgCommon.h"
#include "tvgCanvasImpl.h"
#ifdef THORVG_SW_RASTER_SUPPORT
*/
#include <deque>
#include <thread>
-#include "tvgCommon.h"
+#include <vector>
+#include "tvgTaskScheduler.h"
/************************************************************************/
/* Internal Class Implementation */
#ifndef _TVG_TASK_SCHEDULER_H_
#define _TVG_TASK_SCHEDULER_H_
+#include <future>
#include "tvgCommon.h"
namespace tvg
* SOFTWARE.
*/
+#include <ctype.h>
+#include <cstring>
+#include <alloca.h>
+
#include "tvgSimpleXmlParser.h"
static const char* _simpleXmlFindWhiteSpace(const char* itr, const char* itrEnd)
#ifndef _TVG_SIMPLE_XML_PARSER_H_
#define _TVG_SIMPLE_XML_PARSER_H_
-#include <ctype.h>
-#include <cstring>
-#include <alloca.h>
+#include "tvgSvgLoaderCommon.h"
enum class SimpleXMLType
{
*/
#include <stddef.h>
#include <fstream>
+#include <string.h>
+#include <float.h>
+#include <math.h>
+#include "tvgLoaderMgr.h"
+#include "tvgSimpleXmlParser.h"
#include "tvgSvgLoader.h"
-
/************************************************************************/
/* Internal Class Implementation */
/************************************************************************/
#ifndef _TVG_SVG_LOADER_H_
#define _TVG_SVG_LOADER_H_
-#include "tvgSvgLoaderCommon.h"
+#include "tvgTaskScheduler.h"
#include "tvgSvgSceneBuilder.h"
class SvgLoader : public Loader, public Task
#define _TVG_SVG_LOADER_COMMON_H_
#include "tvgCommon.h"
-#include "tvgSimpleXmlParser.h"
enum class SvgNodeType
{
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
+#include <string.h>
+#include <math.h>
#include "tvgSvgPath.h"
-
static char* _skipComma(const char* content)
{
while (*content && isspace(*content)) {
#ifndef _TVG_SVG_PATH_H_
#define _TVG_SVG_PATH_H_
-#include "tvgCommon.h"
+#include <vector>
+#include "tvgSvgLoaderCommon.h"
tuple<vector<tvg::PathCommand>, vector<tvg::Point>> svgPathToTvgPath(const char* svg_path_data);
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
+#include <math.h>
#include "tvgSvgSceneBuilder.h"
+#include "tvgSvgPath.h"
unique_ptr<LinearGradient> _applyLinearGradientProperty(SvgStyleGradient* g, Shape* vg, float rx, float ry, float rw, float rh)
{
#define _TVG_SVG_SCENE_BUILDER_H_
#include "tvgSvgLoaderCommon.h"
-#include "tvgSvgPath.h"
class SvgSceneBuilder
{