swift-graphics
swift-graphics copied to clipboard
Cross-platform 2D graphics library for Swift
I'm trying to add the `swift-gif` package to my project, but I am getting a build error from the Cairo package. I'm running Xcode 14.0.0, I used brew to install...
It would be cool to have a backend with no dependencies at all (besides Swift) that rasterizes directly into a pixel buffer. However, we would probably want to split out...
It would be cool to have a backend for HTML canvas when targeting browsers through WebAssembly.
I would use similar method ``` graphics.draw(Text("Test", at: Vec2(x: 0, y: 15))) ``` but I would set font and size also.
Trying to use an external package with Swift for the first time, so maybe it's just my lack of experience... I figured out how to add the package (with help...
For the next major version, we may consider a new naming scheme that is simpler for downstream consumers, e.g. - Modules - `Graphics` -> `GraphicsBase` - `PlatformGraphics` -> `Graphics` (re-exporting...