J
John Fullman
Let's say I wanted the exact width of a string (in pixels) based on a
certain font or device context.
Anotherwords, how do I implement a funciton prototyped...
int MeasureStringInPixels(HDC dc, HFONT font, const char* text);
I've been pouring through windows api documentation to find the answer,
but it is very unclear (at least to me.) I'm sure this is easy. Just
not sure how it's done.
certain font or device context.
Anotherwords, how do I implement a funciton prototyped...
int MeasureStringInPixels(HDC dc, HFONT font, const char* text);
I've been pouring through windows api documentation to find the answer,
but it is very unclear (at least to me.) I'm sure this is easy. Just
not sure how it's done.