add pen and penbrush resource