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(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 void AddImage(NSImage image, QTTime forDuration, QTImageAttributes attributes) { if (attributes == null) throw new ArgumentNullException ("attributes"); AddImage (image, forDuration, attributes.ToDictionary ()); }