-
Notifications
You must be signed in to change notification settings - Fork 516
CoreGraphics iOS xcode14.0 beta2
Manuel de la Pena edited this page Sep 1, 2022
·
4 revisions
#CoreGraphics.framework https://github.com/xamarin/xamarin-macios/pull/15831
diff -ruN /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h
--- /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h 2022-05-31 15:02:38.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h 2022-06-17 14:29:57.000000000 -0400
+/*! @abstract Decompose a CGAffineTransform into a scale * shear * rotation * translation
+ * @discussion This decomposition method may be used to provide insight into what a
+ * arbitrary CGAffineTransform does. This may be necessary, for example, because
+ * an algorithm would like to know what the scaling portion of a transform is before rotation,
+ * or perhaps because some part of a transform is undesired and your application would like
+ * to replace a portion of it with a different transformation.
+ *
+ * Since there are many ways to make a affine transform out of other affine transforms
+ * this method can not tell us the ordering of geometric steps used to create the original
+ * CGAffineTransform. It tells us what the transform does, not how it was made.
+ *
+ * @param transform The CGAffineTransform to decompose
+ * @return A decomposed set of geometric operations, the product of which is the CGAffineTransform. */
+CG_EXTERN
+ CGAffineTransformComponents CG_PURE CGAffineTransformDecompose( CGAffineTransform transform )
+CF_SWIFT_NAME(CGAffineTransformComponents.decomposed(self:))
+CG_AVAILABLE_STARTING( 13.0, 16.0 );
+
+/*! @abstract Create CGAffineTransform from scale * shear * rotation * translation CGAffineTransformComponents
+ * @param components The set of CGAffineTransformComponents to use to create a new CGAffineTransform
+ * @return A new CGAffineTransform built from the provided components */
+CG_EXTERN
+ CGAffineTransform CG_PURE CGAffineTransformMakeWithComponents( CGAffineTransformComponents components )
+CF_SWIFT_NAME(CGAffineTransformComponents.init(_:))
+CG_AVAILABLE_STARTING( 13.0, 16.0 );
+
/*** Definitions of inline functions. ***/
CG_INLINE CGAffineTransform
diff -ruN /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h
--- /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h 2022-05-31 15:02:15.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h 2022-06-17 14:48:43.000000000 -0400
@@ -432,8 +432,7 @@
CG_EXTERN CGPathRef __nullable CGPathCreateCopyByFlattening(CGPathRef cg_nullable path, CGFloat flatteningThreshold) CG_AVAILABLE_STARTING(13.0, 16.0);
/* Returns true if path1 and path2 overlap. */
-/* The trailing `UsingEvenOdd' will be removed soon. It's here temporarily for backward compatibility with an existing caller of `CGPathIntersectsPath' rdar://89310639. */
-CG_EXTERN bool CGPathIntersectsPathUsingEvenOdd(CGPathRef cg_nullable path1, CGPathRef cg_nullable path2, bool evenOddFillRule) CG_AVAILABLE_STARTING(13.0, 16.0);
+CG_EXTERN bool CGPathIntersectsPath(CGPathRef cg_nullable path1, CGPathRef cg_nullable path2, bool evenOddFillRule) CG_AVAILABLE_STARTING(13.0, 16.0);
CF_ASSUME_NONNULL_END
- README
- xcode13.0 Binding Status
- xcode13.1 Binding Status
- xcode13.2 Binding Status
- xcode13.3 Binding Status
- xcode13.4 Binding Status
- xcode14.0 Binding Status
- xcode14.1 Binding Status
- xcode14.2 Binding Status
- xcode14.3 Binding Status
- xcode15.0 Binding Status
- xcode15.1 Binding Status
- xcode15.3 Binding Status
- xcode15.4 Binding Status
- xcode16.0 Binding Status
- xcode16.1 Binding Status
- xcode16.2 Binding Status