Very simple project. My application errors on exit (and is not catchable with the main block) with an a Access Violation Exception. Also when I resize a texture/sprite, it doesnt seem to keep the position. Those are the only two things I need. Should be a quick fix for someone who knows what they are doing.
## Deliverables
Just need to prevent it erroring on closing, and also make it scale a texture but keep the images top left corner, in the position I specify.
Source Code: [login to view URL]
You can find that function in the Source Code file "[login to view URL]" and class "FusionImage" if you are looking for the whole thing.
I feel the variables are self explanitory, let me know if you cant figure them out. Basically the image drawn should be drawn at a point that can be scaled depending on the applications size. That App_Scaling Vector2 contains a value such as (1.0,1.0) for no scaling and (1.2, 1.2) for scaling at 120% and so on. Then each "FusionImage" can be scaled. So if the original image was 50x50 pixels, you can draw it at 100x100. But if it being scaled at 120%, then it would draw as 120x120. The code mathmatically works, I think, but I could be screwing up the actual call to MDX.