Well, I looked briefly, but I’m afraid I can’t spend a lot of time reading a tutorial not designed for Corona to answer a question about Corona.
Having said that, let’s try this a different way.
What is the exact problem you are encountering (besides not getting sub-pixel values)? i.e.
-
What did you do (we know this already).
-
What did you see?
-
What did you expect to see?
Please frame the answers to #2 and #3 in terms of visual issues not missing floating-point values. Ex: “I saw gaps between block, or blocks overlapped, etc.”
Also, please consider providing the following:
-
config.lua settings you’re using.
-
Device you’re testing on or simulated device, including resolution.
-
If you’re really keen on this, consider providing a small sample app demonstrating just the problem.
I know this seems like a lot of work, but at this point, I know you wish that content bounds were expressed on the sub-pixel level (not going to happen), but I’m unclear why you need it. Once I know that I may be able to suggest a solution or workaround.
In all likelihood the solution to this issue will probably be grounded in a thorough understanding of how Corona scales design space versus screen space, combined with an understanding of how to extract that information and use it.