Menu â–¾ â–´

Commit [r461]  Maximize  Restore  History

2004-10-14 S. P. Hirshman

* output-emf.c:

Added #define ENMT_DELETEOBJECT 40
to define DeleteObject in Metafile dc

Added routine WriteDeleteObject to delete pens/brushes after they
are deselected out of the metafile dc (prevents resource depletion).

Rewrote GetEmfStats, OutputEmf routines to call WriteDeleteObject whenever
a pen/brush is deselected out of the dc. Also, modified the outer loop over
splines so that each new spline starts a new path bracket. Previously, if
the next color was the same as the previous spline's color, a new path was
NOT started. I needed this for my applique application, but it also follows the
philosophy of eps files which stroke/fill each new spline.

myamato 2004-10-19

changed /trunk/autotrace/ChangeLog
changed /trunk/autotrace/THANKS
changed /trunk/autotrace/output-emf.c
/trunk/autotrace/ChangeLog Diff Switch to side-by-side view
Loading...
/trunk/autotrace/THANKS Diff Switch to side-by-side view
Loading...
/trunk/autotrace/output-emf.c Diff Switch to side-by-side view
Loading...