<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 06/30/2015 06:37 AM, Pierre Guillot
      wrote:<br>
    </div>
    <blockquote
cite="mid:CALPKkhqaHko3KZV_pbm=gQ4zJcd_RpVJE4jEaCRZEMzmCVAPcQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div style="font-size:12.8000001907349px">
          <div><font face="arial, helvetica, sans-serif">Hello,</font></div>
          <div><font face="arial, helvetica, sans-serif"><br>
            </font></div>
          <div><font face="arial, helvetica, sans-serif">(Apologies for
              cross<span style="background-color:rgb(255,255,255)">-<span
style="background-image:initial;background-repeat:initial">posting</span></span>)<br>
            </font></div>
          <div><font face="arial, helvetica, sans-serif"><br>
            </font></div>
          <div><font face="arial, helvetica, sans-serif">The CICM is
              pleased to announce the new releases of the Cream Library
              (v0.4) and the HOA library (v2.2) for Pure Data.</font></div>
        </div>
      </div>
    </blockquote>
    <br>
    I'd be careful exposing the tk canvas api from within Pd.  It's a
    buggy interface, as evidenced<br>
    by the off-by-one errors in the data-structure illustrations of
    Miller's book.<br>
    <br>
    For example:<br>
    [struct foo float x float y]<br>
    <br>
    [namecanvas bar]<br>
    <br>
    [drawpolygon 0 1 5 5 0 0 -5 5]<br>
    <br>
    [scalar foo 10 10(<br>
    |<br>
    [send bar]<br>
    <br>
    Bug: tk draws the points at (5,5) and (0,0) but it excludes the
    final point at (-5,5).<br>
    <br>
    Worse, the docs erroneously describe this non-feature for the 'rect'
    subcommand:<br>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    "The arguments x1, y1, x2, and y2 or coordList (which must have four
    elements) give the<br>
    coordinates of two diagonally opposite corners of the rectangle (the
    rectangle will include<br>
    its upper and left edges but not its lower or right edges)."[1]<br>
    <br>
    Yet 'rect' doesn't actually suffer from this problem: it includes
    the the lower and right edges.<br>
    <br>
    -Jonathan<br>
    <br>
    [1] <a class="moz-txt-link-freetext" href="https://www.tcl.tk/man/tcl8.5/TkCmd/canvas.htm#M143">https://www.tcl.tk/man/tcl8.5/TkCmd/canvas.htm#M143</a><br>
  </body>
</html>