added setPen(), setPaper(), setInk() to CPC API