Damien Dunlop on wrote...
| The -polyline and -polygon graphic primitives are almost identical:
|
| -draw 'polyline x1,y1 x2,y2 ... xn,yn'
|
| The coordinate list can be very long.
|
| Is there any way of continuing the list on successive
| lines in a `formatted' way, in similar fashion to using
| the `\' for operator sequences within a command?
|
return characters in the quotes are ignored by the shell AND by IM
-draw 'polyline x1,y1 x2,y2
x3,y3 x4,y4 ...
xn,yn'
That works in shells. I have used it in distort examples myself many
times.
| Whilst on the topic, the same applies to -annotate.
Returns are NOT ignored in annotate! the only way to make a return
not be visible in the final output is to make it a percent escape.
EG: -annotate 0 '....%[
]....'
that hopefully will produce a 'bad' escape that will generate nothing
so only the 8 dots will be in the output. Same for label.
That would be a trick I would NOT like to use very often.
Quick tests...
convert label:'12345%[ ]67890' x:
perfect
convert label:'12345%[
]67890' x:
Perfect. The extra return and spaces is completely ignored!
Not even any errors or warnings about it!
Anthony Thyssen ( System Programmer ) <[EMAIL PROTECTED]>
-----------------------------------------------------------------------------
If your going to have delusions, you might as well go for the
really satisfying ones. -- Marcus, Babylon 5
-----------------------------------------------------------------------------
Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users