[webkit-dev] How does webkit keep track of co-ordinates/dimension of each line of text in a Paragraph tag?

2009-03-29 Thread ying lcs
Hi, Can you please tell me how does webkit keep track of co-ordinates/dimension of each line of text in a Paragraph tag? For example, if I have a Paragraph of text. Web kit will split it up into multiple lines of text. How does webkit (what data-structure it uses) to keep track of each line of

Re: [webkit-dev] How does webkit keep track of co-ordinates/dimension of each line of text in a Paragraph tag?

2009-03-29 Thread David Hyatt
Check out InlineTextBox in the rendering directory. dave On Mar 29, 2009, at 5:40 PM, ying lcs wrote: Hi, Can you please tell me how does webkit keep track of co-ordinates/dimension of each line of text in a Paragraph tag? For example, if I have a Paragraph of text. Web kit will split it up