[]
Instructs the object to produce pixels.
public void CopyPixels(RectL rectangle, int stride, DataPointer dataPointer)
Type | Name | Description |
---|---|---|
RectL | rectangle | The rectangle to copy. A |
int | stride | The stride of the bitmap |
DataPointer | dataPointer | A reference to the buffer. |
Instructs the object to produce pixels.
public void CopyPixels(int stride, DataPointer dataPointer)
Type | Name | Description |
---|---|---|
int | stride | The stride of the bitmap |
DataPointer | dataPointer | A reference to the buffer. |
Instructs the object to produce pixels.
public void CopyPixels(int stride, IntPtr dataPointer, int size)
Type | Name | Description |
---|---|---|
int | stride | The stride of the bitmap |
IntPtr | dataPointer | A reference to the buffer. |
int | size | Size of the buffer in bytes. |
Instructs the object to produce pixels.
public void CopyPixels<T>(RectL rectangle, T[] output) where T : struct
Type | Name | Description |
---|---|---|
RectL | rectangle | The rectangle to copy. |
T[] | output | The destination array. The size of the array must be sizeof(pixel) * rectangle.Width * rectangle.Height |
Name | Description |
---|---|
T |
Instructs the object to produce pixels.
public void CopyPixels<T>(T[] output) where T : struct
Type | Name | Description |
---|---|---|
T[] | output | The destination array. The size of the array must be sizeof(pixel) * Width * Height |
Name | Description |
---|---|
T |
Instructs the object to produce pixels.
public void CopyPixels(RectL rectangle, byte[] output, int stride)
Type | Name | Description |
---|---|---|
RectL | rectangle | The rectangle to copy. |
byte[] | output | The destination array. The size of the array must be sizeof(pixel) * Width * Height |
int | stride | The stride (number of bytes per row). |
Instructs the object to produce pixels.
public void CopyPixels(byte[] output, int stride)
Type | Name | Description |
---|---|---|
byte[] | output | The destination array. The size of the array must be sizeof(pixel) * Width * Height |
int | stride | The stride (number of bytes per row). |
HRESULT IWICBitmapSource::CopyPixels([In] const void* prc,[In] unsigned int cbStride,[In] unsigned int cbBufferSize,[In] void* pbBuffer)
public void CopyPixels(IntPtr rectangleRef, int stride, int bufferSize, IntPtr bufferRef)
Type | Name | Description |
---|---|---|
IntPtr | rectangleRef | |
int | stride | |
int | bufferSize | |
IntPtr | bufferRef |