added CPC_SetBorder() function to cpc lib