Changed enum values to CAIRO_ representation, instead of literals.