You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hm, wouldn't it make sense to create a gi-cairo-hs package that exposes the same or a similar API as the current cairo package, but is based on gi-cairo instead of Graphics.Rendering.Cairo.Internal, so we can get rid of those manually maintained low-level bindings in the long run?
@jplatte unfortunately cairo.gir is only 60 lines long (so gi-cairo contains very little), but even so gi-cairo-hs makes sense. Hopefully we could avoid depending on gtk2hs-buildtools. The same goes for gi-javascriptcore-hs.
Oh, okay. What's the problem with introspecting cairo? Are the introspection comments just missing or is there another reason the gi scanner doesn't pick up most of the API?
Since Cairo does not have full GI we need convert
gi-cairo
contexts for use with the Gtk2Hscairo
package. Winds up being something like this:Where context is the gi-cairo context. We should wrap this up into a
withCairo
function or something.The text was updated successfully, but these errors were encountered: