start + (end - start) * amount
Passing Bind one or more render targets atomically and the depth-stencil buffer to the output-merger stage.
Sets trimming options for text overflowing the layout width.
Text trimming options.
Application-defined omission sign. This parameter may be
If this method succeeds, it returns
Provides access to a rectangular area of the bitmap.
The access mode you wish to obtain for the lock. This is a bitwise combination of
Value | Meaning |
---|---|
The read access lock. | |
The write access lock. |
?
A reference that receives the locked memory location.
Locks are exclusive for writing but can be shared for reading. You cannot call CopyPixels while the
Provides access to a rectangular area of the bitmap.
The rectangle to be accessed.
The access mode you wish to obtain for the lock. This is a bitwise combination of
Value | Meaning |
---|---|
The read access lock. | |
The write access lock. |
?
A reference that receives the locked memory location.
Locks are exclusive for writing but can be shared for reading. You cannot call CopyPixels while the
Initializes the bitmap clipper with the provided parameters.
he input bitmap source.
The rectangle of the bitmap source to clip.
If this method succeeds, it returns
Encodes the frame scanlines.
The number of lines to encode.
Successive WritePixels calls are assumed to be sequential scanline access in the output image.
Encodes the frame scanlines.
The number of lines to encode.
Successive WritePixels calls are assumed to be sequential scanline access in the output image.
Encodes the frame scanlines.
The number of lines to encode.
The stride of the image pixels.
A reference to the pixel buffer.
Successive WritePixels calls are assumed to be sequential scanline access in the output image.
Encodes a bitmap source.
The bitmap source to encode.
If SetSize is not called prior to calling WriteSource, the size given in prc is used if not
If SetPixelFormat is not called prior to calling WriteSource, the pixel format of the
If SetResolution is not called prior to calling WriteSource, the pixel format of pIBitmapSource is used.
If SetPalette is not called prior to calling WriteSource, the target pixel format is indexed, and the pixel format of pIBitmapSource matches the encoder frame's pixel format, then the pIBitmapSource pixel format is used.
When encoding a GIF image, if the global palette is set and the frame level palette is not set directly by the user or by a custom independent software vendor (ISV) GIF codec, WriteSource will use the global palette to encode the frame even when pIBitmapSource has a frame level palette.
Windows Vista:The source rect width must match the width set through SetSize. Repeated WriteSource calls can be made as long as the total accumulated source rect height is the same as set through SetSize.
Encodes a bitmap source.
The bitmap source to encode.
The size rectangle of the bitmap source.
If SetSize is not called prior to calling WriteSource, the size given in prc is used if not
If SetPixelFormat is not called prior to calling WriteSource, the pixel format of the
If SetResolution is not called prior to calling WriteSource, the pixel format of pIBitmapSource is used.
If SetPalette is not called prior to calling WriteSource, the target pixel format is indexed, and the pixel format of pIBitmapSource matches the encoder frame's pixel format, then the pIBitmapSource pixel format is used.
When encoding a GIF image, if the global palette is set and the frame level palette is not set directly by the user or by a custom independent software vendor (ISV) GIF codec, WriteSource will use the global palette to encode the frame even when pIBitmapSource has a frame level palette.
Windows Vista:The source rect width must match the width set through SetSize. Repeated WriteSource calls can be made as long as the total accumulated source rect height is the same as set through SetSize.
Retrieves the pixel width and height of the bitmap.
Instructs the object to produce pixels.
The rectangle to copy. A
The stride of the bitmap
A reference to the buffer.
Instructs the object to produce pixels.
The stride of the bitmap
A reference to the buffer.
Instructs the object to produce pixels.
The stride of the bitmap
A reference to the buffer.
Instructs the object to produce pixels.
Instructs the object to produce pixels.
Instructs the object to produce pixels.
Instructs the object to produce pixels.