This project is read-only.

resize grid to fit a specified size

Apr 1, 2011 at 1:46 AM

Hello darius,

Can you please help me out again? I am trying to resize the grid to fit a known size but it not working. I tried mygrid.width and mygrid. height but the width does not change. Please is there another way or might I be doing wrong.

thank you

skelo

NB: Help from anyone will be appreciated too.

Apr 8, 2011 at 12:08 AM

Hello Dariusdamalakas,

I really need you help. I have set an image background to a transparent grid and drawn a grid to fit the image. But when I change the number of columns and rows it does not fit the image anymore. I checked the size of the grid and its the same as the image so I don't understand why the grid columns and row shrinks. Please help me.

Thank you

Apr 13, 2011 at 3:36 PM

I figured it out. since pixel are integer only some pixels are lost when quotient is not an integer. So I rescaled the image to fit the grid and that solved it :)

I'm loving sourcegrid. Thanks for the great job Dariusdamalakas and all

thank you