                     
                     var _stroke_pattern = Pattern(bound: strokePattern.bound, xStep: strokePattern.xStep, yStep: strokePattern.yStep) { strokePattern.callback(PDFRenderer(context: $0, alphaMask: false)) }
                     
-                    _stroke_pattern.transform = SDTransform.reflectY(strokePattern.bound.midY) * strokePattern.transform * base_transform * context.transform.inverse
+                    _stroke_pattern.transform = strokePattern.transform * base_transform * context.transform.inverse
                     
                     var _stroke = Stroke(width: state.strokeWidth, cap: cap, join: join, color: _stroke_pattern)
                     _stroke.color.opacity = state.strokeOpacity

                        
                        var _stroke_pattern = Pattern(bound: strokePattern.bound, xStep: strokePattern.xStep, yStep: strokePattern.yStep) { strokePattern.callback(PDFRenderer(context: $0, alphaMask: false)) }
                        
                        _stroke_pattern.transform = SDTransform.reflectY(strokePattern.bound.midY) * strokePattern.transform * base_transform * context.transform.inverse
                        
                        var _stroke = Stroke(width: state.strokeWidth, cap: cap, join: join, color: _stroke_pattern)
                        _stroke.color.opacity = state.strokeOpacity

                        pattern.callback(renderer)
                    }
                    
                    _pattern.transform = pattern.transform * base_transform * context.transform.inverse
                    
                    let _stroke = Stroke(width: state.strokeWidth, cap: cap, join: join, color: _pattern)
                    
