> Can you please tell me how does text/anchor of a page get painted?
> I assume each text node and each anchor will be represented by a
> RenderText class.
>
> But the paint() method of RenderText is not reached?
>
>  virtual void paint(PaintInfo&, int, int) { ASSERT_NOT_REACHED(); }
>
> Can you please tell me what classes are used to represent the text
> node and each anchor? And how does it get painted on screen?

Did you have a look at InlineBox, InlineRunBox, and InlineTextBox? If
you start analyzing these classes, you will get answers to your
questions. Another trick: put your debugger to stop at
GraphicsContext::drawText() function and check the stack trace.




-- 
Ariya Hidayat
http://www.linkedin.com/in/ariyahidayat
_______________________________________________
webkit-help mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-help

Reply via email to