void PictSelection::WriteData (ostream& to) { to << "Begin " << startdata << " Pict\n"; WritePictGS(to); to << "\n"; for (First(); !AtEnd(); Next()) { Selection* s = GetCurrent(); s->WriteData(to); } to << "End " << startdata << " eop\n\n"; }
void PictSelection::WriteDrawing (ostream& to) { to << "%%Page: 1 1\n\n"; to << "Begin\n"; WritePictGS(to); to << "/originalCTM matrix currentmatrix def\n\n"; for (First(); !AtEnd(); Next()) { Selection* s = GetCurrent(); s->WriteData(to); } to << "End " << startdata << " eop\n\n"; to << "showpage\n\n"; }