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); }
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); }
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); }
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); }
public static extern void RectFillUsingOperation(CGRect rect, NSCompositingOperation operation);
public static void FrameRect(CGRect rect, nfloat frameWidth, NSCompositingOperation operation) { NSFrameRectWithWidthUsingOperation(rect, frameWidth, (nuint)(ulong)operation); }
public static void RectFill(CGRect rect, NSCompositingOperation op) { NSRectFillUsingOperation(rect, (nuint)(ulong)op); }
public extern static void FrameRect(RectangleF rect, float frameWidth, NSCompositingOperation operation);
public extern static void FrameRect (RectangleF rect, float frameWidth, NSCompositingOperation operation);
public static void RectFill(CGRect rect, NSCompositingOperation op) { NSRectFillUsingOperation (rect, (nuint)(ulong)op); }
public static void FrameRect(CGRect rect, nfloat frameWidth, NSCompositingOperation operation) { NSFrameRectWithWidthUsingOperation (rect, frameWidth, (nuint)(ulong)operation); }
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)); }
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); }
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)); }
public extern static void FrameRect(CGRect rect, nfloat frameWidth, NSCompositingOperation operation);