Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » ScatterDraw & ScatterCtrl » ScatterDraw overhaul. Please review
ScatterDraw overhaul. Please review [message #50462] Sat, 03 November 2018 10:18 Go to next message
koldo is currently offline  koldo
Messages: 2899
Registered: August 2008
Veteran
Good morning

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.


Best regards
Koldo

[Updated on: Sat, 03 November 2018 10:18]

Report message to a moderator

ScatterDraw overhaul. Responsiveness [message #50464 is a reply to message #50462] Sun, 04 November 2018 15:34 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 2899
Registered: August 2008
Veteran
Responsiveness is an approach that makes objects render well on a variety of devices and window or screen sizes.

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.
index.php?t=getfile&id=5693&private=0
Please check the documentation and ScatterCtrl_Demo to see the advantages.
  • Attachment: Capture.JPG
    (Size: 72.68KB, Downloaded 58 times)


Best regards
Koldo

[Updated on: Mon, 05 November 2018 08:06]

Report message to a moderator

ScatterDraw overhaul. 2D Surfaces [message #50465 is a reply to message #50464] Sun, 04 November 2018 15:38 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 2899
Registered: August 2008
Veteran
In addition now ScatterDraw supports 2D surfaces. You can check them in the documentation.

index.php?t=getfile&id=5691&private=0


Best regards
Koldo
Re: ScatterDraw overhaul. 2D Surfaces [message #50472 is a reply to message #50465] Mon, 05 November 2018 19:35 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 11561
Registered: November 2005
Ultimate Member
Well, I have one complaint, from nightly tests:

GCC reference/ScatterDraw_Demo : ERROR

(does not compile)
Re: ScatterDraw overhaul. Please review [message #50474 is a reply to message #50462] Mon, 05 November 2018 21:11 Go to previous messageGo to next message
Oblivion is currently offline  Oblivion
Messages: 526
Registered: August 2007
Location: Turkey
Contributor
Hello,

It looks like a default argument is missing:

ScatterDraw.h, ln: 420
void ZoomToFit(bool horizontal, bool vertical = false, double factor = 0);
                    -----------
                         ^


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

[Updated on: Mon, 05 November 2018 21:12]

Report message to a moderator

Re: ScatterDraw overhaul. Please review [message #50475 is a reply to message #50474] Tue, 06 November 2018 09:17 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 2899
Registered: August 2008
Veteran
Thank you Oblivion and Mirek

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.


Best regards
Koldo
Re: ScatterDraw overhaul. Please review [message #50479 is a reply to message #50474] Tue, 06 November 2018 17:08 Go to previous message
koldo is currently offline  koldo
Messages: 2899
Registered: August 2008
Veteran
Quote:
By the way, thanks for this package, it is very good and useful!
Thank you Oblivion Smile


Best regards
Koldo
Previous Topic: PieCtrl and GetImage
Next Topic: Some improvements
Goto Forum:
  


Current Time: Wed Dec 19 17:23:34 CET 2018

Total time taken to generate the page: 0.00655 seconds