MonobjcMonobjc Documented Class Library
GetRectsBeingDrawnCount Method (rects, count)
NamespacesMonobjc.AppKitNSViewGetRectsBeingDrawnCount(IntPtr, NSInteger%)

Returns by indirection a list of non-overlapping rectangles that define the area the receiver is being asked to draw in drawRect:.

Original signature is '- (void)getRectsBeingDrawn:(const NSRect **)rects count:(NSInteger *)count'

Available in Mac OS X v10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void GetRectsBeingDrawnCount(
	IntPtr rects,
	out NSInteger count
)
Public Overridable Sub GetRectsBeingDrawnCount ( _
	rects As IntPtr, _
	<OutAttribute> ByRef count As NSInteger _
)
public:
virtual void GetRectsBeingDrawnCount(
	IntPtr rects, 
	[OutAttribute] NSInteger% count
)
Parameters
rects (IntPtr)
On return, contains a list of non-overlapping rectangles defining areas to be drawn in. The rectangles returned in rects are in the coordinate space of the receiver.
count (NSInteger%)
On return, the number of rectangles in the rects list.
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)