[cairo] [Bug] Current Point and Curve_to

Chris Wilson chris at chris-wilson.co.uk
Wed Jun 17 08:46:07 PDT 2009


On Wed, 2009-06-17 at 08:51 +0200, Nis Martensen wrote:
> When a new subpath is started with
>     cairo_new_sub_path(); cairo_curve_to();
> then a call to
>     cairo_close_path();
> will move the current point to the previous position of
> the current point, and not the position where the path
> is closed to.
> 
> The attached patches contain the fix and a test. Please
> review and commit if you find they are correct.

Good catch, thanks! And thank you for the test case as well, much
appreciated. Pushed to master and 1.8.

Aside: Behdad, git-am strips '[subsystem]' from the subject line... :-( 

-ickle



More information about the cairo mailing list