Skip to content

Conversation

@jadiah
Copy link

@jadiah jadiah commented Mar 27, 2019

Added options for antialiasing: --aa-scroll, --aa-scroll-page, --aa-pan, --aa-zoom
Wanted to make AA way more configurable, but it seems imlib2 not allows to disable AA for not zoomed and not rotated images.


winwidget_sanitise_offsets(winwid);
winwidget_render_image(winwid, 0, 0);
if(opt.antialiasing_zoom == 0)
Copy link
Contributor

@Ferada Ferada Jun 16, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This block is copied too many times, make it a (well, several) function maybe?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if(opt.antialiasing_zoom == 0)
if (opt.antialiasing_zoom == 0)

And so on for all the rest to match the existing style.

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