|
-
Jan 7th, 2020, 02:20 PM
#1
Thread Starter
Addicted Member
[RESOLVED] GDI+ problems with GdipDrawImageRectRectI
Hi Guys!
I'm creating a windowless usercontrol and have 2 functions to draw an image I load with GdipLoadImageFromFile.
A) calls GdipDrawImageRectI gdipGraphics, img, x, y, x2, y2
and works perfectly!!!
B) calls GdipDrawImageRectRectI gdipGraphics, img, x, y, x2, y2, 0, 0, Width&, Height&, 2
and dont draw anything...
Cause A) works fine I know gdipGraphics and img are not the problem. The values of x,y are 0,0 and x2,y2 are the same as width and height of the image (also tested other values, no change)
What can be the cause of problem ? I'm really stuck with this
Tags for this Thread
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
|