openframeworks / openframeworks/openFrameworks

Name change proposal ofDrawRectRounded -> ofDrawRectangleRounded

Open
#4,163 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

core development-strategy section-2D
Dominant language
C++
Stars
10.4k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
9

Description

We deprecated ofRect and it became ofDrawRectangle. That was super, clear and concise. In fact almost all of our drawing methods are clear and concise now. But ... for some reason we deprecated ofRectRounded and made it ofDrawRectRounded.

I'd propose that we'd instead replace it with ofDrawRoundedRectangle ofDrawRectangleRounded. It seems that if we are going to do this we might want to consider doing it before 0.9.0 since we deprecated ofRectRounded during this release cycle.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the declarations and usages of ofRectRounded and ofDrawRectRounded in the openFrameworks drawing API. Check how the earlier ofRect to ofDrawRectangle rename was handled and whether the 0.9.0 release context affects the scope. Done means the rounded-rectangle API consistently uses the proposed ofDrawRectangleRounded name.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.