mirror of
https://github.com/zhigang1992/PerspectiveTransform.git
synced 2026-01-12 22:49:33 +08:00
Update README.md
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
# PerspectiveTransform
|
||||
# Perspective Transform
|
||||
|
||||
[](https://travis-ci.org/paulz/PerspectiveTransform)
|
||||
[](https://codecov.io/gh/paulz/PerspectiveTransform)
|
||||
[](http://cocoapods.org/pods/PerspectiveTransform)
|
||||
[](http://cocoapods.org/pods/PerspectiveTransform)
|
||||
[](http://cocoapods.org/pods/PerspectiveTransform)
|
||||
[](https://github.com/Carthage/Carthage)
|
||||
[![Carthage compatible][carthage-badge]](https://github.com/Carthage/Carthage)
|
||||
[![Swift][swift-badge]][swift-url]
|
||||
|
||||
|
||||
PerspectiveTransform caclulates homogeneous transformation matrix for a view 3D projection in 2D. It can be used to place views within given image visual perspective using Core Animation `CATransform3D` and [`CALayer.tranform`](https://developer.apple.com/documentation/quartzcore/calayer/1410836-transform). Projection is caclulated between source and destination perspectives that are defined by 4 corners, assuming they form a [Quadrilateral](https://en.wikipedia.org/wiki/Quadrilateral).
|
||||
@@ -114,3 +115,7 @@ Paul Zabelin, http://github.com/paulz
|
||||
## License
|
||||
|
||||
PerspectiveTransform is available under the MIT license. See the LICENSE file for more info.
|
||||
|
||||
[swift-badge]: https://img.shields.io/badge/Swift-4.0-orange.svg?style=flat
|
||||
[swift-url]: https://swift.org
|
||||
[carthage-badge]: https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat
|
||||
|
||||
Reference in New Issue
Block a user