Hi,

> > I would like to request adding public method/function hitTestChar for
> > GVT TextNode or TextPainter which return TextHit instead of Mark.
> 
>    Is this because you want access to the 'getCharIndex' method of
> TextHit?

Exactly, this is what I want getCharIndex from TextHit.

> > If it is ok, I will write and submit the patch. The method is basicly a
> > copy of org.apache.batik.gvt.renderer.StrokingTextPainter.hitTest(double
> > x, double y, TextNode node) which have name hitTestChar and return
> > TextHit
> 
>     It may be easier and cleaer to add this method to Mark, as
> every Mark actually created is an instance of
> "gvt.renderer.BasicTextPainter.BasicMark" which contains a TextHit
> internally.

So, I will add method public TextHit getHit() on interface
org.apache.batik.gvt.text.Mark. That's mean every mark have text hit
property. is it ok for you?

Thanks
Tonny Kohar
-- 
Sketsa 
SVG Graphics Editor
http://www.kiyut.com



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to