MonobjcMonobjc Documented Class Library
ClipToRect Method (c, rect)
NamespacesMonobjc.ApplicationServicesCGContextClipToRect(IntPtr, CGRect)

Sets the clipping path to the intersection of the current clipping path with the area defined by the specified rectangle.

Original signature is 'void CGContextClipToRect ( CGContextRef c, CGRect rect );'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static void ClipToRect(
	IntPtr c,
	CGRect rect
)
Public Shared Sub ClipToRect ( _
	c As IntPtr, _
	rect As CGRect _
)
public:
static void ClipToRect(
	IntPtr c, 
	CGRect rect
)
Parameters
c (IntPtr)
MISSING
rect (CGRect)
MISSING
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)