summaryrefslogtreecommitdiffstats
path: root/ksvg/scripts/README
blob: 17130216c6c79133a2da563b1543ed3e398ad6e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
This document explains how to generate a SVG C++ header/sourcefile pair :

1. go to dir idl
2. copy the svg.idl file to the classname you want to generate, for example SVGRect
3. edit the newly created file to only include the class info, delete the rest
4. run ../gen.sh classname (without extension) to generate the pair

Caveats:
1. all inheritance specification must be on the same line
2. no support yet for exceptions, comments
3. this works for mawk 1.3.3, with slight adjustments it should run for 
   other awk implementations

07-07-2001
Rob Buis.