c#

位置:IT落伍者 >> c# >> 浏览文章

C# 制作以动画的方式显示图像[4]


发布日期:2019年01月09日
 
C# 制作以动画的方式显示图像[4]

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);

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();

//创建淡出颜色矩阵

[] [] [] [] [] [] [] [] [] []

               

上一篇:C# 制作以动画的方式显示图像[5]

下一篇:C# 制作以动画的方式显示图像[7]