matrix
Matrix
= (float)
;
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
matrixMatrix = (float);
//从到进行修改色彩变换矩阵主对角线上的数值
//使三种基准色的饱和度渐增
Single count = (float);
while (count < )
{
matrixMatrix = count;
matrixMatrix = count;
matrixMatrix = count;
matrixMatrix = count;
attributesSetColorMatrix(matrix ColorMatrixFlagDefault ColorAdjustTypeBitmap);
gDrawImage(MyBitmap new Rectangle( width height)
width height GraphicsUnitPixel attributes);
SystemThreadingThreadSleep();
count = (float)(count + );
}
}
catch (Exception ex)
{
MessageBoxShow(exMessage 信息提示);
}
}
private void button_Click(object sender EventArgs e)
{
try
{
Graphics g = thispanelCreateGraphics();
gClear(ColorGray);
int width = MyBitmapWidth;
int height = MyBitmapHeight;
ImageAttributes attributes = new ImageAttributes();
ColorMatrix matrix = new ColorMatrix();
//创建淡出颜色矩阵
[] [] [] [] [] [] [] [] [] []