Put code of render gradient to window to other function using a Cairo Context.
Do not gamma filter the colors for the moment.
Get gamma_filter outside Target_Cairo class and move it to synfig namespace