MonobjcMonobjc Documented Class Library
LockBufferRepresentationWithPixelFormatColorSpaceForBounds Method (format, colorSpace, bounds)
NamespacesMonobjc.QuartzIQCPlugInInputImageSourceLockBufferRepresentationWithPixelFormatColorSpaceForBounds(NSString, IntPtr, NSRect)

Creates a memory buffer representation from a subregion of the image source using the provided pixel format and color space. (required)

Original signature is '- (BOOL) lockBufferRepresentationWithPixelFormat:(NSString*)format colorSpace:(CGColorSpaceRef)colorSpace forBounds:(NSRect)bounds'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
bool LockBufferRepresentationWithPixelFormatColorSpaceForBounds(
	NSString format,
	IntPtr colorSpace,
	NSRect bounds
)
Function LockBufferRepresentationWithPixelFormatColorSpaceForBounds ( _
	format As NSString, _
	colorSpace As IntPtr, _
	bounds As NSRect _
) As Boolean
bool LockBufferRepresentationWithPixelFormatColorSpaceForBounds(
	NSString^ format, 
	IntPtr colorSpace, 
	NSRect bounds
)
Parameters
format (NSString)
A pixel format that is compatible with the color space.
colorSpace (IntPtr)
A Quartz color space that is compatible with the pixel format.
bounds (NSRect)
The bounds of the subregion, expressed as pixels, and aligned to integer boundaries.
Return Value
YES if successful; otherwise NO.
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)