openframeworks / openframeworks/openFrameworks
ofImage.draw() lost 1 pixel in IOS retina device
Open
Nobody has claimed this yet.
addon
bug
iOS
prelim-analysis
section-2D
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 9
Description
void testApp::draw(){
ofBackground(255, 0, 0);
if ( photo.isAllocated() ){
photo.draw(0, 0, ofGetWidth(), ofGetHeight());
}
}
this should be fullscreen, but result lost 1 pixel in width.
I test this in iTouch5 - iOS 6.1.3
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 the fullscreen draw in testApp::draw() on the reported iTouch5 and iOS 6.1.3 setup, focusing on the call to ofImage.draw(0, 0, ofGetWidth(), ofGetHeight()). Determine why the rendered width loses one pixel; done means the image fills the device width without the reported gap.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, ios
- Domain
- computer-graphics, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100