I'm working on a project where I have a large NSMatrix
of NSImageCells
. I need to rotate specific individual Images
in their cells (or even just rotate the cells themselves since it will look the same way). Every cell and image is a 40x40 square, so there shouldn't have to be any resizing since I'll be sticking to 90 degree increments. The problem is that because I'm using NSImageCells
instead of NSImageViews
, I can't use setFrameCenterRotation:
to easily rotate the images. Does anyone know how I can accomplish this?
Rotating an NSImageCell
268 views Asked by AudioBubble At
1
For anyone still looking for a way to do this, since I'm writing this in ASOC, I ended up using this code: