bluefeather
Programmer
I have a function drawing pixels to the screen to form a grid.
When the screen is resized I redraw the grid.
e.g
for(float y=0;y<Height;y+=yadd)
{
for(float x=0;x<Width;x+=xadd)
Canvas->Pixels[x][y]=clBlack;
}
Is there a quicker way to access the pixels ?
Also I am drawing inside images on a form, when they are resized the image is first cleared. I use the canvas->rectangle function to clear the image. Its sooo slow, is there a quicker way ?
Your help is much appreciated
Thanks.
BlueFeather.
When the screen is resized I redraw the grid.
e.g
for(float y=0;y<Height;y+=yadd)
{
for(float x=0;x<Width;x+=xadd)
Canvas->Pixels[x][y]=clBlack;
}
Is there a quicker way to access the pixels ?
Also I am drawing inside images on a form, when they are resized the image is first cleared. I use the canvas->rectangle function to clear the image. Its sooo slow, is there a quicker way ?
Your help is much appreciated
Thanks.
BlueFeather.