MonobjcMonobjc Documented Class Library
GetPathBoundingBox Method (c)
NamespacesMonobjc.ApplicationServicesCGContextGetPathBoundingBox(IntPtr)

Returns the smallest rectangle that contains the current path.

Original signature is 'CGRect CGContextGetPathBoundingBox ( CGContextRef c );'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static CGRect GetPathBoundingBox(
	IntPtr c
)
Public Shared Function GetPathBoundingBox ( _
	c As IntPtr _
) As CGRect
public:
static CGRect GetPathBoundingBox(
	IntPtr c
)
Parameters
c (IntPtr)
MISSING
Return Value
A CGRect value that specifies the dimensions and location, in user space, of the bounding box of the path. If there is no path, the function returns CGRectNull.
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)