Ejemplo n.º 1
0
		public void DrawThreePartImage (RectangleF frame, NSImage startCap, NSImage centerFill, NSImage endCap, bool vertical, NSCompositingOperation op, float alphaFraction, bool flipped)
		{
			NSDrawThreePartImage (
				frame, startCap != null ? startCap.Handle : IntPtr.Zero,
				centerFill != null ? centerFill.Handle : IntPtr.Zero,
				endCap != null ? endCap.Handle : IntPtr.Zero,
				vertical, (int)op, alphaFraction, flipped);
		}
Ejemplo n.º 2
0
 public void DrawThreePartImage(CGRect frame,
                                NSImage startCap, NSImage centerFill, NSImage endCap,
                                bool vertical, NSCompositingOperation op, nfloat alphaFraction, bool flipped)
 {
     NSDrawThreePartImage(
         frame, startCap != null ? startCap.Handle : IntPtr.Zero,
         centerFill != null ? centerFill.Handle : IntPtr.Zero,
         endCap != null ? endCap.Handle : IntPtr.Zero,
         vertical, (nint)(long)op, alphaFraction, flipped);
 }
Ejemplo n.º 3
0
		public void DrawNinePartImage (RectangleF frame, NSImage topLeftCorner, NSImage topEdgeFill, NSImage topRightCorner, NSImage leftEdgeFill, NSImage centerFill, NSImage rightEdgeFill, NSImage bottomLeftCorner, NSImage bottomEdgeFill, NSImage bottomRightCorner, NSCompositingOperation op, float alphaFraction, bool flipped)
		{
			NSDrawNinePartImage (
				frame, topLeftCorner != null ? topLeftCorner.Handle : IntPtr.Zero,
				topEdgeFill != null ? topEdgeFill.Handle : IntPtr.Zero,
				topRightCorner != null ? topRightCorner.Handle : IntPtr.Zero,
				leftEdgeFill != null ? leftEdgeFill.Handle : IntPtr.Zero,
				centerFill != null ? centerFill.Handle : IntPtr.Zero,
				rightEdgeFill != null ? rightEdgeFill.Handle : IntPtr.Zero,
				bottomLeftCorner != null ? bottomLeftCorner.Handle : IntPtr.Zero,
				bottomEdgeFill != null ? bottomEdgeFill.Handle : IntPtr.Zero,
				bottomRightCorner != null ? bottomRightCorner.Handle : IntPtr.Zero,
				(int)op, alphaFraction, flipped);
 		}
Ejemplo n.º 4
0
 public void DrawNinePartImage(CGRect frame,
                               NSImage topLeftCorner, NSImage topEdgeFill, NSImage topRightCorner,
                               NSImage leftEdgeFill, NSImage centerFill, NSImage rightEdgeFill,
                               NSImage bottomLeftCorner, NSImage bottomEdgeFill, NSImage bottomRightCorner,
                               NSCompositingOperation op, nfloat alphaFraction, bool flipped)
 {
     NSDrawNinePartImage(
         frame, topLeftCorner != null ? topLeftCorner.Handle : IntPtr.Zero,
         topEdgeFill != null ? topEdgeFill.Handle : IntPtr.Zero,
         topRightCorner != null ? topRightCorner.Handle : IntPtr.Zero,
         leftEdgeFill != null ? leftEdgeFill.Handle : IntPtr.Zero,
         centerFill != null ? centerFill.Handle : IntPtr.Zero,
         rightEdgeFill != null ? rightEdgeFill.Handle : IntPtr.Zero,
         bottomLeftCorner != null ? bottomLeftCorner.Handle : IntPtr.Zero,
         bottomEdgeFill != null ? bottomEdgeFill.Handle : IntPtr.Zero,
         bottomRightCorner != null ? bottomRightCorner.Handle : IntPtr.Zero,
         (nint)(long)op, alphaFraction, flipped);
 }
Ejemplo n.º 5
0
 public static extern void RectFillUsingOperation(CGRect rect, NSCompositingOperation operation);
Ejemplo n.º 6
0
 public static void FrameRect(CGRect rect, nfloat frameWidth, NSCompositingOperation operation)
 {
     NSFrameRectWithWidthUsingOperation(rect, frameWidth, (nuint)(ulong)operation);
 }
Ejemplo n.º 7
0
 public static void RectFill(CGRect rect, NSCompositingOperation op)
 {
     NSRectFillUsingOperation(rect, (nuint)(ulong)op);
 }
Ejemplo n.º 8
0
 public extern static void FrameRect(RectangleF rect, float frameWidth, NSCompositingOperation operation);
Ejemplo n.º 9
0
		public extern static void FrameRect (RectangleF rect, float frameWidth, NSCompositingOperation operation);		
Ejemplo n.º 10
0
 public static void RectFill(CGRect rect, NSCompositingOperation op)
 {
     NSRectFillUsingOperation (rect, (nuint)(ulong)op);
 }
Ejemplo n.º 11
0
 public static void FrameRect(CGRect rect, nfloat frameWidth, NSCompositingOperation operation)
 {
     NSFrameRectWithWidthUsingOperation (rect, frameWidth, (nuint)(ulong)operation);
 }
Ejemplo n.º 12
0
            public override bool DrawInRect(CGRect dstSpacePortionRect, CGRect srcSpacePortionRect, NSCompositingOperation op, nfloat requestedAlpha, bool respectContextIsFlipped, NSDictionary hints)
            {
#if XAMMAC
                // bug in Xamarin.Mac, hints can't be null when calling base..
                hints = hints ?? new NSDictionary();
#endif
                return(Rep.DrawInRect(dstSpacePortionRect, srcSpacePortionRect, op, requestedAlpha, respectContextIsFlipped, hints));
            }
Ejemplo n.º 13
0
			public override bool DrawInRect(CGRect dstSpacePortionRect, CGRect srcSpacePortionRect, NSCompositingOperation op, nfloat requestedAlpha, bool respectContextIsFlipped, NSDictionary hints)
			{
				return Rep.DrawInRect(dstSpacePortionRect, srcSpacePortionRect, op, requestedAlpha, respectContextIsFlipped, hints);
			}
Ejemplo n.º 14
0
 public override bool DrawInRect(CGRect dstSpacePortionRect, CGRect srcSpacePortionRect, NSCompositingOperation op, nfloat requestedAlpha, bool respectContextIsFlipped, NSDictionary hints)
 {
     return(Rep.DrawInRect(dstSpacePortionRect, srcSpacePortionRect, op, requestedAlpha, respectContextIsFlipped, hints));
 }
Ejemplo n.º 15
0
 public extern static void FrameRect(CGRect rect, nfloat frameWidth, NSCompositingOperation operation);