From: Robert St. Amant

Subject: Common graphics string output

Date: 2001-7-13 17:52

Hi,

I'm using common graphics (ACL 5.0 and ACL 6.0 for Windows) to do some
user interface work, which includes drawing graphical objects and text
strings.  The problem I'm running into is that I want to draw the text
on a background whose color may not be known.  (The interface is to
some legacy code for which I can't very easily figure this out.)  I've
been using

(cg:with-background-color (window <color>)
  (cg:draw-string-in-box. . .))

in other contexts, which generates a box of the given color and draws
the string on top; of course, I don't know this color.  I'd like to
have just the pixels of the characters drawn on the screen.  Is there
an appropriate function I haven't run into?

Thanks,
Rob St. Amant