示例#1
0
 private void PutColor(int row, int col, ARGB color)
 {
     int offset = row * _bmpData.Stride + col * 4;
     _result[offset] = color.ToByte(color.B);
     _result[offset + 1] = color.ToByte(color.G);
     _result[offset + 2] = color.ToByte(color.R);
     _result[offset + 3] = color.ToByte(color.A);
 }