hey there,
I have a png (2100 width and 800 height) containing a whole card deck.
the colors are on each row and each card on a column + jokers for each color. so 14 cards with 4 differents colors
So if my maths are ok each card is 150 (width) by 200 (height)
But when i do :
canvas.drawBitmap(bitmap, graphic.getRectangle(), dest, null);
i see the card i want to display + 50% of the next card on the right and 50% of the card on the next row.
I checked my rectangle and it s like top = 0, left = 0, right = 150, bottom = 200. So everything should be fine !
When i set the rectangle to be x,y,x + 150*2/3, y + 200*2/3 everything works fine but i can t understand why !!
dest is a rectangle with half the dimensions of the source.
Thanks for ur help




