Skip to content

Commit 21d4520

Browse files
committed
Linux Tests
1 parent 0185744 commit 21d4520

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

SwiftDraw/Image.swift

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,20 @@ public final class Image: NSObject {
7777
public final class Image: NSObject {
7878
public let size: CGSize
7979

80-
init(svg: DOM.SVG) {
80+
init(svg: DOM.SVG, options: Options) {
8181
size = CGSize(width: svg.width, height: svg.height)
8282
}
83+
84+
public struct Options: OptionSet {
85+
public let rawValue: Int
86+
public init(rawValue: Int) {
87+
self.rawValue = rawValue
88+
}
89+
90+
public static let hideUnsupportedFilters = Options(rawValue: 1 << 0)
91+
92+
public static let `default`: Options = []
93+
}
8394
}
8495

8596
public extension Image {

0 commit comments

Comments
 (0)