Bug 12259 - CALayer contentsScale not bound
Summary: CALayer contentsScale not bound
Status: RESOLVED FIXED
Alias: None
Product: MonoMac
Classification: Desktop
Component: Bindings ()
Version: GIT
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2013-05-15 21:10 UTC by troy-dawson
Modified: 2015-02-17 16:49 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 FIXED

Description troy-dawson 2013-05-15 21:10:47 UTC
maccore/src/coreanimation.cs needs to be edited:

something like this:

#if MONOMAC
		[Export ("layoutManager")]
		NSObject LayoutManager { get; set; }
#endif

		[Export ("contentsScale")]
		float ContentsScale { get; set; }


probably needs a "Lion" qualifier since this was added in 10.7

https://developer.apple.com/library/mac/documentation/graphicsimaging/reference/CALayer_class/Introduction/Introduction.html#//apple_ref/occ/instp/CALayer/contentsScale
Comment 1 Mike Krüger 2013-06-15 08:08:42 UTC
*** Bug 12587 has been marked as a duplicate of this bug. ***
Comment 2 Robert Miles 2014-08-14 09:25:10 UTC
Looks like this still isn't bound after a year. Stinks because I need it right now. :)
Comment 3 Timothy Risi 2015-02-13 18:44:11 UTC
This property is now bound and available