CGPointApplyAffineTransform在Monotouch中转化为什么?

时间:2012-02-28 14:44:48

标签: xamarin.ios core-graphics

我在Monotouch中缺少CGPointApplyAffineTransform(CGPoint, CGAffineTransform)。 有任何想法如何转换?

2 个答案:

答案 0 :(得分:1)

CGPointApplyAffineTransform应该映射到:

public PointF MonoTouch.CoreGraphics.CGAffineTransform.TransformPoint (PointF point);

答案 1 :(得分:0)

示例:

CGPoint newPoint = new CGPoint (0, 0);
newPoint = View.Transform.TransformPoint(newPoint);