[Okular-devel] Understanding the annotations API

Fabio Andrés Correa Durán facorread at gmail.com
Thu Dec 17 01:37:14 CET 2009


2009/12/16 Albert Astals Cid <aacid at kde.org>

> > Hi, thanks for your interest. The program does not intend to save the
> > annotations but the numerical data from graphs. So the current plan is to
> > erase the program-generated annotations on document close, trying our
> best
> > to keep the other annotations as they were.
> >
>
> Hmmm, this seems a bit ugly to me, i mean add annotations just to draw
> things
> and then remove them because we don't really want annotations, just draw
> something on top, maybe we can come up with a single API to add "drawings"
> over a given page, would you interested in working on it?


Well, I am interested, and drawings would constitute a fine addition to
Okular. However, I sincerely doubt a drawing API would be different from
annotations API. In fact, I have seen lines and points in Okular's
annotations.h, so I am currently learning to use them in my program.

I bring your attention to similar tools in the links below. In these, the
drawings are effectively lost whenever you close the graph file, because it
is assumed the user only wants to get the numeric data.

http://www.frantz.fi/software/g3data.php
http://www.digitizeit.de/

-- 
Fabio Andrés Correa Durán
http://www.google.com/profiles/facorread
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/okular-devel/attachments/20091216/101b34e4/attachment.html 


More information about the Okular-devel mailing list