chickadee » canvas-draw » canvas-text-box

(canvas-text-box [canvas canvas?] [x integer?] [y integer?] [text string?]) -> (values integer? integer? integer? integer?)procedure

Computes the bounding box of the given text when drawn on the given canvas. Returns the minimum and maximum x and y coordinates.