NI LabWindows / CVI - Paint written in C