Jeff
Jeff

Reputation: 4791

Drawing Mirrored Text

I'm trying to draw mirrored (as in, it looks like you held it up to a mirror) text, and I want to do it the easiest way possible.

It is possible to do a transform on a UILabel? Or do I have to use Quartz and do CGContextShowTextAtPoint() ?

Upvotes: 1

Views: 521

Answers (1)

rpetrich
rpetrich

Reputation: 32316

You can apply a transform to the layer:

[view setTransform:CGAffineTransformMakeScale(-1.0f, 1.0f)]

but you will need a Ph.D. in horribleness.

Upvotes: 2

Related Questions