JuliaImages / JuliaImages/ImageDraw.jl

Ellipse/Circle thickness with fill=false is broken

Open
#71 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
27
Forks
16
PR merge metrics
No merged PRs in 30d

Description

eg:

img = zeros(RGB, (200,200));
draw(img, Ellipse(100, 100, 100, 100; thickness=29, fill=false), RGB(1,1,0))

will not draw anything because the code is using a bogus normalized distance for the inner ellipse.

Contributor guide

No contributing guide indexed for this repository

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 reproducing the Julia example with Ellipse(...; thickness=29, fill=false) and inspect the Ellipse drawing implementation, especially the inner-ellipse normalized distance. Done means the outlined ellipse renders instead of producing no pixels for the shown case.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
computer-graphics
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.