Did you know ... Search Documentation:
Pack svg -- prolog/svg.pl
PublicShow source

Read/write SVGs as xmls.

Pack info

author
- nicos angelopoulos
version
- 0.1 2021/1/19
See also
- http://stoics.org.uk/~nicos/sware/svg
- http://stoics.org.uk/~nicos/sware/svg/doc/html/svg.html
- pack(svg/examples/)
- pack(svg/scripts/)
 svg(+SvgF, -Svg)
svg(+SvgF, +Svg)
svg(-SvgF, +Svg)
Load and write Svg files (SvgF) to and from terms (Svg).
An unbound Svg triggers loading, else terms are written to file.
An unbound SvgF passes Svg into SvgF.
?- svg( pack('svg/examples/rea_smp-e10_fclr.svg'), Svg ).
Svg = svg([width='497pt', height='404pt', viewBox='0.00 0.0...]....)
author
- nicos angelopoulos
version
- 0.1 2021/1/19
 svg_version(-Version, -Date)
Current version and release date for the library.
?- svg_version( V, D ).
V = 0:1:0,
D = date(2021, 2, 19).

Undocumented predicates

The following predicates are exported, but not or incorrectly documented.

 svg_change_dim(Arg1, Arg2, Arg3, Arg4)
 svg_legend(Arg1)
 svg_size(Arg1, Arg2, Arg3)
 svg_tag_coords(Arg1, Arg2, Arg3)
 svg_tag_coords(Arg1, Arg2, Arg3, Arg4)