[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TextFace and MCL



>I would like to draw an italic string in a view :
>I do :
>
>  (#_TextFace ?????)
>  (#_drawString str)
>
>What should I put in the place of ?????. In IM (and C or Pascal) it is
>clear but not in MCL.

(#_TextFace #.(cdr (assq :italic *style-alist*)))

In 2.0 final you will also be able to say:

(#_TextFace (ash 1 #$italic))

The definition for #$italic didn't make it into the interface files
for 2.0b1.