Way to stretch image points on SDL? [closed] - c

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.
:)

Related

How to display 2 output in different windows using C [closed]

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 1 year ago.
Improve this question
I want to display output on different window, but how? For example: I want to display " hello world " on the first black screen, and when I press enter button, the old screen will disappear and another new black screen will display "thank you" . Just how to do that in c?
You can do this by using GUI toolkits to create windows to do these functions, one window will show a Hello World statement and the other will show Thank you statement. I can share one great post related to your question:
https://docs.wxwidgets.org/3.0/overview_helloworld.html

UI layout of screen in wpf distorts on bigger screen [closed]

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.

OpenGL delete lines [closed]

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.

Perspective Camera in Car and Maya? [closed]

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 9 years ago.
Improve this question
I'm new to Maya, so is there a way to set the camera to be inside of a car? I understand that there are certain cameras like a perspective camera, but I'm having trouble figuring out if there's a simple way to set a camera, or if it's even possible at all. Thanks for your help!
Make a camera Create -> Cameras -> Camera, then enable move/rotate tool and put it wherever you want. You can also move even the existing camera to position the same way, or by dragging mouse and alt+mmb, alt+lmb+mmb and alt+lmb.

How to record screen and save as gif animation? [closed]

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 )

Resources