~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to external/monomac/samples/GlossyClock/ClockView.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
104
104
                {
105
105
                        // Create the CGImage by proxying it through an NSImage
106
106
                        string filePath = NSBundle.MainBundle.PathForResource("clock-gloss","png");
107
 
                        var glossyImage = new NSImage (filePath).AsCGImage (RectangleF.Empty, null, null);
 
107
                        RectangleF rect = RectangleF.Empty;
 
108
                        var glossyImage = new NSImage (filePath).AsCGImage (ref rect, null, null);
108
109
 
109
110
                        CALayer glossLayer = new CALayer() {
110
111
                                Opacity = 0.8f,