U++ framework
Do not panic. Ask here before giving up.

Home » Developing U++ » UppHub » Scatter : getDrawing !!!! help !!!!
Re: Scatter : getDrawing !!!! help !!!! [message #29031 is a reply to message #29030] Sat, 02 October 2010 22:21 Go to previous messageGo to previous message
Didier is currently offline  Didier
Messages: 740
Registered: November 2008
Location: France
Contributor
Hi Koldo,

I've been looking in to it this after noon, and there is a bug in Scatter.

The CIRCLE mark seems to malfunction in some circumstances: other marks look good while circle doesn't appear ??.
As far as I've looked, it seems that there are some "magic numbers" in the Scatter ctrl.

Foe example:
Drawing Scatter::GetDrawing() const
{
	DrawingDraw ddw(6*GetSize());
	SetDrawing (ddw, 6);
	return ddw;
}


What is the '6' value for ???
While in the 'GetImage()' function, there is a scale parameter...

I'll make a test case (some other magic numbers are hanging around I think).

Asta luego
 
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 Sep 21 00:43:45 GMT+2 2026

Total time taken to generate the page: 0.01286 seconds