GraphiteEditor / GraphiteEditor/Graphite

Make a shape's Segment table use handles from the Point table

Open
#1,833 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
27.2k
Forks
1.3k
Avg merge
20h 5m
Merged PRs (30d)
57

Description

Replace `SegmentDomain::handles` with a `Curvature` enum which describes the Bezier handle(s) or other curvature info like None for a polyline, Cubic, Quadratic, or even Arc or Conic or Euler Spiral or NURBS or other forms of curve representations.

This is the first step in making all data be attribute-driven in #1832.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating SegmentDomain::handles and the Point table, then read the attribute-driven work tracked in #1832. Define the scope of the Curvature representation from the issue before changing the data model. Done means SegmentDomain::handles is replaced and the supported curvature forms, including None, Cubic, and Quadratic, are represented consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
computer-graphics
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.