Interface CommandSink3
[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
SpriteBatchThe sprite batch to draw.
startIndex
intThe index of the first sprite in the sprite batch to draw.
spriteCount
intThe number of sprites to draw.
bitmap
BitmapThe bitmap from which the sprites are to be sourced. Each sprite?s source rectangle refers to a portion of this bitmap.
interpolationMode
BitmapInterpolationModeThe interpolation mode to use when drawing this sprite batch. This determines how Direct2D interpolates pixels within the drawn sprites if scaling is performed.
spriteOptions
SpriteOptionsThe additional drawing options, if any, to be used for this sprite batch.