메소드 | 설명 | |
---|---|---|
CopyPixelsCore ( System.Windows.Int32Rect sourceRect, int stride, int bufferSize, |
Requests pixels from the ChainedCustomBitmapSource. Converts the contents of the source bitmap into a grayscale color scheme. The algorithm is taken from here: http://en.wikipedia.org/wiki/Grayscale |
protected CopyPixelsCore ( System.Windows.Int32Rect sourceRect, int stride, int bufferSize, |
||
sourceRect | System.Windows.Int32Rect | /// The rectangle of pixels being requested. /// |
stride | int | /// The stride of the destination buffer. /// |
bufferSize | int | /// The size of the destination buffer. /// |
buffer | /// The destination buffer. /// | |
리턴 | void |