openframeworks / openframeworks/openFrameworks
quadBezierTo is confusing and should only take 2 parameters (ofPath, ofPolyline)
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 9
Description
Currently, to get the "expected" behavior, you must manually set the first control point to the previous command's to point. I propose deprecating the current 3 parameter quadBezierTo and replacing it with a 2 parameter quadBezier(controlPoint, ToPoint).
This is how processing's quadraticVertex() method works. This also happens to be how we use it in ofTrueTypeFont.
Shall I make a PR?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the quadBezierTo API and the referenced libs/openFrameworks/graphics/ofTrueTypeFont.cpp usage. Trace how the current three-parameter form is called and determine the scope of deprecation and replacement. Done means the intended two-parameter behavior and migration path are agreed and consistently represented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100