Re: embedding arbitrary graphics in text




On Sep 7, 2010, at 9:10 AM, Behdad Esfahbod wrote:

On 09/07/10 11:36, Travis Griggs wrote:
I'm fleshing out a Smalltalk binding to Pango, and want to be able to
show breakpoint graphics embedded at arbitrary points in the text.

I found the pange_attr_shape_new() function, but I don't know if that's
what I want at all.

ATM, what would seem cool, is a way of having an Attribute that says
"when I draw these items, run this callback with position information,
so I can do some custom drawing at this point."

pango_cairo_context_set_shape_renderer()

behdad



Thanks Behdad! Always appreciate your help.

--
Travis Griggs
Objologist
Light travels faster than sound. This is why some people appear bright until you hear them speak...






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