[e] How to specify line width on evas.canvas

2009-07-29 Thread Laszlo KREKACS
Hi!

This is a e specifiy question, I hope somebody is more knowledgable then me.

Im creating a line element on evas.canvas with the following snippet of code:

line = self.Line(color=#CE5C00)
line.start_set(oldx, oldy)
line.end_set(newx, newy)
line.show()

The problem with it, it is always 1 px wide.

How can I specify the width? I would like to have at least 5px width.

Any idea is most welcomed.

Best regards,
 Laszlo

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[e] How to specify line width on evas.canvas

2009-07-29 Thread Laszlo KREKACS
Hi!

I hope somebody can help me out:

Im currently using evas.canvas for some basic graphics.
Im creating line with this code snippet:

line = self.Line(color=#CE5C00)
line.start_set(oldx, oldy)
line.end_set(newx, newy)
line.show()

The only problem with it, that it creates 1px wide line.
How can I specify the line width?
I would like to have at least 5px of line width.

Any idea is most welcomed.

Best regards,
 Laszlo

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community