I'm interested in placing a single pixel border around a rotated
layer.
I know I could do this by setting a border and borderWidth - but
when the entire thing is scaled; these borders are also scaled (not
ideal)
I can't think of any other way of doing it other than having
another layer sitting on top of the rotated layer, being exactly
the right size as the rotated layer and with the same rotation
(thus it should appear to be the same size position etc). With a
scale of 1, it'll draw it's border correctly.
Is there a more sensible way to do this in CoreAnim that anyone
knows of?
How about the borderWidth and borderColor properties?
Err... sorry. Need more coffee this morning =).
There really isn't anything you can do in this case aside from doing
what your considering (adding another layer with just the border). The
pixel contents of a layer are uploaded at the size of bounds.size so
it will be scaled when you scale the layer. Not much else you can do...
--
Reality is what, when you stop believing in it, doesn't go away.
Failure is not an option. It is a privilege reserved for those who try.
David Duncan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartz-dev/email@hidden