<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 07/01/2015 06:42 AM, Pierre Guillot
wrote:<br>
</div>
<blockquote
cite="mid:CALPKkhr2aQu2yA0BPNQCUK0Oes2qNO-CadaWtdMoBMzwAMradw@mail.gmail.com"
type="cite">
<div dir="ltr"><span style="font-size:12.8000001907349px">> I'd
be careful exposing the tk canvas api from within Pd. It's a
buggy</span><br style="font-size:12.8000001907349px">
<span style="font-size:12.8000001907349px">> interface, as
evidenced</span><br style="font-size:12.8000001907349px">
<span style="font-size:12.8000001907349px">> by the
off-by-one errors in the data-structure illustrations of
Miller's</span><br style="font-size:12.8000001907349px">
<span style="font-size:12.8000001907349px">> book.</span><br>
<div><span style="font-size:12.8000001907349px"><br>
</span></div>
<div><span style="font-size:12.8000001907349px">Hi Jonathan,</span></div>
<div><span style="font-size:12.8000001907349px"><br>
</span></div>
<div><span style="font-size:12.8000001907349px">What do you mean
by "exposing the tk canvas api" ? Is it about how I create
GUI or about a specific object ? I made a lot of tests on
Windows, Mac and Linux and it seems pretty stable. The fact
is that I don't draw directly in the pd's canvas for many
many reasons.</span></div>
</div>
</blockquote>
<br>
It looks like you have methods for some kind of 2d drawing surface.
If those methods rely on Tk canvas subcommands<br>
to do the drawing (e.g., 'rect', 'polyline', etc.) then the user
will encounter the kinds of bugs I mentioned.<br>
<br>
<blockquote
cite="mid:CALPKkhr2aQu2yA0BPNQCUK0Oes2qNO-CadaWtdMoBMzwAMradw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><span style="font-size:12.8000001907349px"> You should have
a look at the CICM wrapper. <br>
</span></div>
</div>
</blockquote>
<br>
Ok.<br>
<br>
-Jonathan<br>
<br>
<blockquote
cite="mid:CALPKkhr2aQu2yA0BPNQCUK0Oes2qNO-CadaWtdMoBMzwAMradw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><span style="font-size:12.8000001907349px"><br>
</span></div>
<div><span style="font-size:12.8000001907349px">Cheers</span></div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list
UNSUBSCRIBE and account-management -> <a class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a>
</pre>
</blockquote>
<br>
</body>
</html>