Skip to content

Commit

Permalink
Merge pull request #230 from pygobject/docs-fix-rel-curveto-param
Browse files Browse the repository at this point in the history
Last parameter of rel_curve_to should be dy3, not dy4.
  • Loading branch information
lazka authored Apr 5, 2021
2 parents dd6e72c + 17d3795 commit baa704c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference/context.rst
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ safely be changed, without losing the current state. Use
ctx.rel_line_to(-width, 0)
ctx.close_path()

.. method:: rel_curve_to(dx1, dy1, dx2, dy2, dx3, dy4)
.. method:: rel_curve_to(dx1, dy1, dx2, dy2, dx3, dy3)

:param dx1: the X offset to the first control point
:type dx1: float
Expand Down

0 comments on commit baa704c

Please sign in to comment.