Skip to content

Path continuations #27

@timothypratley

Description

@timothypratley

Hi. Thank you for making Dali, I like it!

It seems that paths do not yet support "continuations" for example:

[:path :M [0 0] :L [0 -90] [0 0] [-86 -28] [0 0] [-53 73] [0 0] [53 73] [0 0] [86 -28]]
=>
<path d="M 0 0 L 0 -90"></path>

Whereas it should have produced

"M 0,0 L0,-90 0,0 -86,-28 0,0 -53,73 0,0 53,73 0,0 86,-28"

Which is a valid (and slightly more convenient) way to construct paths.

A number of coordinates pairs may be specified to draw a polyline.
At the end of the command, the new current point is set to the final set of coordinates provided.

The same is true of curves as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions