Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

2
How to properly size images in WPF grids?
Post Flair (click to view more posts with a particular flair)
Post Body

Hello! I've been working on learning WPF to make a windows app. I'm working on making a game with rolling dice, and I've already used Blender to animate a series of PNG files for each frame of the die rolling from off screen. The problem is that I need to center that animation on a specific spot on the window. I've already written a program to update the source for an image to have an animation displayed on a canvas or grid. But I need the image to be larger than the size of the individual cells so that the die (which almost fills the cell, but is much smaller than the image as a whole) can be shown rolling from off screen. Is there any proper way to do this? Perhaps by using a canvas and tracking the image onto the cell of the grid below? I can't use absolute coordinates because I need it to work with the resizing of the window as well. Any advice would be greatly appreciated.

Author
User Disabled
Account Strength
0%
Disabled 3 months ago
Account Age
3 years
Verified Email
Yes
Verified Flair
No
Total Karma
37,734
Link Karma
20,848
Comment Karma
16,653
Profile updated: 15 hours ago
Posts updated: 4 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
1 year ago