Abdelrazak Younes wrote:
That said, I would really prefer to let Dimension just be a simple 3-int structure without any method and let theFontMetrics() construct that and deliver it on demand. The last example will then become:

     Dimension dim = theFontMetrics(font).dimension(c);

I guess I prefer explicit rather than implicit and using Dimension() or mathed_char_dim() just hide what we are asking for without any reason.

I've done that now.

Abdel.


Reply via email to