g.drawPoly/fillPoly have a limit of 64 nodes

Posted on
  • it may be useful to mention in the docs of g.drawPoly and g.fillPoly, that there is a hard-coded limit of the number of polygon nodes - namely 64!

    It would have saved me some time I spent developing code which turned out to be principally unable to run because of this restriction!

  • Funnily enough I hit the same limit just last night. In my case, though, what I was doing was a bad idea anyway and I knew it. Still, would have been nice to know in advance.

  • Thanks - yes, I'll update the docs.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

g.drawPoly/fillPoly have a limit of 64 nodes

Posted by Avatar for Andreas_Rozek @Andreas_Rozek

Actions