<br><br><div class="gmail_quote">On Sat, Jul 10, 2010 at 15:46, dsimcha <span dir="ltr">&lt;<a href="mailto:dsimcha@yahoo.com">dsimcha@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
== Quote from Philippe Sigaud (<a href="mailto:philippe.sigaud@gmail.com">philippe.sigaud@gmail.com</a>)&#39;s article<br>
<div class="im">&gt; Out of curiosity, as I don&#39;t know DFL, why do you draw everything as text in<br>
&gt; a scatterplot instead of using small rectangles or lines?<br>
<br>
</div>This is to give customizability as to what the points look like.<br></blockquote><div><br></div><div>Maybe you can encapsulate the drawing in a small function that would draw a specific shape and let the user discriminate with an enum?</div>
<div><br></div><div>enum PointShape {circle, square, cross, ...}</div><div><br></div><div>Is it possible to cache a small drawing in DFL, to reuse it at will?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im"><br>
&gt; This made me laugh:<br>
&gt; /**Hack around ddoc issues.)*/<br>
&gt; void dummy() {}<br>
&gt; Do you have a missing &#39;)&#39; parenthesis somewhere?<br>
<br>
</div>Probably.  I was getting weird DDoc behavior until I added this, but I can&#39;t find<br>
the missing ) so I just hacked around it.</blockquote><div><br></div><div>Try line 1022 and lines 1988-1990.</div><div><br></div><div>For one big file, this irked me so much that I almost wrote a small script that would find docs comments and count parenthesis and brackets in them. But I found the culprit before that :)</div>
<div><br></div><div><br></div><div>As for bitmaps, I have a small module that load 24 bit RGB .bmp as ubyte[3][][] to manipulate them and write an ubyte[3][][] on disk, but it&#39;s quite brittle. You indeed need a generic way to save a form to disk as an image.</div>
<div><br></div><div>Philippe</div><div><br></div></div>