[links] Adding to Links svg support

yann.souro_sanou at iwedia.com yann.souro_sanou at iwedia.com
Wed Jul 18 05:31:05 MDT 2007


Hello,
I am intending to add svg support to links by adding a svg renderer to
the source code.
I almost have a SVG renderer (worfing on DirectFB), and I need
Interactivity.
I am at the very begining of this project, and I am now studying links
code. As I need interactivity, I was wondering how does Links do to
display some links in HTML(<a> tag).
Indeed, my first aim is to place some links in the SVG document, and
display them (as it is done in HTML).

I have started some research, arround "wiew_gr.c" document, more
precisely in "g_text_draw" function. Unfortunately I can't place any
link correctly (which seems to be normal).
Then in a second time I made some modifications in the source code and I
can read the coordinates where the link is supposed to be displayed. But
"g_text_draw" is not sufficient as the text is displayed at the right
place when the virtual link is set in some other location.

My question is the following one:
1. Which function(s) is (are) used to display links ?
2. Could you please explain me how does the displaying process work when
data are already stored ?

I do hope someone will be interested enough to give me any idea or
advice.

Best Regard                                                             

Yann








More information about the links-list mailing list