Page 1 of 1

What of Love's API uses DPI independent coords?

Posted: Mon Apr 15, 2019 1:43 am
by Googlebot42
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. :awesome: Looking at the changelog, one of these things is almost transparent DPI but almost nothing is said about it.

From 11.0 changelog
Changed high-dpi functionality to require much less code (often none at all) for graphics to appear at the correct sizes and positions.
From 0.9.1 changelog
Added high-dpi window support for Retina displays in OS X, via the 'highdpi' window flag.
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.

Re: What of Love's API uses DPI independent coords?

Posted: Tue Apr 16, 2019 2:19 pm
by pgimeno
ImageData works with pixels. Right off the bat I don't remember any others.