R.Wieser
2020-01-29 17:57:23 UTC
Hello all,
I'm trying to draw a few images (onto another) using GDI+, and am runing
into a size-difference problem :
When I use GdipDrawImageRectI to draw a just-loaded image (with width and
height taken from the just-loaded image) it looks alright. However, when I
use GdipDrawImagePointRectI using the same image (again width and height
taken from it) its displayed larger as the first.
Again using GdipDrawImagePointRectI with a much larger image and using the
same width and height as the target image I'm left with something thats way
smaller thatn that target (It should have overwrittin the target completely,
instead there is a +/- 1/3 target size something in the top-left. It
simply doesn't make any sense. :-(
tl;dr:
GdipDrawImageRectI and GdipDrawImagePointRectI do not generate the same
results (when given the same arguments ofcourse).
Does anyone know whats going on here ?
Regards,
Rudy Wieser
I'm trying to draw a few images (onto another) using GDI+, and am runing
into a size-difference problem :
When I use GdipDrawImageRectI to draw a just-loaded image (with width and
height taken from the just-loaded image) it looks alright. However, when I
use GdipDrawImagePointRectI using the same image (again width and height
taken from it) its displayed larger as the first.
Again using GdipDrawImagePointRectI with a much larger image and using the
same width and height as the target image I'm left with something thats way
smaller thatn that target (It should have overwrittin the target completely,
instead there is a +/- 1/3 target size something in the top-left. It
simply doesn't make any sense. :-(
tl;dr:
GdipDrawImageRectI and GdipDrawImagePointRectI do not generate the same
results (when given the same arguments ofcourse).
Does anyone know whats going on here ?
Regards,
Rudy Wieser