[plt-scheme] string extent?

From: David Richards (leximatica at mac.com)
Date: Thu Sep 10 17:21:25 EDT 2009

How exactly do I go about getting the metrics for a string which I am  
drawing onto a dc%? I need to know the exact height and width of the  
string in pixels.

So, I guess I can use (send dc get-char-height) to get the height, but  
how do I get the exact width of an entire string?

- dr

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20090910/5788930a/attachment.html>

Posted on the users mailing list.