MonkSVG icon indicating copy to clipboard operation
MonkSVG copied to clipboard

stroke-linejoin is almost unimplemented

Open gerchicov opened this issue 12 years ago • 3 comments

Your line joins look like you use "bevel" style. But If I perform something like this:

onPathBegin onPathMoveTo onPathLineTo //multiple times to draw a rect onPathClose onPathEnd

After this code a rect should be drawn. But I see the first and the last line haven't a join at all even if these points are the same. You haven't implemented stroke, but I think at least one join style should be fully workable

gerchicov avatar Sep 10 '13 12:09 gerchicov

here is an example picture: загрузить фото,загрузить картинку

gerchicov avatar Sep 24 '13 06:09 gerchicov

The stroking implementation is quite naive and really needs to be re-implemented.

micahpearlman avatar Sep 26 '13 01:09 micahpearlman

As a temporary solution I suggest to add drawing of the first line (between 2 first points) in onPathClose(). But how to correctly obtain the first 2 points in this function?

gerchicov avatar Sep 30 '13 07:09 gerchicov