[webkit-dev] WebKit graphics library abstract layer

Ariya Hidayat ariya.hidayat at trolltech.com
Mon Jun 29 01:20:25 PDT 2009

> Does Webkit code has an abstract layer, which hides the platform
> dependent graphics API.  And the render engine just calls this
> abstract layer graphics api and this abstract layer api
> will handle, or link in platform dependent implementation of those
> draw text, draw rect calls?

Yes. If you just bother to grep for the keywords you already wrote above 
(draw*rect), you will end up in: WebCore/platform/graphics, in particular 
GraphicsContext class.

Ariya Hidayat, Qt Software, Nokia

More information about the webkit-dev mailing list