pub type ICanvasPattern = *mut c_void;