Module SvgSource

Sourcetype node = {
  1. name : string;
  2. attributes : (string * string) list;
  3. children : node list;
}
Sourceval parse : string -> node option
Sourceval sniff : string -> bool
Sourceval size : node -> (float * float) option
Sourceval render : ?color:(int * int * int) -> node -> width:int -> height:int -> Rgba_image.t