From 571a1e5caa35d8422e70ee54c2b12058f19612c6 Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Wed, 30 Jun 2021 14:09:09 +0900 Subject: [PATCH] svg_loader: code refactoring remove more unused declarations... --- src/loaders/svg/tvgSvgLoaderCommon.h | 35 +++------------------------- 1 file changed, 3 insertions(+), 32 deletions(-) diff --git a/src/loaders/svg/tvgSvgLoaderCommon.h b/src/loaders/svg/tvgSvgLoaderCommon.h index 7c1416e4..042e3821 100644 --- a/src/loaders/svg/tvgSvgLoaderCommon.h +++ b/src/loaders/svg/tvgSvgLoaderCommon.h @@ -25,30 +25,24 @@ #include "tvgCommon.h" #include "tvgArray.h" +struct SvgNode; +struct SvgStyleGradient; + enum class SvgNodeType { Doc, G, Defs, - //Switch, //Not support - Animation, - Arc, Circle, Ellipse, - Image, Line, Path, Polygon, Polyline, Rect, - Text, - TextArea, - Tspan, Use, - Video, ClipPath, Mask, - //Custome_command, //Not support Unknown }; @@ -63,7 +57,6 @@ enum class SvgLengthType In, }; - enum class SvgFillFlags { Paint = 0x01, @@ -91,20 +84,6 @@ enum class SvgGradientType Radial }; -enum class SvgStyleType -{ - Quality, - Fill, - ViewportFill, - Font, - Stroke, - SolidColor, - Gradient, - Transform, - Opacity, - CompOp -}; - enum class SvgFillRule { Winding = 0, @@ -120,10 +99,6 @@ enum class SvgParserLengthType Other }; -struct SvgNode; -struct SvgStyleGradient; - - struct SvgDocNode { float w; @@ -145,9 +120,6 @@ struct SvgDefsNode Array gradients; }; -struct SvgArcNode -{ -}; struct SvgEllipseNode { @@ -298,7 +270,6 @@ struct SvgNode SvgGNode g; SvgDocNode doc; SvgDefsNode defs; - SvgArcNode arc; SvgCircleNode circle; SvgEllipseNode ellipse; SvgPolygonNode polygon;