     }
 }
 
+extension PDFContext.Page {
+    
+    fileprivate struct CurrentStyle {
+        
+        var color: String? = nil
+        var opacity: String? = nil
+        var blend: String? = nil
+    }
+}
+
 extension PDFContext.Page.CurrentStyle {
     
     func apply(to context: PDFContext.Page) {

        }
    }
    
    public func draw<C : ColorProtocol>(shape: Shape, winding: Shape.WindingRule, color: C) {
        
        let context = current_page.current_layer
        
        set_opacity(color.opacity * self.opacity)
        
        let color = color.convert(to: current_page.colorSpace, intent: renderingIntent)


extension PDFContext.Page {
    
    fileprivate var current_layer: PDFContext.Page {
        return next?.current_layer ?? self
    }
