8000 api: revise ThorVG 1.0 official APIs · Issue #3116 · thorvg/thorvg · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
api: revise ThorVG 1.0 official APIs #3116
Open
@hermet

Description

@hermet

Here are the proposed candidates to be included in the v1.0 specification.

General

Path

  • Introduce a Path Class API: Introduce a Path class #3121
  • uint32_t Shape::pathCommands(const PathCommand** cmds) -> Result Shape::path(const PathCommand** cmds, uint32_t* cmdsCnt, const Point** pts, const uint32_t* ptsCnt);
  • uint32_t Shape::pathCoords(const Point** pts) const -> Result Shape::path(const PathCommand** cmds, uint32_t* cmdsCnt, const Point** pts, const uint32_t* ptsCnt);

Mask

  • Introduce a Mask Class (To be decided)

Stroke

  • Introduce a Stroke Class (To be decided)

Uncertain

See the history: #1372

Metadata

Metadata

Assignees

Labels

APIsUpdate / Revise APIsrefactoringCode refactoring / Exceptional handles

Type

No type

Projects

Status

In Progress

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0