public marks

PUBLIC MARKS from bcpbcp with tags c# & www.codeguru.com

04 March 2006 23:15

CodeGuru: Mould Text in Any Shape

(via)
Sometimes, putting text in a rectangular block may just be a little too straight. I designed the C++ class QEnvelopeText to widen the range of layout options. With it, you can mould a piece of body type in any shape. It operates in the realm of GDI+, the extension of GDI which was introduced with Windows XP. In go a GraphicsPath with the "envelope" and a text string; out comes another GraphicsPath containing the enveloped text.