Skip to content

Comments

Scaling issues#1

Open
andyland wants to merge 10 commits intotortuga22:masterfrom
andyland:master
Open

Scaling issues#1
andyland wants to merge 10 commits intotortuga22:masterfrom
andyland:master

Conversation

@andyland
Copy link

This commit fixed some issues w/ scaling for @2x. The most important part was that by using NSRange, all half values from measuring the # of black pixels was getting truncated by integer round-off. I created a new struct TURange to use floats. Also, the library is now accounting for scaling when using drawRect: to generate a new image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants