pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sandro Martini <sandro.mart...@gmail.com>
Subject Re: Programmatic drawing in Pivot 2.0?
Date Wed, 24 Aug 2011 20:40:42 GMT
Hi, sorry at the moment I can tell you only a quick info:
Try to look at svg functions.
There was the old drawing package (with a clock demo) but if I remember well
should have been removed in 2.0 .

So good tests with SVG.

Bye
 Il giorno 24/ago/2011 22:29, "camicas" <camilo.casadiego@adv.com.co> ha
scritto:
> Sorry to take this back to life....but im stuck...im been triying to draw
a
> simple line for the last 3 hours...and my head is really starting to
> hurt...jajajaja any indications?? I triyed overwriting the paint method in
a
> class that exteds panel..
> @Override
> public void paint(Graphics2D graphics) {
> // TODO Auto-generated method stub
> System.out.println("canvas controller painted!!!");
> Line2D line = new Line2D.Float(new Point2D.Double(0d, 0d),
> new Point2D.Double(100d, 100d));
> graphics.draw(line);
> super.paint(graphics);
> }
>
> but the bloody method never get called!!! :( pleeease help! i ned to draw
a
> simple line....:D
>
> --
> View this message in context:
http://apache-pivot-users.399431.n3.nabble.com/Programmatic-drawing-in-Pivot-2-0-tp2253493p3282030.html
> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Mime
View raw message