U++ Forum - RDF feed
https://www.ultimatepp.org/forums/
ScatterDraw overhaul. Please review
https://www.ultimatepp.org/forums/index.php?t=rview&goto=50462&th=10477#msg_50462
ScatterDraw has had an important overhaul.
In next posts main changes will be shown.
Just minimum changes are expected for actual applications.
However it is advised to check them.]]>koldo2018-11-03T09:18:28-00:00ScatterDraw overhaul. Responsiveness
https://www.ultimatepp.org/forums/index.php?t=rview&goto=50464&th=10477#msg_50464
For example:
- An application can be deployed to be used in different devices and screen resolutions.
- A plot that is properly viewed on screen, may be submitted to be published in a book or a journal. Publishers demand either vectorial or high resolution bitmaps (for example, 3000x3000 pixels)
However in ScatterDraw, letter font sizes, plot margins and line widths are defined in pixels.
To solve this drawback, new Responsive() method considers that all plot dimensions in pixels are applied to a 600x400 pixels reference size, and scales up or down all dimensions if control size is bigger or smaller.
Please check the documentation and ScatterCtrl_Demo to see the advantages.]]>koldo2018-11-04T14:34:54-00:00ScatterDraw overhaul. 2D Surfaces
https://www.ultimatepp.org/forums/index.php?t=rview&goto=50465&th=10477#msg_50465
documentation.
(does not compile)]]>mirek2018-11-05T18:35:58-00:00Re: ScatterDraw overhaul. Please review
https://www.ultimatepp.org/forums/index.php?t=rview&goto=50474&th=10477#msg_50474
It looks like a default argument is missing:
Or if this is intended, then ScatterDraw_Demo.cpp, ln 46 should be modified:
scatter.ZoomToFit(true); // or false.
Then it works fine.
(By the way, thanks for this package, it is very good and useful!)
Best regards,
Oblivion
]]>Oblivion2018-11-05T20:11:40-00:00Re: ScatterDraw overhaul. Please review
https://www.ultimatepp.org/forums/index.php?t=rview&goto=50475&th=10477#msg_50475
Problem is solved.
PD: I hate excuses... curiously the main aim of this improvement was headless ScatterDraw... however I forgot to test ScatterDraw_Demo after fixing ScatterDraw.h after the file was crashed and it had to be recovered from an old backup...
By the way, ScatterDraw and ScatterCtrl pass the gcc -pedantic compiling option.]]>koldo2018-11-06T08:17:40-00:00Re: ScatterDraw overhaul. Please review
https://www.ultimatepp.org/forums/index.php?t=rview&goto=50479&th=10477#msg_50479
Quote:
By the way, thanks for this package, it is very good and useful!
Thank you Oblivion ]]>koldo2018-11-06T16:08:16-00:00