D
D
Diffins2018-05-29 01:24:31
API
Diffins, 2018-05-29 01:24:31

What means on win32 API to draw a parabola on three given points?

I got acquainted with win32 api just the other day and there is no time to deal with it well. Therefore, I want to save it (time) by asking you for advice - you need to write a program where the user clicks on the workspace and a cross appears. And this is how he selects three points and draws a parabola from them.
Advise in which direction to dig, what functions to use. Well, I, of course, will draw the points, but building a correct parabola from them is already a problem.
As I understand it, you need to draw through LineTo one point at a time through a cycle, but here's how to draw the correct curve. After all, it may not be an ideal parabola, but three generally random points.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question