Skip to content

Commit 69a3bd0

Browse files
authored
Merge pull request #4 from ievgennaida/master
Added layers support. Fixed documents size import.
2 parents 96ec17b + 1810696 commit 69a3bd0

File tree

9 files changed

+1070
-113
lines changed

9 files changed

+1070
-113
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,4 +242,5 @@ ModelManifest.xml
242242
.paket/paket.exe
243243

244244
# FAKE - F# Make
245-
.fake/
245+
.fake/
246+
/SvgFileType/*.bak

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
===========
33

44
This is a Paint.NET filetype plugin for loading SVG (Scalable Vector Graphics) and its compressed variant SVGZ files.
5+
SVG elements can be rendered as a flat image file or each on a separate layer.
56

67
The plugin is a tiny wrapper around the [SVG.NET Library](https://github.com/vvvv/SVG) which does the actual SVG reading.
78

8-
Tested on Paint.NET 4.0.21.
9+
Tested on Paint.NET 4.1.5.
910

1011
Please check the [Releases](https://github.com/otuncelli/Scalable-Vector-Graphics-Plugin-for-Paint.NET/releases) section for binary download.
1112

SvgFileType/LayersMode.cs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Text;
5+
using System.Threading.Tasks;
6+
7+
namespace SvgFileTypePlugin
8+
{
9+
public enum LayersMode
10+
{
11+
Flat,
12+
Groups,
13+
All
14+
}
15+
}

0 commit comments

Comments
 (0)