CLIM mail archive


Re: multiple-color drawing...

    Date: Fri, 21 Jan 1994 22:10 EST
    From: Colin Meldrum <>

    At the moment the best you can do is to find the bounding rectangle of the
    text you are going to draw, draw a filled rectangle in the text background
    and then draw the text in the text foreground. This works fine if you are
    drawing all your text explicitly with calls to draw-text - but it becomes
    tricky if your text output is produced by format onto a clim-stream within
    a filling-output for example.

SURROUNDING-OUTPUT-WITH-BORDER already does the right thing.

Follow-Ups: References:

Main Index | Thread Index