On Mon, Sep 8, 2008 at 7:19 AM, _why <[EMAIL PROTECTED]> wrote:
> On Mon, Sep 08, 2008 at 01:26:03AM -0700, Martin DeMello wrote:
>> Okay, here's my question again. Latest git pull seems to have fixed
>> the segfault, but the text still slows everything down tremendously,
>> which, since the app is all about drawing text on the grid, is
>> critical.
>
> Try the attached.

No, same problem. Just hold down one of the arrow keys and watch the
moving square not keep up. It's partly a result of drawing too many
objects, I think, and partly that the objects are text - for instance,
if I do this:

      fill rgb(155, 155, 255)
      p,q,r,s = inner_bounds(y,x)
      star(p, q, 5, SIZE/2, SIZE/4)
      fill rgb(255, 155, 255)
      star(p, q, 10, SIZE/2, SIZE/4)
      #para n, :left => a - 2, :top => b - 2, :font => '8px'
      #para l, :left => a + 7, :top => b + 5, :font => '14px bold'

things slow down a bit, but not as much as if I drew the text

martin

Reply via email to