Scribus
Open source desktop publishing at your fingertips
point-ops.h
1 //[[[cog
2 import operators
3 
4 setContext("Point", "Matrix", "Point")
5 make({'*':'*='}, {'/':'/='})
6 apsnd({'*':'/'}, "b.inverse()")
7 
8 setContext("Point", "double", "Point")
9 make({'*=':'*'}, {'/=':'/'}, {'*':'*'}, {'*':'/'})
10 
11 setContext("Point", "Point", "bool")
12 make({'==':'!='})
13 
14 setContext("Point", "Point", "Point")
15 make({'+=':'+', '-=':'-'})
16 ]]]
17 
18 **************
19 GENERATED CODE
20 **************
21 If you wish to modify, move function out of generation region and remove the
22 cause of its generation.
23 */
24 
25 //[[[end]]]