Skip to content

Commit

Permalink
Merge pull request #271 from aaronhendry/master
Browse files Browse the repository at this point in the history
Fix incorrect interface for Matrix constructor
  • Loading branch information
lazka authored Jun 12, 2022
2 parents 06bc481 + e96bd1c commit 7a725bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cairo/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -958,7 +958,7 @@ class Matrix:
https://www.cairographics.org/cookbook/matrix_transform/
"""

def __init__(self, xx: float = 1.0, yx: float = 0.0, yy: float = 1.0, x0: float = 0.0, y0: float = 0.0) -> None:
def __init__(self, xx: float = 1.0, yx: float = 0.0, xy: float = 0.0, yy: float = 1.0, x0: float = 0.0, y0: float = 0.0) -> None:
"""
:param xx: xx component of the affine transformation
:param yx: yx component of the affine transformation
Expand Down

0 comments on commit 7a725bd

Please sign in to comment.