MonobjcMonobjc Documented Class Library
RenderToBufferWithBytesPerRowPixelFormatForBounds Method (baseAddress, rowBytes, format, bounds)
NamespacesMonobjc.QuartzIQCPlugInOutputImageProviderRenderToBufferWithBytesPerRowPixelFormatForBounds(IntPtr, NSUInteger, NSString, NSRect)

Renders a subregion of the image into the supplied memory buffer using the specified pixel format. (required)

Original signature is '- (BOOL) renderToBuffer:(void*)baseAddress withBytesPerRow:(NSUInteger)rowBytes pixelFormat:(NSString*)format forBounds:(NSRect)bounds'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
bool RenderToBufferWithBytesPerRowPixelFormatForBounds(
	IntPtr baseAddress,
	NSUInteger rowBytes,
	NSString format,
	NSRect bounds
)
Function RenderToBufferWithBytesPerRowPixelFormatForBounds ( _
	baseAddress As IntPtr, _
	rowBytes As NSUInteger, _
	format As NSString, _
	bounds As NSRect _
) As Boolean
bool RenderToBufferWithBytesPerRowPixelFormatForBounds(
	IntPtr baseAddress, 
	NSUInteger rowBytes, 
	NSString^ format, 
	NSRect bounds
)
Parameters
baseAddress (IntPtr)
The base address of the memory buffer. The Quartz Composer engine passes you an address that is aligned on a 16-byte boundary.
rowBytes (NSUInteger)
The number of bytes per row of the image data. The Quartz Composer engine guarantees this value is a multiple of 16.
format (NSString)
The pixel format of the image data.
bounds (NSRect)
The bounds of the subregion.
Return Value
YES if the image is rendered successfully into the buffer; NO on failure or if the image provider doesn’t support CPU rendering.
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.Quartz (Module: Monobjc.Quartz)