I was re-reading SDK-information on the API function GetTextExtentPoint32. It states:
lpSize
[out] Pointer to a SIZE structure that receives the dimensions of the string, in logical units.
I always was thinking that my apps, in which I use this function, were calculating pixel sizes. Qestion: what exactly are logical units? And how do I convert 'm to pixels?
lpSize
[out] Pointer to a SIZE structure that receives the dimensions of the string, in logical units.
I always was thinking that my apps, in which I use this function, were calculating pixel sizes. Qestion: what exactly are logical units? And how do I convert 'm to pixels?
Comment