Article View: comp.windows.interviews
Article #6How to print overlays and/or animated Glyphs?
From: Martin Horneffer
Date: Tue, 27 Oct 1992 11:07
Date: Tue, 27 Oct 1992 11:07
28 lines
1581 bytes
1581 bytes
The application I'm writing uses layout->overlay() to display several
objects on a field. The objects are animated in that they are moved
relative to each other from time to time. This works fine since I had
a look at examples/morpher.
Some of the object are tiff-rasters, others are idraw-pictures (created
with the code from examples/gob).
Yet I want that field (overlay) to be printed to a postscript-file
any time the users wants it. I looked at examples/print to implement
a function for printing. I did it (almost) the same way: using a patch
to get the original allocation from, calling print(), undraw() etc, etc.
The function does print something, but not what I would expect it to:
- the objects seem to loose the knowledge about position, i.e. their
positions relative to each other is not correct on the printed
picture.
- idraw pictures don't get printed at all.
What's wrong? Can anyone help me?
Martin
--
Martin Horneffer - maho@dfv.rwth-aachen.de;
ECG 148 Fido: 2:242/7.9; Martin_Horneffer@mowgli.fido.de;
Maus: AC, AC2; Martin_Horneffer@ac.maus.de
Technical Details
Message-ID:
<1992Oct27.110723.4395@dfv.rwth-aachen.de>Path:
arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!darwin.sura.net!Sirius.dfn.de!Urmel.Informatik.RWTH-Aachen.DE!dfv.rwth-aachen.de!mahoShow Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!darwin.sura.net!Sirius.dfn.de!Urmel.Informatik.RWTH-Aachen.DE!dfv.rwth-aachen.de!maho From: maho@dfv.rwth-aachen.de (Martin Horneffer) Subject: How to print overlays and/or animated Glyphs? Message-ID: <1992Oct27.110723.4395@dfv.rwth-aachen.de> Organization: Communication Networks Date: Tue, 27 Oct 1992 11:07:23 GMT Lines: 28