Abdelrazak Younes wrote:
Andre Poenitz wrote:
I think I'd prefer something like
+ x_ += theFontMetrics(font).width(&str[0], str.size());
Going 'optically' through four layers is not adding clarity.
I can also provide this helper function if you want, no problem. But I
guess that's not what you mean.
On a second read I guess that's really what you mean by 'optically'. So
I'll put these helper functions in a new header.
What the indirection really shows is that these fontI agree but ideally
(and you know that ;-)) this should not be
Woao! I'd be lucky if somebody understand the above!
Forget about that nonsense :-)