[links] Adding to Links svg support

yann.souro_sanou at iwedia.com yann.souro_sanou at iwedia.com
Wed Jul 25 08:35:42 MDT 2007


yann.souro_sanou at iwedia.com a écrit :
> 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
>
>
>
>
>
>
> _______________________________________________
> links-list mailing list
> links-list at linuxfromscratch.org
> http://linuxfromscratch.org/mailman/listinfo/links-list
>
>   
Hi,
Still working on svg support, I would welcome a bit of help.
I found that a text link was the sum of a virtual link and a graphic 
object (text, or image). I barely succeed in displaying the text at the 
right place, but the
virtual link is still "displayed" somewhere else. Could someone give me 
a guidance to understand how does the virtual link is displayed ???

Thank you in advance.


More information about the links-list mailing list