Pike v8.1 release 6

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.