This week's book giveaway is in the HTML/CSS/JavaScript forum.
We're giving away four copies of Practical SVG and have Chris Coyier on-line!
See this thread for details.
Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Drawing Scaled Lines

Jeff Storey
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi. I have an application in which I need to draw approximately 10,000 lines on each repaint. This paints very quickly when the scale of the image is 1.0 or less, but when I increase the scale to greater than 1.0, the slowdown several seconds. Below is a very crude example (that draws the lines in the same place, but still the slowdown is noticeable) that illustrates this point. Does anyone know why this happens and what can be done about it?

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!