|
-
March 5th, 2009, 02:00 PM
#1
DrawImage help
Hi,
I'm trying to call a DrawImage function using two Rectangles and imageAttributes. I'm able to successfully draw my image using:
gxBuffer.DrawImage(Anim, destRect, sourceRect, GraphicsUnit.Pixel);
but when I try to add my image Attributes options it doesn't like the statement anymore, says invalid arguments:
gxBuffer.DrawImage(Anim, destRect, sourceRect, GraphicsUnit.Pixel, imgAttribs);
I looked on MSDN this function and it seems it needs specific parameters, I couldn't find one which allows two Rects and imgAttributes, this seems very limiting. Is there any way around this?
Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|