Various fixes to gradient and pattern strokes

This commit is contained in:
Curtis Hard
2017-03-13 21:59:50 +00:00
parent edef84274d
commit 8ff1fc860e
5 changed files with 127 additions and 20 deletions
+1 -9
View File
@@ -31,15 +31,7 @@
- (IJSVG *)svg
{
IJSVG * anSVG = [IJSVG svgNamed:@"test"];
IJSVGExporter * exporter = [[IJSVGExporter alloc] initWithSVG:anSVG
options:IJSVGExporterOptionAll];
[exporter.SVGData writeToFile:@"/users/curtishard/Desktop/omg.svg" atomically:YES];
[exporter release];
return [anSVG retain];
return [IJSVG svgNamed:@"test"];
}
- (void)drawRect:(NSRect)dirtyRect