openframeworks / openframeworks/openFrameworks
Pixel stretch and draw origin off-window on Windows 10
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 9
Description
Attempting to run sketches in OF_WINDOW mode using VS 2017 and Windows 10 results in the drawing origin being offset outside the window frame [circa (-10,-38) from the top left], and the pixel ratios being stretched, perhaps to compensate.
This causes issues with both accurate drawing and also any coordinated mouse interaction.
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
Reproduce an OF_WINDOW sketch with Visual Studio 2017 on Windows 10 and observe the reported origin offset and stretched pixel ratio. Verify that drawing coordinates and mouse interactions align with the visible window frame; the issue does not mention specific files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-graphics, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100