Themuppeteer
Programmer
I know this sound crazy, but I can't think of anything else but a bug in drawline.
I'm writing a clock, and everytime my 'hands' (arrow if you will,don't know what the right translation is..) pass 0,15,30 or 45 the hand is just not drawn. The coordinates are ok and all. I tested it with System.out.println(..)
In fact, when one of my coordinates (other the starting point wich is 0,0) is zero, it doesnt draw.
So then I tried a simple g.drawline(0,-600,0,600); and it did not work.
But g.drawline(-1,-600,0,600) does work.
Just for your information, I draw on a canvas, and I also do a g.translate(175,150); so that my clock would be nicely in the middle...
Anyone know what this strange fenonemon is ?
Thnx in advance.
Greetz,
NOSPAM_themuppeteer@hotmail.com (for mails, remove the NOSPAM_)
"Those who say they understand chess, understand nothing"
-- Robert HUBNER
I'm writing a clock, and everytime my 'hands' (arrow if you will,don't know what the right translation is..) pass 0,15,30 or 45 the hand is just not drawn. The coordinates are ok and all. I tested it with System.out.println(..)
In fact, when one of my coordinates (other the starting point wich is 0,0) is zero, it doesnt draw.
So then I tried a simple g.drawline(0,-600,0,600); and it did not work.
But g.drawline(-1,-600,0,600) does work.
Just for your information, I draw on a canvas, and I also do a g.translate(175,150); so that my clock would be nicely in the middle...
Anyone know what this strange fenonemon is ?
Thnx in advance.
Greetz,
NOSPAM_themuppeteer@hotmail.com (for mails, remove the NOSPAM_)
"Those who say they understand chess, understand nothing"
-- Robert HUBNER