MonobjcMonobjc Documented Class Library
DrawInRectFromRectOperationFraction Method (__target, dstRect, srcRect, op, delta)
NamespacesMonobjc.AppKitCIImage_AppKitAdditionsDrawInRectFromRectOperationFraction(CIImage, NSRect, NSRect, NSCompositingOperation, CGFloat)

Draws all or part of the image in the specified rectangle in the current coordinate system

Original signature is '- (void)drawInRect:(NSRect)dstRect fromRect:(NSRect)srcRect operation:(NSCompositingOperation)op fraction:(CGFloat)delta'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static void DrawInRectFromRectOperationFraction(
	this CIImage __target,
	NSRect dstRect,
	NSRect srcRect,
	NSCompositingOperation op,
	CGFloat delta
<ExtensionAttribute> _
Public Shared Sub DrawInRectFromRectOperationFraction ( _
	__target As CIImage, _
	dstRect As NSRect, _
	srcRect As NSRect, _
	op As NSCompositingOperation, _
	delta As CGFloat _
static void DrawInRectFromRectOperationFraction(
	CIImage^ __target, 
	NSRect dstRect, 
	NSRect srcRect, 
	NSCompositingOperation op, 
	CGFloat delta
__target (CIImage)
The target instance.
dstRect (NSRect)
The rectangle in which to draw the image.
srcRect (NSRect)
The source rectangle specifying the portion of the image you want to draw. The coordinates of this rectangle must be specified using the image's own coordinate system.
op (NSCompositingOperation)
The compositing operation to use when drawing the image.
delta (CGFloat)
The opacity of the image, specified as a value from 0.0 to 1.0. Specifying a value of 0.0 draws the image as fully transparent while a value of 1.0 draws the image as fully opaque. Values greater than 1.0 are interpreted as 1.0.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type CIImage. When you use instance method syntax to call this method, omit the first parameter.
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)