SwiftDraw icon indicating copy to clipboard operation
SwiftDraw copied to clipboard

Swift library and command line tool to convert SVGs into SFSymbol, PNG, PDF and Swift source code.

Results 9 SwiftDraw issues
Sort by recently updated
recently updated
newest added

I have two error the first is in the title and second one is: "/Users/alexanderruder/Library/Developer/Xcode/DerivedData/W4U-Risikoapp-avswhmmknksifadrneimtyrnozkq/SourcePackages/checkouts/SwiftDraw/SwiftDraw/Parser.XML.StyleSheet.swift:167:16: error build: Cannot find type 'SwiftDraw' in scope Thanks in advance

I was converting some svgs using the command line tool that don't have variants. But it was reasonable enough for me to create copies of the original where stroke-width="2" and...

From what I could see and test, there is no support for clipPath. Is it planned to be added?

Parse and render RGBA values. RGBA values can now be parsed into `DOM.Color`, and when rendering, their alpha values are combined with any existing alpha values from styles. Tested with:...

SVG files that use different units are currently rasterized as pixels. 10cm becomes 10px ``` ``` https://developer.mozilla.org/en-US/docs/Web/API/SVGLength https://github.com/WebKit/WebKit/blob/3b35a19d0a910ba3376525d9dae67fe6b4d5016f/Source/WebCore/svg/SVGLength.h

Converting this .svg image of the American flag to image and saving as .png only shows one star ![us](https://github.com/swhitty/SwiftDraw/assets/6090139/8a686e65-eb05-4079-a044-0bf3032f81a8) ![us](https://github.com/swhitty/SwiftDraw/assets/6090139/40c886f7-c242-4d46-8d29-10c1dd7b47a4)

Hi, i have faced with rendering issues with some svg files. The embedded png image doesn’t rendered Here is the file ![response3](https://github.com/user-attachments/assets/9da39af9-e751-4343-abce-9744d5eeabf7) File structure look like this ``` ``` if...

First of all thanks for the great library you put together, it's been really useful for me so far. Having said that, I'm having a hard time with a particular...