Link rect and word wrapping.
Tobias Anton
TA at ESC-Electronics.de
Wed Aug 25 09:57:29 BST 2004
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.
Cheers
-- Tobias
More information about the kfm-devel
mailing list