Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I have designed my UI in WPF(xaml) but when i run it on screen bigger than the size of my desktop, the screen distorts,how to avoid this?
Please share the xaml code. In general it happens when you hard code the width and height of controls in xaml. If used "Auto" property for both Height and Width the controls will align themselves automatically depending on screen size or resolution.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I was wondering if there is a way to stretch an image based on its 4 points (as shown in the picture), and if not, how could I achieve that?
Illustration of what I need to do
I've tried SDL_RenderCopyEx, but it seems it only rotates an image.
:)
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am using a Scrollbar to scroll a bitmap.
When I click on the right or left arrow button, how much should I increment/decrement the Scrollbar position (I mean is there a convention that people use)? should it be only 1 unit?
Note that the range for the horizontal Scrollbar is the same as the width of the image (and the same goes for the vertical Scrollbar), and so when I increment the Scrollbar position by 1, I am shifting the image by 1 pixel.
Above all, ensure the scrolling feels natural, and provides a good user experience. Adjusting by 1 pixel will have varying results, which depend on the image size.
Try having a small unit of measurement, and a larger for paging (when the user clicks it the track region). Try 1% of the corresponding width or height for small, and 5% for large. That way the user will have a consistent experience, regardless of the image size.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I want draw lines and then I click the line and delete it. How can I find the line that I wanted by using mouse? Can an one help me?
Your question has nothing to do with OpenGL you know. You'll have to keep a collection of lines around, get your mouse input somehow (depends on what you're using), figure out whether the mouse position during a click was within an existing line (with some margin of error), and then remove that from the collection.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Is there such a software?
Try this free tool (unlimited frames) called Cropper. Set the output as Animated Gif.
http://cropper.codeplex.com/
Update:
In the notification area right click the cropper icon, go to Output > Animated Gif
Try this (Size -857 KB) (trial version - only 25 frames )
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I have a mediaelement tag in my wpf-window. It's playing a simple animation, similar to the windows xp copy file dialog.
The animation has an ugly pink background #FF00FF, that I want to be transparent. I've tried setting the color in the OpacityMask attribute, but the color remains. Any ideas on how I can remove the color from the video?
You can use a shader effect to remove a specific color. Luckily this type of shader is part of the WPF Pixel Shader Effects Library - http://www.codeplex.com/wpffx which is available free of charge. The effect that you should look at is called ColorKeyAlpha.
Here you can find more info on the subject and if you are new to shaders this blog series has all the information you will need -