dc<%> error for (make-circle 8675309)
Nobody has claimed this yet.
- Dominant language
- Racket
- Stars
- 112
- Forks
- 73
- Avg merge
- 9h 41m
- Merged PRs (30d)
- 1
Description
If I try to make a very large image with 2htdp/image, I get an error from the dc<%> interface.
I wish the error came from the 2htdp/imagefunction & told me the size limit for my machine.
Here's an example program. Your size for "too large" may vary -- I had a student with a Dell laptop that could draw this circle.
(require 2htdp/image)
(circle 20000 "solid" "HotPink")
;; erase in dc<%>: drawing context is not ok: (instantiate (class ...) ...)
Contributor guide
No contributing guide indexed for this repository
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 by reproducing the large-circle example through the 2htdp/image entry point and inspect where the dc<%> drawing-context error escapes. Identify the existing size-limit behavior for the machine, then make the reported error originate from 2htdp/image and include the applicable limit; verify it with the example program.
Written by the indexing model from the issue text.
Assessment
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100