Drawing images in different shapes VB.Net

J

JimBob

Hi, Thanks for your help in advance. I need some help with drawing
images in VB.Net. This seems simple to me but I can't seem to find a
good example to get me started. I want to take a source image which is
a rectangle and then resize and stretch the image in to a different
shape like a parallelogram. I have been trying to do this with GDI+ but
need a better example then what is given. If someone could give me an
example or point me to a good one you would be a great help.

Thanks
 
J

JimBob

thanks for the link ive been messing with this already but cant get it
to do what i want. Is it posible to take an image and redraw it into a
shape other then a rectangle?

thanks
 
J

JimBob

Thanks for the help guys! I got the pic in a region and it works
somewhat like i need it to but i need to stretch the image to fit the
specific region. does anyone know how to do that?

thanks again for all your help
 
M

Mudhead

Try making x1 and y2 bigger

Dim x1 As Single = x + bmp.Width + 100
'
'
Dim y2 As Single = y + bmp.Height + 100
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top