Hi,

I have discovered couple of issues with 2D rendering. I appreciate any help or information. If there is some other forum to post possible bugs please let me know.

1) Rendering transparent png images with Sprite.Draw2D draws gray border to the image on screen even if image is completely transparent.

2) The source rectangle size with Sprite.Draw2D seems not to be 1 to 1 with the image bitmap coordinates i.e. if I try to ask 10x10 piece of the source image I get larger portion than I asked for (~1.5 times larger). This works the same for bmp and png images.

3) I have not managed get the Color.Empty work in Sprite.Draw2D. The image is not rendered at all if I try to apply Color.Empty. This leads to situation that one has to always provide filter color and its not possible to render the image in its original colors.

best regards,

Tommi Laukkanen

PS. Managed DirectX rocks.




Tommi Laukkanen