Added clipping rectangle

Change-Id: I67dee6c771d8766efe74551586978edc366e990f
Reviewed-on: https://iffwww.iff.kfa-juelich.de/review/43
Reviewed-by: Josef Heinen <j.heinen@fz-juelich.de>
Added XML code for gr_drawpath routine

Change-Id: Id01f310e3d4360146b997422d5e4766f15726689
Reviewed-on: https://iffwww.iff.kfa-juelich.de/review/44
Reviewed-by: Josef Heinen <j.heinen@fz-juelich.de>