Table of Contents

Interface CommandSink3

Namespace
SharpDX.Direct2D1
Assembly
SharpDX.Direct2D1.dll
[Guid("18079135-4cf3-4868-bc8e-06067e6d242d")]
public interface CommandSink3 : CommandSink2, CommandSink1, CommandSink, IUnknown, ICallbackable, IDisposable
Inherited Members

Methods

DrawSpriteBatch(SpriteBatch, int, int, Bitmap, BitmapInterpolationMode, SpriteOptions)

Renders part or all of the given sprite batch to the device context using the specified drawing options.

void DrawSpriteBatch(SpriteBatch spriteBatch, int startIndex, int spriteCount, Bitmap bitmap, BitmapInterpolationMode interpolationMode, SpriteOptions spriteOptions)

Parameters

spriteBatch SpriteBatch

The sprite batch to draw.

startIndex int

The index of the first sprite in the sprite batch to draw.

spriteCount int

The number of sprites to draw.

bitmap Bitmap

The bitmap from which the sprites are to be sourced. Each sprite?s source rectangle refers to a portion of this bitmap.

interpolationMode BitmapInterpolationMode

The interpolation mode to use when drawing this sprite batch. This determines how Direct2D interpolates pixels within the drawn sprites if scaling is performed.

spriteOptions SpriteOptions

The additional drawing options, if any, to be used for this sprite batch.