Creates a Direct2D bitmap from a pointer to in-memory source data.
シンタックス
パラメータ
- renderTarget
- an instance of RenderTarget
- size
- The dimension of the bitmap to create in pixels.
- dataPointer
- A pointer to the memory location of the image data, or NULL to create an uninitialized bitmap.
- pitch
- The byte count of each scanline, which is equal to (the image width in pixels * the number of bytes per pixel) + memory padding. If srcData is NULL, this value is ignored. (Note that pitch is also sometimes called stride.)
参照