B
btb900
Guest
So I have this:
float x = 0F;
float y = 0F;
Rectangle destRect = new Rectangle(0, 0, (int)pixel_ex, (int)pixel_ey);
g.DrawImage(currentFrame,x,y, destRect,GraphicsUnit.Point);
I am making a smaller picture out of a bigger picture.
but I want the new picture to fill my control, but it is not. displaying the small picture but then the other area is just white.
how can I make it fill the control ?
Continue reading...
float x = 0F;
float y = 0F;
Rectangle destRect = new Rectangle(0, 0, (int)pixel_ex, (int)pixel_ey);
g.DrawImage(currentFrame,x,y, destRect,GraphicsUnit.Point);
I am making a smaller picture out of a bigger picture.
but I want the new picture to fill my control, but it is not. displaying the small picture but then the other area is just white.
how can I make it fill the control ?
Continue reading...