Closed GoogleCodeExporter closed 8 years ago
In the original code
scaleX,scaleY were being set to 0.0;
scaleX=0.0;
scaleY.0.0;
after changing the functions to float, this would no longer compile.
I had changed this to
scaleX=0;
scaleY.0;
which compiled correctly.
In the mean time have seen that the following is correct for floats:
scaleX=0.0f;
scaleY.0.0f;
after which the application no longer crashed.
So the question that is open is:
why can the 2 function no loger be declared as double and should the code be
adapted.
Mark Johnson
Original comment by mj10...@googlemail.com
on 18 Dec 2012 at 6:21
Hi Mark, thanks for the report. I remember seeing that on some computer for a
moment, but then it disappeared and I thought it was a clean project problem.
I am currently not having that problem, I assume because I am building against
2.3. Is it possible that the View later exposed getScale* methods as public API?
Since we are inheriting this from the charting library (which I would love to
change anyways when I have time, since it is not that free as I thought), I
have no real solution right now.
Any advice/patch is very welcome.
Original comment by andrea.a...@gmail.com
on 18 Dec 2012 at 6:29
That was indeed easy to fix, since we don't need to use the API.
Done in master.
Original comment by andrea.a...@gmail.com
on 18 Dec 2012 at 1:04
Original issue reported on code.google.com by
mj10...@googlemail.com
on 17 Dec 2012 at 3:47