MonobjcMonobjc Documented Class Library
RenderWithCGLContextForBounds Method (cgl_ctx, bounds)
NamespacesMonobjc.QuartzIQCPlugInOutputImageProviderRenderWithCGLContextForBounds(IntPtr, NSRect)

Renders a subregion of the image to the provided CGL context. (required)

Original signature is '- (BOOL) renderWithCGLContext:(CGLContextObj)cgl_ctx forBounds:(NSRect)bounds'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
bool RenderWithCGLContextForBounds(
	IntPtr cgl_ctx,
	NSRect bounds
)
Function RenderWithCGLContextForBounds ( _
	cgl_ctx As IntPtr, _
	bounds As NSRect _
) As Boolean
bool RenderWithCGLContextForBounds(
	IntPtr cgl_ctx, 
	NSRect bounds
)
Parameters
cgl_ctx (IntPtr)
The CGL context to render to.
bounds (NSRect)
The bounds of the subregion.
Return Value
YES if successful; NO on failure or if the image provider doesn’t support GPU 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)