@@ -53,7 +53,7 @@ class Normal(AbstractPathEffect): ...
5353class Stroke (AbstractPathEffect ):
5454 def __init__ (self , offset : tuple [float , float ] = ..., ** kwargs ) -> None : ...
5555 # rgbFace becomes non-optional
56- def draw_path (self , gc : GraphicsContextBase , tpath : Path , affine : Transform , rgbFace : ColorType = ...) -> None : ... # type: ignore
56+ def draw_path (self , renderer : RendererBase , gc : GraphicsContextBase , tpath : Path , affine : Transform , rgbFace : ColorType = ...) -> None : ... # type: ignore
5757
5858class withStroke (Stroke ): ...
5959
@@ -67,7 +67,7 @@ class SimplePatchShadow(AbstractPathEffect):
6767 ** kwargs
6868 ) -> None : ...
6969 # rgbFace becomes non-optional
70- def draw_path (self , gc : GraphicsContextBase , tpath : Path , affine : Transform , rgbFace : ColorType = ...) -> None : ... # type: ignore
70+ def draw_path (self , renderer : RendererBase , gc : GraphicsContextBase , tpath : Path , affine : Transform , rgbFace : ColorType = ...) -> None : ... # type: ignore
7171
7272class withSimplePatchShadow (SimplePatchShadow ): ...
7373
@@ -81,13 +81,13 @@ class SimpleLineShadow(AbstractPathEffect):
8181 ** kwargs
8282 ) -> None : ...
8383 # rgbFace becomes non-optional
84- def draw_path (self , gc : GraphicsContextBase , tpath : Path , affine : Transform , rgbFace : ColorType = ...) -> None : ... # type: ignore
84+ def draw_path (self , renderer : RendererBase , gc : GraphicsContextBase , tpath : Path , affine : Transform , rgbFace : ColorType = ...) -> None : ... # type: ignore
8585
8686class PathPatchEffect (AbstractPathEffect ):
8787 patch : Patch
8888 def __init__ (self , offset : tuple [float , float ] = ..., ** kwargs ) -> None : ...
8989 # rgbFace becomes non-optional
90- def draw_path (self , gc : GraphicsContextBase , tpath : Path , affine : Transform , rgbFace : ColorType = ...) -> None : ... # type: ignore
90+ def draw_path (self , renderer : RendererBase , gc : GraphicsContextBase , tpath : Path , affine : Transform , rgbFace : ColorType = ...) -> None : ... # type: ignore
9191
9292class TickedStroke (AbstractPathEffect ):
9393 def __init__ (
@@ -99,6 +99,6 @@ class TickedStroke(AbstractPathEffect):
9999 ** kwargs
100100 ) -> None : ...
101101 # rgbFace becomes non-optional
102- def draw_path (self , gc : GraphicsContextBase , tpath : Path , affine : Transform , rgbFace : ColorType = ...) -> None : ... # type: ignore
102+ def draw_path (self , renderer : RendererBase , gc : GraphicsContextBase , tpath : Path , affine : Transform , rgbFace : ColorType = ...) -> None : ... # type: ignore
103103
104104class withTickedStroke (TickedStroke ): ...
0 commit comments