From: Jean Privat Date: Wed, 22 Apr 2015 06:46:03 +0000 (+0700) Subject: Merge: Small clean up and improvements to MNit from WBTW X-Git-Tag: v0.7.4~10 X-Git-Url: http://nitlanguage.org Merge: Small clean up and improvements to MNit from WBTW The new OpenGL parameters affect the display of images for a better pixelated look: * When zoomed out, the image is smoother, the color values are interpolated from the nearest source pixels. * When zoomed in, the image is displayed pixelated. You may recognize the `Int::next_pow` method, `inkscape_tools` use something similar for the same purpose. Actually, with this PR, `inkscape_tools` may not need it anymore and produce smaller PNG files. Pull-Request: #1284 Reviewed-by: Jean Privat Reviewed-by: Romain Chanoir --- ce3183732a6131540398e5310366fe7e11b94f7b