Implement translate to Cairo