I have forgotten
my Password

Or login with:

  • Facebookhttp://facebook.com/
  • Googlehttps://www.google.com/accounts/o8/id
  • Yahoohttps://me.yahoo.com
Index » Programming » C/C++ »

Creating a grid

john\′s Photo
24 Feb 08, 8:59PM
Creating a grid
To make the matrix you just need to draw a series of squares. Where they but up you'll have a double thickness boundary, alternatively you can overlap the squares by 1 pixel (or whatever your boundary is) and then there won't be any overlap.

Off course you could properly work out which squares have common boundaries etc, but I suspect its better for you to get going on this project first, then refine the logic at the end.
Currently you need to be logged in to leave a message.