MonobjcMonobjc Documented Class Library
DrawInRectFromRectOperationFractionRespectFlippedHints Method (dstSpacePortionRect, srcSpacePortionRect, op, requestedAlpha, respectContextIsFlipped, hints)
NamespacesMonobjc.AppKitNSImageDrawInRectFromRectOperationFractionRespectFlippedHints(NSRect, NSRect, NSCompositingOperation, CGFloat, Boolean, NSDictionary)

Draws all or part of the image in the specified rectangle respecting the flippedness and hints.

Original signature is '- (void)drawInRect:(NSRect)dstSpacePortionRect fromRect:(NSRect)srcSpacePortionRect operation:(NSCompositingOperation)op fraction:(CGFloat)requestedAlpha respectFlipped:(BOOL)respectContextIsFlipped hints:(NSDictionary *)hints'

Available in Mac OS X v10.6 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void DrawInRectFromRectOperationFractionRespectFlippedHints(
	NSRect dstSpacePortionRect,
	NSRect srcSpacePortionRect,
	NSCompositingOperation op,
	CGFloat requestedAlpha,
	bool respectContextIsFlipped,
	NSDictionary hints
)
Public Overridable Sub DrawInRectFromRectOperationFractionRespectFlippedHints ( _
	dstSpacePortionRect As NSRect, _
	srcSpacePortionRect As NSRect, _
	op As NSCompositingOperation, _
	requestedAlpha As CGFloat, _
	respectContextIsFlipped As Boolean, _
	hints As NSDictionary _
)
public:
virtual void DrawInRectFromRectOperationFractionRespectFlippedHints(
	NSRect dstSpacePortionRect, 
	NSRect srcSpacePortionRect, 
	NSCompositingOperation op, 
	CGFloat requestedAlpha, 
	bool respectContextIsFlipped, 
	NSDictionary^ hints
)
Parameters
dstSpacePortionRect (NSRect)
The rectangle in which to draw the image, specified in the current coordinate system.
srcSpacePortionRect (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. If you pass in NSZeroRect, the entire image is drawn.
op (NSCompositingOperation)
The compositing operation to use when drawing the image. See the NSCompositingOperation constants.
requestedAlpha (CGFloat)
The alpha 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.
respectContextIsFlipped (Boolean)
YES if the drawing should respect the context flipped state, otherwise NO.
hints (NSDictionary)
An optional dictionary of hints that provide more context for selecting or generating the image. See “Image Hint Dictionary Keys” for a summary of the possible key-value pairs.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)