dumper::coordszinc
coordszinc coords \ ?type?
Only for »curve« items. Coords are transformed in a path coords definition.
See also »resolve::Zinc closed«. groups reports a point.
The generated coords were wrong for cubic bezier splines. The Zinc convention is c x0 y0 c x1 y1 x y and has to be reassembled to resemble: C x0 y0 x1 y1 x y, done! The s variant is still used in addition.
coordszinc is being used by ::vgcode::dump-configure-Zinc clients.
Example 4.37. ::vgcode::dump-configure-Zinc using coordszinc
... # groups might have empty coords. set coords \ [$target coords $id] if { {} != $coords} { set coords \ [dumper::coordszinc $coords $type]
Copyright © 2009–2010 Arndt Roger Schneider