MCPcopy Create free account
hub / github.com/OpenSourcePhysics/osp / writeFooter

Method writeFooter

src/org/jibble/epsgraphics/EpsDocument.java:170–179  ·  view source on GitHub ↗
(Writer writer)

Source from the content-addressed store, hash-verified

168 }
169
170 private void writeFooter(Writer writer) throws IOException {
171 writer.write("grestore\n"); //$NON-NLS-1$
172 if(isClipSet()) {
173 writer.write("grestore\n"); //$NON-NLS-1$
174 }
175 writer.write("showpage\n"); //$NON-NLS-1$
176 writer.write("\n"); //$NON-NLS-1$
177 writer.write("%%EOF"); //$NON-NLS-1$
178 writer.flush();
179 }
180
181 public synchronized void flush() throws IOException {
182 _bufferedWriter.flush();

Callers 2

writeMethod · 0.95
closeMethod · 0.95

Calls 3

isClipSetMethod · 0.95
writeMethod · 0.65
flushMethod · 0.45

Tested by

no test coverage detected