Discussion of article "Graphics in DoEasy library (Part 80): "Geometric animation frame" object class"

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
New article Graphics in DoEasy library (Part 80): "Geometric animation frame" object class has been published:
In this article, I will optimize the code of classes from the previous articles and create the geometric animation frame object class allowing us to draw regular polygons with a given number of vertices.
After the launch, press the keys drawing regular polygons and filling the area with color:
Everything works as intended. However, the shapes turn out to be pretty uneven... In my opinion, the appearance of polygons applying the Wu smoothing algorithm is the best. While filling, we are able to adjust the degree (threshold) of color filling by specifying the necessary threshold parameter:
Author: Artyom Trishkin