printpdf icon indicating copy to clipboard operation
printpdf copied to clipboard

documenation is not updated with the changes in v 0.6.0

Open LiamPClancy opened this issue 1 year ago • 1 comments

Not sure how the readme file is generated?

but it's still showing the old process for adding lines on crates.io

and I can see in the repo the readme file still has

let line1 = Line { points: points1, is_closed: true, has_fill: true, has_stroke: true, is_clipping_path: false, };

and

current_layer.add_shape(line1);

but after upgrading to v0.6.0

it should be

let line1 = Line { points: points1, is_closed: true };

current_layer.add_line(line1);

assuming there might be other issues in the old file as well.

if it just needs manualy copying and pasting from the relevant files, i'm happy to make a PR, but thought i'd ask first incase it's build step that isn't running?

LiamPClancy avatar Sep 30 '23 14:09 LiamPClancy

It's not auto-generated, I need to update the README. I split the Line into Line and Polygon to make a distinction, so things like has_fill is useless.

fschutt avatar Sep 30 '23 18:09 fschutt