开发者

Cocoa: is a "perspective transform" available?

开发者 https://www.devze.com 2023-03-23 22:56 出处:网络
is a \"perspective transform\" available in Cocoa (iOS, OS X) like that I see in Sil开发者_如何学JAVAverlight,JavaFX and so on? Other related thread was not enough clarifying to me so I created this o

is a "perspective transform" available in Cocoa (iOS, OS X) like that I see in Sil开发者_如何学JAVAverlight,JavaFX and so on? Other related thread was not enough clarifying to me so I created this one. like this: http://i.msdn.microsoft.com/dynimg/IC270164.png


You can’t set a perspective transform on a drawing context, but you can use a perspective transform to transform a Core Animation layer or layer-backed view. This is how Cover Flow is implemented, producing views similar to your example.

See Animation Overview for a starting point.

0

精彩评论

暂无评论...
验证码 换一张
取 消