Re: [whatwg] dashed lines on canvas
If this means that it would become possible to put a dashed line through text at approximately x or m height, I'm for it, too. It would make it a lot easier to build certain kinds of teaching materials for the lower primary grades, where some kids need the center line to drag their attention to the idea that size and extension of risers, etc. are significant elements of modern Latin text. --- Scott Graham [EMAIL PROTECTED] wrote: Hi I'd like to add a vote for supporting dashed lines to strokes. I'm implementing a canvas-targeting renderer for PyX (http://pyx.sourceforge.net). The vast majority of the functionality maps very well (as PyX is originally targeted to PS/PDF), but attempting to emulate dashed lines is very painful. thanks, scott Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
[whatwg] dashed lines on canvas
Hi I'd like to add a vote for supporting dashed lines to strokes. I'm implementing a canvas-targeting renderer for PyX (http://pyx.sourceforge.net). The vast majority of the functionality maps very well (as PyX is originally targeted to PS/PDF), but attempting to emulate dashed lines is very painful. thanks, scott
Re: [whatwg] dashed lines in Canvas
One possible use case of canvas are technical drawings. For even extremely simple drawings - think of a circle with centerlines and a diameter dimension - dash-dotted lines are needed as well as dimension text. I would like to see both (dashed lines and text) in future canvas versions. -- Stefan Goessner Garrett Smith wrote: On 5/21/07, Ian Hickson [EMAIL PROTECTED] wrote: On 5/19/07, Garrett Smith [EMAIL PROTECTED] wrote: Consider doing any diagramming. It's a necessary feature. Not really. For straight lines it's pretty trivial to do today anyway (either by drawing actual dashed lines or faking it with a pattern), and in general you can use other styles of lines instead of actual dashes. Now of course I'm not saying that this is always a good alternative, but it's not a blocker. If someone actually does this, then we might have to reconsider. http://ditchnet.org/canvasuml/ Someone actually did. I haven't tried using canvas for UML for publishing. If I want to make a diagram published, I'd use the above strategies. Trying to make UML Diagrams in the browser, current options are: 1) ASCII 2) Image 3) HTML + CSS + Images A UML widget for a bugzilla plugin could be useful, so long as it was simple and quicker to use than making ascii lines. Garrett -- Ian Hickson
Re: [whatwg] dashed lines in Canvas
Stefan Gössner wrote: One possible use case of canvas are technical drawings. For even extremely simple drawings - think of a circle with centerlines and a diameter dimension - dash-dotted lines are needed as well as dimension text. I would like to see both (dashed lines and text) in future canvas versions. Why not using SVG ? it has the features you want and more. It's a declarative format, which means you can import/export it into/from a graphic editor if you want. -- Stefan Goessner Garrett Smith wrote: On 5/21/07, Ian Hickson [EMAIL PROTECTED] wrote: On 5/19/07, Garrett Smith [EMAIL PROTECTED] wrote: Consider doing any diagramming. It's a necessary feature. Not really. For straight lines it's pretty trivial to do today anyway (either by drawing actual dashed lines or faking it with a pattern), and in general you can use other styles of lines instead of actual dashes. Now of course I'm not saying that this is always a good alternative, but it's not a blocker. If someone actually does this, then we might have to reconsider. http://ditchnet.org/canvasuml/ Someone actually did. I haven't tried using canvas for UML for publishing. If I want to make a diagram published, I'd use the above strategies. Trying to make UML Diagrams in the browser, current options are: 1) ASCII 2) Image 3) HTML + CSS + Images A UML widget for a bugzilla plugin could be useful, so long as it was simple and quicker to use than making ascii lines. Garrett -- Ian Hickson -- Mathieu 'p01' HENRI JavaScript developer, Opera Software ASA
Re: [whatwg] dashed lines in Canvas
4) SVG 5) VML -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Garrett Smith Sent: Saturday, September 29, 2007 7:16 PM To: [EMAIL PROTECTED] Cc: Ian Hickson Subject: Re: [whatwg] dashed lines in Canvas Trying to make UML Diagrams in the browser, current options are: 1) ASCII 2) Image 3) HTML + CSS + Images
Re: [whatwg] dashed lines in Canvas
On 5/21/07, Ian Hickson [EMAIL PROTECTED] wrote: On 5/19/07, Garrett Smith [EMAIL PROTECTED] wrote: Consider doing any diagramming. It's a necessary feature. Not really. For straight lines it's pretty trivial to do today anyway (either by drawing actual dashed lines or faking it with a pattern), and in general you can use other styles of lines instead of actual dashes. Now of course I'm not saying that this is always a good alternative, but it's not a blocker. If someone actually does this, then we might have to reconsider. http://ditchnet.org/canvasuml/ Someone actually did. I haven't tried using canvas for UML for publishing. If I want to make a diagram published, I'd use the above strategies. Trying to make UML Diagrams in the browser, current options are: 1) ASCII 2) Image 3) HTML + CSS + Images A UML widget for a bugzilla plugin could be useful, so long as it was simple and quicker to use than making ascii lines. Garrett -- Ian Hickson -- Programming is a collaborative art.
Re: [whatwg] dashed lines in Canvas
On 5/19/07, Garrett Smith [EMAIL PROTECTED] wrote: I vote for this. We don't really do things by voting here. Reasoned arguments only. :-) Consider doing any diagramming. It's a necessary feature. Not really. For straight lines it's pretty trivial to do today anyway (either by drawing actual dashed lines or faking it with a pattern), and in general you can use other styles of lines instead of actual dashes. Now of course I'm not saying that this is always a good alternative, but it's not a blocker. Eventually, I think canvas could be used for UML. Hey, wouldn't that be neat? You could have a llibrary that uses a canvas to do round-trip UML to generate real code. If someone actually does this, then we might have to reconsider. -- Ian Hickson
[whatwg] dashed lines in Canvas
I vote for this. Consider doing any diagramming. It's a necessary feature. Eventually, I think canvas could be used for UML. Hey, wouldn't that be neat? You could have a llibrary that uses a canvas to do round-trip UML to generate real code. Dashed lines. -- site still down.