[cairo] Howto: insert anchors into cairo-generated PDF or SVG graphics ?
Behdad Esfahbod
behdad at behdad.org
Wed Feb 6 12:06:29 PST 2008
On Wed, 2008-02-06 at 14:26 -0500, John Ellson wrote:
>
> > Yeah, see:
> >
> >
> http://lists.cairographics.org/archives/cairo/2007-November/012026.html
> >
> > behdad
> >
>
> Good. Is there an implemenation developing?
No idea. Alp would know.
> I was hoping for something slightly more abstract, that could support
> anchors as enclosing blocks in
> SVG and VML, not just as shapes as in PDF or imagemaps.
>
> Also, I was thinking that the cairo user should not have to define a
> new
> path for the sensitive area; that instead an appropriate bounding
> region could extracted from a pushed group, or a mini surface, or
> something like that. No coordinates are required in the case of
> SVG.
Then propose a better API :).
> A question of style: cairo doesn't need to know anything about URLs,
> targets, tooltips, etc. Is it better to introduce (a possibly
> evolving
> set of)
> getters and setters for these properties, or just to have the user
> populate a structure that cairo can pass transparently through to the
> backends?
Note that the backends are part of cairo too. So it's not so much that
"cairo doesn't need to know anything about [them]".
> John
--
behdad
http://behdad.org/
"Those who would give up Essential Liberty to purchase a little
Temporary Safety, deserve neither Liberty nor Safety."
-- Benjamin Franklin, 1759
More information about the cairo
mailing list