Function gaiaOutSvg

Source
pub unsafe extern "C" fn gaiaOutSvg(
    out_buf: gaiaOutBufferPtr,
    geom: gaiaGeomCollPtr,
    relative: c_int,
    precision: c_int,
)
Expand description

Encodes a Geometry object into SVG notation

\param out_buf pointer to dynamically growing Text buffer \param geom pointer to Geometry object \param relative flag: relative or absolute coordinates \param precision decimal digits to be used for coordinates

\note if \e relative is set to \b 1, then SVG relative coords will be used: in any other case SVG absolute coords will be assumed by default.