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 » Developing U++ » UppHub » Scatter : getDrawing !!!! help !!!!
Re: Scatter : getDrawing !!!! help !!!! [message #29158 is a reply to message #29156] Fri, 08 October 2010 08:23 Go to previous message
koldo is currently offline  koldo
Messages: 3443
Registered: August 2008
Senior Veteran
Didier wrote on Thu, 07 October 2010 22:43

Hi Koldo,

After taking a look at PlotCtrl, I saw that it had dashes while having Painter.
So I looked at the code and found out that Painter supports dashes (they are drawn exactly the same way you did):
inline Painter& Painter::Dash(const Vector<double>& dash, double start)
{
	if(dash.GetCount() & 1) {
		Vector<double> dash1;
		dash1.Append(dash);
		dash1.Append(dash);
		DashOp(dash1, start);
	}
	else
		DashOp(dash, start);
	return *this;
}


Though you would appreciate this info Wink



Hello Didier

Quote:

If somebody wants dashed lines and works in Draw
Yes, I know Painter includes dashes Smile. As Draw does not include them, I added them.

To be as fast as possible, Scatter uses Draw.


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Scatter: Propose to add new methods
Next Topic: Themes
Goto Forum:
  


Current Time: Mon Aug 25 23:19:33 CEST 2025

Total time taken to generate the page: 0.06038 seconds