Pike v8.0 release 1738

Method Image.Fonts.Font()->text_extents()


Method text_extents

array(int) text_extents(string ... lines)

Description

Returns ({ xsize, ysize }) of the image that will result if lines is sent as the argument to write.