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

Home » Developing U++ » UppHub » Scatter : getDrawing !!!! help !!!!
Re: Scatter : getDrawing !!!! help !!!! [message #29042 is a reply to message #29032] Sun, 03 October 2010 11:40 Go to previous messageGo to previous message
Didier is currently offline  Didier
Messages: 740
Registered: November 2008
Location: France
Contributor
Hi Koldo,

In fact I had two problems:
- One with the font sizes ==> I corrected this one by adding
graph1.SetRect(0,0,600,350);

the default size was to big, so when resizing ... the fonts got to small Embarassed

- Display of CIRCLE marks: ==> this one is still hanging around.

I'm doing a test case and it works for the moment ....
I think my problem is linked to the fact that the image is inserted inside a table.

A small correction in scatter makes it work again:
void Scatter::Circle(Draw& w, const int& scale, const Point& cp, const int& size, const class::Color& markColor)const
{
	Point cp2 = cp;
	cp2.x++;
	w.DrawLine(cp,cp2,fround(scale*size/6),markColor);
}


I will enhance my test case and check this today ...



 
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: Sat Jul 11 03:49:40 GMT+2 2026

Total time taken to generate the page: 0.00851 seconds