资源简介
C# 图像扭曲 示例源码
代码片段和文件信息
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace WindowsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
Bitmap bmp;
private void openToolStripMenuItem_Click(object sender EventArgs e)
{
OpenFileDialog o = new OpenFileDialog();
if (o.ShowDialog() == DialogResult.OK)
{
try
{
bmp = new Bitmap(o.FileName);
canvas1.CanvasSize = new Size(bmp.Size.Width + 200 bmp.Size.Height + 200);
canvas
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-05-16 22:17 Backup\
目录 0 2018-05-16 22:17 Backup\WindowsApplication1\
文件 5698 2009-05-08 09:17 Backup\WindowsApplication1\Form1.Designer.cs
文件 3205 2009-05-08 09:17 Backup\WindowsApplication1\Form1.cs
文件 6012 2009-05-08 09:17 Backup\WindowsApplication1\Form1.resx
文件 486 2009-04-11 06:30 Backup\WindowsApplication1\Program.cs
目录 0 2018-05-16 22:17 Backup\WindowsApplication1\Properties\
文件 1292 2009-04-11 06:30 Backup\WindowsApplication1\Properties\AssemblyInfo.cs
文件 2867 2009-04-11 06:30 Backup\WindowsApplication1\Properties\Resources.Designer.cs
文件 5612 2009-04-11 06:30 Backup\WindowsApplication1\Properties\Resources.resx
文件 1104 2009-04-11 06:30 Backup\WindowsApplication1\Properties\Settings.Designer.cs
文件 249 2009-04-11 06:30 Backup\WindowsApplication1\Properties\Settings.settings
文件 3469 2009-05-08 04:31 Backup\WindowsApplication1\WindowsApplication1.csproj
目录 0 2018-05-16 22:17 Backup\YLScsDrawing\
目录 0 2018-05-16 22:17 Backup\YLScsDrawing\Controls\
文件 1143 2009-05-07 05:22 Backup\YLScsDrawing\Controls\Canvas.Designer.cs
文件 7465 2009-05-08 05:49 Backup\YLScsDrawing\Controls\Canvas.cs
目录 0 2018-05-16 22:17 Backup\YLScsDrawing\Forms\
文件 10916 2009-05-08 09:12 Backup\YLScsDrawing\Forms\DialogConfig.Designer.cs
文件 2358 2009-05-08 09:12 Backup\YLScsDrawing\Forms\DialogConfig.cs
文件 5814 2009-05-08 09:12 Backup\YLScsDrawing\Forms\DialogConfig.resx
目录 0 2018-05-16 22:17 Backup\YLScsDrawing\Geometry\
文件 3262 2009-05-02 12:24 Backup\YLScsDrawing\Geometry\Vector.cs
目录 0 2018-05-16 22:17 Backup\YLScsDrawing\Imaging\
目录 0 2018-05-16 22:17 Backup\YLScsDrawing\Imaging\Filters\
文件 7843 2009-05-07 06:36 Backup\YLScsDrawing\Imaging\Filters\FreeTransform.cs
文件 6223 2009-04-11 05:35 Backup\YLScsDrawing\Imaging\ImageData.cs
目录 0 2018-05-16 22:17 Backup\YLScsDrawing\Properties\
文件 1401 2009-04-11 05:24 Backup\YLScsDrawing\Properties\AssemblyInfo.cs
文件 2810 2009-05-08 05:48 Backup\YLScsDrawing\YLScsDrawing.csproj
文件 1440 2009-04-11 06:37 Backup\YLScsDrawing.sln
............此处省略66个文件信息
- 上一篇:C# 图像处理(Emgu.CV)
- 下一篇:C# 遮罩贴图
评论
共有 条评论