Optimised trig functions and fast moveTo/lineTo functions that take explicit floating point colour variables