At 10:41 27/6/00 -0500, Frazer Williams <[EMAIL PROTECTED]> wrote:
>  I'm trying to write an "unplot" plugin.  The idea is to load a graph
>  image into the gimp (probably using a scanner), and then, using the mouse
>  to click on points on the graph, write the x and y values of
>  mouse-selected points to a file.  Thus, if I had a graph of, say,
>  voltage vs. current, I could digitize it manually using the plug-in,
>  obtaining a file with voltages and currents.

I would suggest you look at the code for the ImageMap plugin. Thinking
about what it how it works from the users point of view I suspect it has to
have a way of getting the mouse coordinates.

Reply via email to