[Ipe-discuss] saving origin to eps file

David Topham dtopham at ohlone.edu
Wed Nov 25 01:27:35 CET 2015

Otfried, I am using the generated eps file as input to a C++ program (FLTK)
that reads it and plots the drawing from the points. Similar to openGL, it
can "translate" to move the origin to the center of the screen from its
default origin of upper-left corner, but that actually moves the whole
coordinate system (origin); the figure is still not centered on the origin.
But I want it centered on the origin to make rotation easier. I tried your
suggestion of moving my object in ipe so that it is 3/4 off the bottom left
of page and that does work to then output the postscript coordinates to
"surround" the origin with negative and positive values. I think that will
do the trick even though it is not intuitive to move the object partially
off the page!  Thanks, Dave

On Tue, Nov 24, 2015 at 4:09 PM, Otfried Cheong <otfried at ipe.airpost.net>

> On Wed, Nov 25, 2015, at 05:25, David Topham wrote:
> > It works fine, but when I reset the origin to the center of my figure
> > (polylines forming a polygon), then that information is lost when I save
> > to
> > eps.  e.g. points that show in ipe as being in any one of the 4 quadrants
> > of the coordinate system (like (-10,-10) or (-5.5)) all get changed to
> > positive values in the saved eps file.
> What do you mean by "reset the origin"?   The origin is always the
> bottom left corner of the paper.  Do you move the drawing so that it
> lies partially outside the paper?
> Exporting to EPS seems to translate all coordinates so that they fall
> onto the paper.  In my experience, figures where this is not true do not
> print correct from Latex either - so my obvious question:  Why would you
> want to do this?
> Cheers,
>  Otfried
> _______________________________________________
> Ipe-discuss mailing list
> Ipe-discuss at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/ipe-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/ipe-discuss/attachments/20151124/b9e3db1a/attachment.html 

More information about the Ipe-discuss mailing list