Painting mixed attribute text into a control?



What is an effective way for painting text having a variety of styles?

For example, in painting a ListView item, I would want the string XYZ to
appear differently.

In html it's easy as text := '123 abc <span
style='background:green'>XYZ</span> for sooth';


How might I render an html'ish string into an offscreen buffer and blit it
into the control context ?
--
Richard


.


Quantcast