MCPcopy Index your code
hub / github.com/processing/processing / beginDraw

Method beginDraw

java/libraries/dxf/src/processing/dxf/RawDXF.java:178–189  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

176
177
178 public void beginDraw() {
179 // have to create file object here, because the name isn't yet
180 // available in allocate()
181 if (writer == null) {
182 try {
183 writer = new PrintWriter(new FileWriter(file));
184 } catch (IOException e) {
185 throw new RuntimeException(e); // java 1.4+
186 }
187 writeHeader();
188 }
189 }
190
191
192 public void endDraw() {

Callers

nothing calls this directly

Calls 1

writeHeaderMethod · 0.95

Tested by

no test coverage detected