G. Drawimage fill control

  • Thread starter Thread starter btb900
  • Start date Start date
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...
 

Similar threads

B
Replies
0
Views
286
btb900
B
B
Replies
0
Views
131
btb900
B
M
Replies
0
Views
105
Madhan kumarasamy
M
B
Replies
0
Views
264
Btb4198
B
Back
Top