On Dom, 2012-10-14 at 02:46 +0200, Daniel Campos wrote: > I've been using webkit-gtk for a while and I was wondering whether > there might be a method to do custom draw on a chosen node, let's say > a DIV, for instance, or any other element. The idea would be something > that allows me to receive the cairo context and the surface and be > able to draw there by following the order in which elements are > redrawn, that is, receiving an event while webkit-gtk is redrawing the > surface before other elements in upper layers are drawn (z-index).
There is no way of getting the cairo context used by WebKitGTK+ itself. You can probably do what you want using the HTML5 canvas through the DOM bindings, though. Cheers, -- Gustavo Noronha Silva <[email protected]> GNOME Project _______________________________________________ webkit-gtk mailing list [email protected] http://lists.webkit.org/mailman/listinfo/webkit-gtk
