iphone - iOS Quartz 2D: draw an image simulating y axis rotation? -


i want this: draw image using quartz 2d, image rotated according y axis in 3d space, this: enter image description here

is quartz 2d capable this?

no, cannot directly quartz 2d. supports affine transformations, preserve parallel lines.

(it's clear want parallel lines on top , bottom edges of figure become non-parallel.)

the term you're looking "perspective transformation", if want search other ways achieve result.


Comments

Popular posts from this blog

scala - 'wrong top statement declaration' when using slick in IntelliJ -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

PySide and Qt Properties: Connecting signals from Python to QML -