Skip to content

Editing path from user library #283

@yasuo-ozu

Description

@yasuo-ozu

Motivation

We will get some APIs to take paths of text outline in future (many thanks to @gfngfn).
So there is motivation to edit path from user library.

Typical applications are for example:

  • make inset or outset of path
  • make union, intersection, difference, exclusion, division, cut of path
  • make combine or break apart of path

(these words are from Inkscape's functions)

Option 1

To make type path as user type, such that

type pathseg =
  | Straight of fpoint * fpoint
  | Bezier of fpoint * fpoint * fpoint * fpoint
type pathclosure = Close | Open
type path = (pathseg list * pathclosure) list

Option 2

Add some APIs to edit path from user library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions