The Graphics package defines structures for graphically representing information, agnostic to the actual drawing API used.
The Graphics package contains several modules:
The Graphics package defines structures for graphically representing information, agnostic to the actual drawing API used.
The Graphics package contains several modules:
{
"name": "Graphics",
"path": "/usr/src/package",
"targets": [
{
"name": "SVGTests",
"path": "Tests/SVGTests",
"type": "test",
"c99name": "SVGTests",
"sources": [
"SVGTests.swift"
],
"module_type": "SwiftTarget",
"target_dependencies": [
"SVG",
"GraphicsTesting"
]
},
{
"name": "SVG",
"path": "Sources/SVG",
"type": "library",
"c99name": "SVG",
"sources": [
"Circle+SVG.swift",
"Color+SVG.swift",
"Double+SVG.swift",
"Ellipse+SVG.swift",
"Fill+SVGInitializable.swift",
"Line+SVG.swift",
"Path+SVG.swift",
"PathElement+SVG.swift",
"Point+SVG.swift",
"Polygon+SVG.swift",
"Polyline+SVG.swift",
"Rectangle+SVG.swift",
"SVG.Group.swift",
"SVG.Parser.swift",
"SVG.swift",
"SVGInitializable.swift",
"Stroke+SVGInitializable.swift",
"StyledPath+SVGInitializable.swift",
"StyledPath.Composite+SVG.swift",
"Styling+SVGInitializable.swift"
],
"module_type": "SwiftTarget",
"product_memberships": [
"SVG"
],
"target_dependencies": [
"Rendering"
],
"product_dependencies": [
"SWXMLHash"
]
},
{
"name": "RenderingTests",
"path": "Tests/RenderingTests",
"type": "test",
"c99name": "RenderingTests",
"sources": [
"ColorTests.swift",
"CompositeTests.swift",
"StyledPathTests.swift",
"TextBoxTests.swift",
"TextTests.swift",
"XCTestManifests.swift"
],
"module_type": "SwiftTarget",
"target_dependencies": [
"Rendering",
"GraphicsTesting"
]
},
{
"name": "Rendering",
"path": "Sources/Rendering",
"type": "library",
"c99name": "Rendering",
"sources": [
"Alignment.swift",
"Color.swift",
"Fill.swift",
"Group.swift",
"Insets.swift",
"Item.swift",
"Renderable.swift",
"Renderer.swift",
"Stroke.swift",
"StyledPath.Composite.swift",
"StyledPath.swift",
"Styling.swift"
],
"module_type": "SwiftTarget",
"product_memberships": [
"Rendering",
"SVG",
"QuartzAdapter",
"GraphicsTesting"
],
"target_dependencies": [
"Path"
]
},
{
"name": "QuartzAdapterTests",
"path": "Tests/QuartzAdapterTests",
"type": "test",
"c99name": "QuartzAdapterTests",
"sources": [
"QuartzAdapterTests.swift"
],
"module_type": "SwiftTarget",
"target_dependencies": [
"QuartzAdapter",
"GraphicsTesting"
]
},
{
"name": "QuartzAdapter",
"path": "Sources/QuartzAdapter",
"type": "library",
"c99name": "QuartzAdapter",
"sources": [
"CALayer+PDF.swift",
"Color+CGColor.swift",
"Path+CAShapeLayer.swift",
"Path+CGPath.swift",
"PathElement+CGPathElement.swift",
"Point+CGPoint.swift",
"Rectangle+CGRect.swift",
"Size+CGSize.swift",
"StyledPath+CAShapeLayer.swift",
"StyledPath.Composite+CALayer.swift",
"TestFrame.swift",
"Text+CATextLayer.swift",
"TextBox+CALayer.swift"
],
"module_type": "SwiftTarget",
"product_memberships": [
"QuartzAdapter",
"GraphicsTesting"
],
"target_dependencies": [
"Rendering"
]
},
{
"name": "PathTests",
"path": "Tests/PathTests",
"type": "test",
"c99name": "PathTests",
"sources": [
"CubicBezierCurveTests.swift",
"EllipseTests.swift",
"LinearBezierCurveTests.swift",
"PathElementTests.swift",
"PathTests.swift",
"QuadraticBezierCurveTests.swift",
"TransformTests.swift",
"XCTestManifests.swift"
],
"module_type": "SwiftTarget",
"target_dependencies": [
"Path",
"Rendering",
"GraphicsTesting"
]
},
{
"name": "Path",
"path": "Sources/Path",
"type": "library",
"c99name": "Path",
"sources": [
"BezierCurve.swift",
"CubicBezierCurve.swift",
"Path+Arrowhead.swift",
"Path+Circle.swift",
"Path+Ellipse.swift",
"Path+Line.Segment.swift",
"Path+Parallelogram.swift",
"Path+PolygonProtocol.swift",
"Path+Polyline.swift",
"Path+Rectangle.swift",
"Path+Square.swift",
"Path+Transform.swift",
"Path.Builder.swift",
"Path.swift",
"PathElement.swift",
"PathRepresentable.swift"
],
"module_type": "SwiftTarget",
"product_memberships": [
"Path",
"Rendering",
"SVG",
"QuartzAdapter",
"GraphicsTesting"
],
"target_dependencies": [
"Geometry"
],
"product_dependencies": [
"Math"
]
},
{
"name": "GraphicsTesting",
"path": "Sources/GraphicsTesting",
"type": "library",
"c99name": "GraphicsTesting",
"sources": [
"GraphicsTesting.swift"
],
"module_type": "SwiftTarget",
"product_memberships": [
"GraphicsTesting"
],
"target_dependencies": [
"QuartzAdapter"
]
},
{
"name": "GeometryTests",
"path": "Tests/GeometryTests",
"type": "test",
"c99name": "GeometryTests",
"sources": [
"AngleTests.swift",
"CollisionDetectionTests.swift",
"LineTests.swift",
"PointTests.swift",
"PolygonTests.swift",
"RectangleTests.swift",
"XCTestManifests.swift"
],
"module_type": "SwiftTarget",
"target_dependencies": [
"Geometry"
]
},
{
"name": "Geometry",
"path": "Sources/Geometry",
"type": "library",
"c99name": "Geometry",
"sources": [
"Angle.swift",
"Axis.swift",
"Bound.swift",
"Circle.swift",
"CollisionDetectable.swift",
"CollisionDetection.swift",
"ConvexPolygon.swift",
"ConvexPolygonContainer.swift",
"ConvexPolygonProtocol.swift",
"Ellipse.swift",
"Extremum.swift",
"Line.Ray.swift",
"Line.Segment.swift",
"Line.swift",
"Point.swift",
"Polygon.swift",
"PolygonError.swift",
"PolygonProtocol.swift",
"Polyline.swift",
"Rectangle.swift",
"Rotation.swift",
"Shape.swift",
"Size.swift",
"Triangle.swift",
"Vector2.swift",
"VertexCollection.swift"
],
"module_type": "SwiftTarget",
"product_memberships": [
"Geometry",
"Path",
"Rendering",
"SVG",
"QuartzAdapter",
"GraphicsTesting"
],
"product_dependencies": [
"Math",
"DataStructures"
]
}
],
"products": [
{
"name": "Geometry",
"type": {
"library": [
"automatic"
]
},
"targets": [
"Geometry"
]
},
{
"name": "Path",
"type": {
"library": [
"automatic"
]
},
"targets": [
"Path"
]
},
{
"name": "Rendering",
"type": {
"library": [
"automatic"
]
},
"targets": [
"Rendering"
]
},
{
"name": "SVG",
"type": {
"library": [
"automatic"
]
},
"targets": [
"SVG"
]
},
{
"name": "QuartzAdapter",
"type": {
"library": [
"automatic"
]
},
"targets": [
"QuartzAdapter"
]
},
{
"name": "GraphicsTesting",
"type": {
"library": [
"automatic"
]
},
"targets": [
"GraphicsTesting"
]
}
],
"platforms": [],
"dependencies": [
{
"url": "https://github.com/drmohundro/SWXMLHash",
"type": "sourceControl",
"identity": "swxmlhash",
"requirement": {
"range": [
{
"lower_bound": "4.1.1",
"upper_bound": "5.0.0"
}
]
}
},
{
"url": "https://github.com/dn-m/Math",
"type": "sourceControl",
"identity": "math",
"requirement": {
"range": [
{
"lower_bound": "0.7.0",
"upper_bound": "1.0.0"
}
]
}
},
{
"url": "https://github.com/dn-m/Structure",
"type": "sourceControl",
"identity": "structure",
"requirement": {
"range": [
{
"lower_bound": "0.23.0",
"upper_bound": "1.0.0"
}
]
}
}
],
"tools_version": "4.2",
"manifest_display_name": "Graphics"
}
{
"name": "Graphics",
"traits": [],
"targets": [
{
"name": "Geometry",
"type": "regular",
"exclude": [],
"settings": [],
"resources": [],
"dependencies": [
{
"byName": [
"Math",
null
]
},
{
"byName": [
"DataStructures",
null
]
}
],
"packageAccess": false
},
{
"name": "Path",
"type": "regular",
"exclude": [],
"settings": [],
"resources": [],
"dependencies": [
{
"byName": [
"Geometry",
null
]
},
{
"byName": [
"Math",
null
]
}
],
"packageAccess": false
},
{
"name": "Rendering",
"type": "regular",
"exclude": [],
"settings": [],
"resources": [],
"dependencies": [
{
"byName": [
"Path",
null
]
}
],
"packageAccess": false
},
{
"name": "SVG",
"type": "regular",
"exclude": [],
"settings": [],
"resources": [],
"dependencies": [
{
"byName": [
"Rendering",
null
]
},
{
"byName": [
"SWXMLHash",
null
]
}
],
"packageAccess": false
},
{
"name": "QuartzAdapter",
"type": "regular",
"exclude": [],
"settings": [],
"resources": [],
"dependencies": [
{
"byName": [
"Rendering",
null
]
}
],
"packageAccess": false
},
{
"name": "GraphicsTesting",
"type": "regular",
"exclude": [],
"settings": [],
"resources": [],
"dependencies": [
{
"byName": [
"QuartzAdapter",
null
]
}
],
"packageAccess": false
},
{
"name": "GeometryTests",
"type": "test",
"exclude": [],
"settings": [],
"resources": [],
"dependencies": [
{
"byName": [
"Geometry",
null
]
}
],
"packageAccess": false
},
{
"name": "PathTests",
"type": "test",
"exclude": [],
"settings": [],
"resources": [],
"dependencies": [
{
"byName": [
"Path",
null
]
},
{
"byName": [
"Rendering",
null
]
},
{
"byName": [
"GraphicsTesting",
null
]
}
],
"packageAccess": false
},
{
"name": "RenderingTests",
"type": "test",
"exclude": [],
"settings": [],
"resources": [],
"dependencies": [
{
"byName": [
"Rendering",
null
]
},
{
"byName": [
"GraphicsTesting",
null
]
}
],
"packageAccess": false
},
{
"name": "SVGTests",
"type": "test",
"exclude": [],
"settings": [],
"resources": [],
"dependencies": [
{
"byName": [
"SVG",
null
]
},
{
"byName": [
"GraphicsTesting",
null
]
}
],
"packageAccess": false
},
{
"name": "QuartzAdapterTests",
"type": "test",
"exclude": [],
"settings": [],
"resources": [],
"dependencies": [
{
"byName": [
"QuartzAdapter",
null
]
},
{
"byName": [
"GraphicsTesting",
null
]
}
],
"packageAccess": false
}
],
"products": [
{
"name": "Geometry",
"type": {
"library": [
"automatic"
]
},
"targets": [
"Geometry"
]
},
{
"name": "Path",
"type": {
"library": [
"automatic"
]
},
"targets": [
"Path"
]
},
{
"name": "Rendering",
"type": {
"library": [
"automatic"
]
},
"targets": [
"Rendering"
]
},
{
"name": "SVG",
"type": {
"library": [
"automatic"
]
},
"targets": [
"SVG"
]
},
{
"name": "QuartzAdapter",
"type": {
"library": [
"automatic"
]
},
"targets": [
"QuartzAdapter"
]
},
{
"name": "GraphicsTesting",
"type": {
"library": [
"automatic"
]
},
"targets": [
"GraphicsTesting"
]
}
],
"pkgConfig": null,
"platforms": [],
"providers": null,
"packageKind": {
"root": [
"/usr/src/package"
]
},
"dependencies": [
{
"sourceControl": [
{
"traits": [
{
"name": "default"
}
],
"identity": "swxmlhash",
"location": {
"remote": [
{
"urlString": "https://github.com/drmohundro/SWXMLHash"
}
]
},
"requirement": {
"range": [
{
"lowerBound": "4.1.1",
"upperBound": "5.0.0"
}
]
},
"productFilter": null
}
]
},
{
"sourceControl": [
{
"traits": [
{
"name": "default"
}
],
"identity": "math",
"location": {
"remote": [
{
"urlString": "https://github.com/dn-m/Math"
}
]
},
"requirement": {
"range": [
{
"lowerBound": "0.7.0",
"upperBound": "1.0.0"
}
]
},
"productFilter": null
}
]
},
{
"sourceControl": [
{
"traits": [
{
"name": "default"
}
],
"identity": "structure",
"location": {
"remote": [
{
"urlString": "https://github.com/dn-m/Structure"
}
]
},
"requirement": {
"range": [
{
"lowerBound": "0.23.0",
"upperBound": "1.0.0"
}
]
},
"productFilter": null
}
]
}
],
"toolsVersion": {
"_version": "4.2.0"
},
"cLanguageStandard": null,
"cxxLanguageStandard": null,
"swiftLanguageVersions": null
}
{
"url": "/usr/src/package",
"name": "Graphics",
"path": "/usr/src/package",
"version": "unspecified",
"identity": "package",
"dependencies": [
{
"url": "https://github.com/drmohundro/SWXMLHash",
"name": "SWXMLHash",
"path": "/usr/src/package/.build/checkouts/SWXMLHash",
"version": "4.9.0",
"identity": "swxmlhash",
"dependencies": []
},
{
"url": "https://github.com/dn-m/Math",
"name": "Math",
"path": "/usr/src/package/.build/checkouts/Math",
"version": "0.8.0",
"identity": "math",
"dependencies": [
{
"url": "https://github.com/dn-m/Structure",
"name": "Structure",
"path": "/usr/src/package/.build/checkouts/Structure",
"version": "0.25.0",
"identity": "structure",
"dependencies": [
{
"url": "https://github.com/dn-m/PerformanceTesting",
"name": "PerformanceTesting",
"path": "/usr/src/package/.build/checkouts/PerformanceTesting",
"version": "0.4.0",
"identity": "performancetesting",
"dependencies": []
}
]
}
]
},
{
"url": "https://github.com/dn-m/Structure",
"name": "Structure",
"path": "/usr/src/package/.build/checkouts/Structure",
"version": "0.25.0",
"identity": "structure",
"dependencies": [
{
"url": "https://github.com/dn-m/PerformanceTesting",
"name": "PerformanceTesting",
"path": "/usr/src/package/.build/checkouts/PerformanceTesting",
"version": "0.4.0",
"identity": "performancetesting",
"dependencies": []
}
]
}
]
}