Added a method Surface::measureStringMultiline()