Link rect and word wrapping.

Michael A. Borisov mic at i-house.ru
Fri Sep 3 15:04:51 BST 2004


Tobias Anton wrote:

>On Montag, 23. August 2004 12:21, Michael A. Borisov wrote:
>  
>
>>Yes, presently I do it this way.  But it is not beautifull. I would like
>>to construct an envelope line for this set of rectangles. Or construct
>>some beautifull aim that will be positioned much more precisiously than
>>when I use getRect method.
>>    
>>
>
>In that case, it would be easier for you and more helpful for us if you'd fix 
>the outline painting inside KHTML.
>
>However, the apple developers already added a separate focus ring painting 
>function to KHTML, so you might want to have a look at
>	RenderInline::paintFocusRing(QPainter *, int, int);
>and
>	RenderInline::addFocusRingRects(QPainter *, int, int);
>in kdelibs/khtml/rendering/render_inline.cpp to find out how the outline for a 
>rendered DOM node can be constructed.
>
>  
>
I did not find paintFocusRing or addFocusRingRects neither in 
kdelibs/khtml/rendering/render_inline.cpp nor in kdelibs/ (kdelibs 3.2.3).
By the way. Is it possible to use CSS for focus ring decoration (like in 
Mozilla)?

With respect,
Michael.

>Cheers
>-- Tobias
>
>
>  
>





More information about the kfm-devel mailing list