[plt-scheme] determining sizes of pict

From: David Richards (dirichards at cox.net)
Date: Mon Oct 10 17:10:08 EDT 2005

Given:


(require (lib "mrpict.ss" "texpict"))

(define dc (new bitmap-dc% (bitmap #f)))

(dc-for-text-size dc)

(define p (text "Hello World" null 24))


How would we determine the height, width, ascent, descent of the  
#<struct:pict> ?

- dr


Posted on the users mailing list.