Tonny Kohar wrote:
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?
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.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]