Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#11] Added antialiasing #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

[#11] Added antialiasing #12

wants to merge 1 commit into from

Conversation

datinc
Copy link

@datinc datinc commented Sep 25, 2014

This adds antialiasing so that the curtain demo looks much nicer.

@Ciechan
Copy link
Owner

Ciechan commented Sep 26, 2014

While your patch is certainly the most robust fix, it's quite an expensive way to do AA. Instead one should simply use a container layer that's one point larger in each direction. This will provide AA essentially for free, similarly to how it's done with pseudo antialiasing done for UIImageView by using UIImage with one pixel transparent border.

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.

2 participants