What of Love's API uses DPI independent coords?
Posted: Mon Apr 15, 2019 1:43 am
Apologies if this question has been answered before. Didn't find anything else surprisingly. Last time a used Love was 0.8.0 so I am figuring out what has changed since then. Quite a bit which is very nice to see. Looking at the changelog, one of these things is almost transparent DPI but almost nothing is said about it.
From 11.0 changelog
From 11.0 changelog
From 0.9.1 changelogChanged high-dpi functionality to require much less code (often none at all) for graphics to appear at the correct sizes and positions.
Looking at the API, there is now DPI independent coords and pixel coords. The question I have is, what class of functions use pixel coords and which use DPI independent coords? I figure that all drawing operations (except things for pixel shaders) are done in DPI independent coords. The rest isn't clear to me. Thank you.Added high-dpi window support for Retina displays in OS X, via the 'highdpi' window flag.