ungerik / go-cairo

Go binding for the cairo graphics library
Other
142 stars 32 forks source link

How to overlay using GStreamer #32

Open TVforME opened 2 months ago

TVforME commented 2 months ago

Hi,

Is there a method to connect the draw signal of the cairooverlay element to the drawOverlay function with the appropriate parameters. to overlay text?

I'm looking for context := cairo.Create(cr) cr being a *cairo.Surface?

How one would use to overlay text? I'm making a scroller and would appreciate an example if possible?