mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-13 19:44:28 +00:00
svg_loader: code refactoring
remove more unused declarations...
This commit is contained in:
parent
3e7888b538
commit
571a1e5caa
1 changed files with 3 additions and 32 deletions
|
@ -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<SvgStyleGradient*> 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;
|
||||
|
|
Loading…
Add table
Reference in a new issue