SVGView icon indicating copy to clipboard operation
SVGView copied to clipboard

SVG parser and renderer written in SwiftUI

Results 45 SVGView issues
Sort by recently updated
recently updated
newest added

Right now in `SVGDataImage` and `SVGURLImage` I see modifier `.frame(width: model.width, height: model.height)`, so image always this this size, I suggest replace it with `resizable()` modifier to let user to...

`@Published` is a part of Combine, not importing Combine everywhere its used will cause a [Unknown attribute 'Combine.Published'](https://stackoverflow.com/questions/69473492/xcode-xcframework-errors-like-unknown-attribute-combine-published) when compiled as a XCFramework. This PR adds `import Combine` to all...

In the stylesheet of an SVG, we can have `opacity`, `fill-opacity`, and `stroke-opacity`. When `opacity` is used, it should affect both fill and stroke if `fill-opacity` and `stroke-opacity` are absent....

Add fill and stroke support for labels

There are a lot of SVG tests using JS code. It's actually possible to integrate some JS engine into iOS app, but quite complicated and not sure it worths it....

low priority

Tests: `conform-viewers-01-t.svgz`, `conform-viewers-02-f.svg` Priority: Low Comments: SVGZ is just a gzip-compressed SVG file. It's pretty easy to implement, but it's not supported by Macaw and partly supported by WebKit (for...

low priority

Specification: https://www.w3.org/TR/SVG11/color.html#ColorProfileProperty Tests: `color-prof-01-f` Priority: Low Comments: Neither Macaw nor WebKit support it.

low priority

### My Code here: ```swift import SwiftUI import SVGView struct ContentView: View { @State private var data: Data? var body: some View { if let data { SVGView(data: data) }...

I am rendering an svg with an embedded image and it does not render. I tried also adding the image with a remote url and it also does not render....