Bug 18515 - CGAffineTransformConCat is missing from MonoTouch.CoreGraphics
Summary: CGAffineTransformConCat is missing from MonoTouch.CoreGraphics
Status: RESOLVED ANSWERED
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: 7.2.1
Hardware: PC Mac OS
: Normal normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-03-21 11:58 UTC by John Miller [MSFT]
Modified: 2015-04-20 10:53 UTC (History)
4 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED ANSWERED

Description John Miller [MSFT] 2014-03-21 11:58:14 UTC
CGAffineTransformConCat seems to be missing from the API.
Comment 1 Ram Chandra 2014-03-21 14:18:48 UTC
I have checked this and I am able to reproduce this issue. 

I observed that "CGAffineTransformConCat" method is missing from the "CGAffineTransform" structure. I have also checked the signature of "CGAffineTransform" structure under  "MonoTouch.CoreGraphics" library in "assembly browser" (View->Assembly browser) but I am not able to find it.

It is available in apple doc : https://developer.apple.com/library/mac/documentation/graphicsimaging/reference/CGAffineTransform/Reference/reference.html#//apple_ref/c/func/CGAffineTransformInvert

Screencast: http://www.screencast.com/t/lWvZBT2L2

Environment Info:
Mac 10.7.5
Xamarin Studio: 4.2.3 (build 60)
Xamarin.iOS: 7.2.1.23 

Please let me know if I am missing something.
Comment 2 Rolf Bjarne Kvinge [MSFT] 2014-03-21 19:56:25 UTC
From Apple's documentation about CGAffineTransformConcat:

"Concatenation combines two affine transformation matrices by multiplying them together."

The multiplication operator is overridden, so you can do this:

CGAffineTransform a, b;
CGAffineTransform result = a * b;

Does that work for you?
Comment 3 Sebastien Pouliot 2015-04-20 10:53:55 UTC
No answer, I'll assume it's fine (since `concat` is a multiplication).