📄 form1.cs
字号:
this.Path_GetSubPath.Text = "GraphicsPathIterator的基本使用";
this.Path_GetSubPath.Click += new System.EventHandler(this.Path_GetSubPath_Click);
//
// Path_GetPoints
//
this.Path_GetPoints.Index = 6;
this.Path_GetPoints.Text = "访问路径的点信息";
this.Path_GetPoints.Click += new System.EventHandler(this.Path_GetPoints_Click);
//
// Path_PathData
//
this.Path_PathData.Index = 7;
this.Path_PathData.Text = "同时获取端点坐标及类型信息";
this.Path_PathData.Click += new System.EventHandler(this.Path_PathData_Click);
//
// Path_ViewPointFLAG
//
this.Path_ViewPointFLAG.Index = 8;
this.Path_ViewPointFLAG.Text = "查看路径端点的标记信息";
this.Path_ViewPointFLAG.Click += new System.EventHandler(this.Path_ViewPointFLAG_Click);
//
// Path_SubPathRange
//
this.Path_SubPathRange.Index = 9;
this.Path_SubPathRange.Text = "标记路径区间";
this.Path_SubPathRange.Click += new System.EventHandler(this.Path_SubPathRange_Click);
//
// Path_Flatten
//
this.Path_Flatten.Index = 10;
this.Path_Flatten.Text = "路径的展平";
this.Path_Flatten.Click += new System.EventHandler(this.Path_Flatten_Click);
//
// Path_Warp
//
this.Path_Warp.Index = 11;
this.Path_Warp.Text = "路径的扭曲";
this.Path_Warp.Click += new System.EventHandler(this.Path_Warp_Click);
//
// Path_Transform
//
this.Path_Transform.Index = 12;
this.Path_Transform.Text = "路径的线性变换";
this.Path_Transform.Click += new System.EventHandler(this.Path_Transform_Click);
//
// Path_Widen
//
this.Path_Widen.Index = 13;
this.Path_Widen.Text = "路径的拓宽";
this.Path_Widen.Click += new System.EventHandler(this.Path_Widen_Click);
//
// Path_WidenDemo
//
this.Path_WidenDemo.Index = 14;
this.Path_WidenDemo.Text = "路径的拓宽处理原理演示";
this.Path_WidenDemo.Click += new System.EventHandler(this.Path_WidenDemo_Click);
//
// Region_FromPath
//
this.Region_FromPath.Index = 15;
this.Region_FromPath.Text = "从路径中创建文本区域";
this.Region_FromPath.Click += new System.EventHandler(this.Region_FromPath_Click);
//
// Region_Calculate
//
this.Region_Calculate.Index = 16;
this.Region_Calculate.Text = "区域的运算";
this.Region_Calculate.Click += new System.EventHandler(this.Region_Calculate_Click);
//
// Region_GetRects
//
this.Region_GetRects.Index = 17;
this.Region_GetRects.Text = "获取区域的组成矩形集";
this.Region_GetRects.Click += new System.EventHandler(this.Region_GetRects_Click);
//
// menuItem11
//
this.menuItem11.Index = 4;
this.menuItem11.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
this.Transform,
this.TranslateTransform,
this.RotateTransform,
this.DrawWatch,
this.ScaleTransform,
this.RectScale,
this.FontRotate,
this.Matrix_ListElements,
this.MatrixPos,
this.Martrix_Invert,
this.Matrix_Multiply,
this.Matrix_TransformPoints,
this.Matrix_TransformPoints2,
this.Matrix_TransformVectors,
this.Matrix_RotateAt,
this.Matrix_Shear,
this.Matrix_TextoutShear,
this.Matrix_ChangeFontHeight});
this.menuItem11.Text = "GDI+的坐标变换";
//
// Transform
//
this.Transform.Index = 0;
this.Transform.Text = "在GDI+使用坐标变换";
this.Transform.Click += new System.EventHandler(this.Transform_Click);
//
// TranslateTransform
//
this.TranslateTransform.Index = 1;
this.TranslateTransform.Text = "平移变换的实现";
this.TranslateTransform.Click += new System.EventHandler(this.TranslateTransform_Click);
//
// RotateTransform
//
this.RotateTransform.Index = 2;
this.RotateTransform.Text = "旋转图片";
this.RotateTransform.Click += new System.EventHandler(this.RotateTransform_Click);
//
// DrawWatch
//
this.DrawWatch.Index = 3;
this.DrawWatch.Text = "汽车里程表的绘制";
this.DrawWatch.Click += new System.EventHandler(this.DrawWatch_Click);
//
// ScaleTransform
//
this.ScaleTransform.Index = 4;
this.ScaleTransform.Text = "缩放变换的使用";
this.ScaleTransform.Click += new System.EventHandler(this.ScaleTransform_Click);
//
// RectScale
//
this.RectScale.Index = 5;
this.RectScale.Text = "矩形对象的缩放";
this.RectScale.Click += new System.EventHandler(this.RectScale_Click);
//
// FontRotate
//
this.FontRotate.Index = 6;
this.FontRotate.Text = "在GDI+中旋转输出文本";
this.FontRotate.Click += new System.EventHandler(this.FontRotate_Click);
//
// Matrix_ListElements
//
this.Matrix_ListElements.Index = 7;
this.Matrix_ListElements.Text = "查看矩阵的组成元素";
this.Matrix_ListElements.Click += new System.EventHandler(this.Matrix_ListElements_Click_1);
//
// MatrixPos
//
this.MatrixPos.Index = 8;
this.MatrixPos.Text = "使用矩阵的前置与后缀";
this.MatrixPos.Click += new System.EventHandler(this.MatrixPos_Click);
//
// Martrix_Invert
//
this.Martrix_Invert.Index = 9;
this.Martrix_Invert.Text = "逆矩阵在变换中的运用";
this.Martrix_Invert.Click += new System.EventHandler(this.Martrix_Invert_Click);
//
// Matrix_Multiply
//
this.Matrix_Multiply.Index = 10;
this.Matrix_Multiply.Text = "使用复合变换";
this.Matrix_Multiply.Click += new System.EventHandler(this.Matrix_Multiply_Click);
//
// Matrix_TransformPoints
//
this.Matrix_TransformPoints.Index = 11;
this.Matrix_TransformPoints.Text = "使用矩阵批量修改点信息\r\n \r\n";
this.Matrix_TransformPoints.Click += new System.EventHandler(this.Matrix_TransformPoints_Click);
//
// Matrix_TransformPoints2
//
this.Matrix_TransformPoints2.Index = 12;
this.Matrix_TransformPoints2.Text = "使用TransformPoints函数实现路径的变换\r\n \r\n";
this.Matrix_TransformPoints2.Click += new System.EventHandler(this.Matrix_TransformPoints2_Click);
//
// Matrix_TransformVectors
//
this.Matrix_TransformVectors.Index = 13;
this.Matrix_TransformVectors.Text = "普通矩阵运算与二维向量的矩阵运算";
this.Matrix_TransformVectors.Click += new System.EventHandler(this.Matrix_TransformVectors_Click);
//
// Matrix_RotateAt
//
this.Matrix_RotateAt.Index = 14;
this.Matrix_RotateAt.Text = "使用RotateAt函数";
this.Matrix_RotateAt.Click += new System.EventHandler(this.Matrix_RotateAt_Click);
//
// Matrix_Shear
//
this.Matrix_Shear.Index = 15;
this.Matrix_Shear.Text = "使用不同的投射变换显示图片";
this.Matrix_Shear.Click += new System.EventHandler(this.Matrix_Shear_Click);
//
// Matrix_TextoutShear
//
this.Matrix_TextoutShear.Index = 16;
this.Matrix_TextoutShear.Text = "投影字的特效输出";
this.Matrix_TextoutShear.Click += new System.EventHandler(this.Matrix_TextoutShear_Click);
//
// Matrix_ChangeFontHeight
//
this.Matrix_ChangeFontHeight.Index = 17;
this.Matrix_ChangeFontHeight.Text = "文字大小渐变输出特效";
this.Matrix_ChangeFontHeight.Click += new System.EventHandler(this.Matrix_ChangeFontHeight_Click);
//
// menuItem12
//
this.menuItem12.Index = 5;
this.menuItem12.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
this.ColorMatrix_Start,
this.TranslateColor,
this.ScaleColor,
this.RotateColor,
this.ColorShear,
this.ColorRemap,
this.SetRGBOutputChannel});
this.menuItem12.Text = "GDI+的色彩变换";
//
// ColorMatrix_Start
//
this.ColorMatrix_Start.Index = 0;
this.ColorMatrix_Start.Text = "启用色彩变换矩阵";
this.ColorMatrix_Start.Click += new System.EventHandler(this.ColorMatrix_Start_Click);
//
// TranslateColor
//
this.TranslateColor.Index = 1;
this.TranslateColor.Text = "色彩平移运算";
this.TranslateColor.Click += new System.EventHandler(this.TranslateColor_Click);
//
// ScaleColor
//
this.ScaleColor.Index = 2;
this.ScaleColor.Text = "色彩的缩放运算";
this.ScaleColor.Click += new System.EventHandler(this.ScaleColor_Click);
//
// RotateColor
//
this.RotateColor.Index = 3;
this.RotateColor.Text = "色彩的三种旋转方式";
this.RotateColor.Click += new System.EventHandler(this.RotateColor_Click);
//
// ColorShear
//
this.ColorShear.Index = 4;
this.ColorShear.Text = "色彩的投射变换";
this.ColorShear.Click += new System.EventHandler(this.ColorShear_Click);
//
// ColorRemap
//
this.ColorRemap.Index = 5;
this.ColorRemap.Text = "色彩映射的程序实现";
this.ColorRemap.Click += new System.EventHandler(this.ColorRemap_Click);
//
// SetRGBOutputChannel
//
this.SetRGBOutputChannel.Index = 6;
this.SetRGBOutputChannel.Text = "使用色彩变换矩阵实现色彩输出通道";
this.SetRGBOutputChannel.Click += new System.EventHandler(this.SetRGBOutputChannel_Click);
//
// menuItem13
//
this.menuItem13.Index = 6;
this.menuItem13.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
this.Metafile,
this.CroppingAndScaling,
this.UsingInterpolationMode,
this.RotateFlip,
this.ImageSkewing,
this.Cubeimage,
this.ThumbnailImage,
this.Clone,
this.Picturescale});
this.menuItem13.Text = "图像的基本处理";
//
// Metafile
//
this.Metafile.Index = 0;
this.Metafile.Text = "图元文件中的记录与回放";
this.Metafile.Click += new System.EventHandler(this.Metafile_Click);
//
// CroppingAndScaling
//
this.CroppingAndScaling.Index = 1;
this.CroppingAndScaling.Text = "图形的剪裁与缩放";
this.CroppingAndScaling.Click += new System.EventHandler(this.CroppingAndScaling_Click);
//
// UsingInterpolationMode
//
this.UsingInterpolationMode.Index = 2;
this.UsingInterpolationMode.Text = "使用不同的插值模式控制图形缩放质量";
this.UsingInterpolationMode.Click += new System.EventHandler(this.UsingInterpolationMode_Click);
//
// RotateFlip
//
this.RotateFlip.Index = 3;
this.RotateFlip.Text = "绘制镜像图片示例";
this.RotateFlip.Click += new System.EventHandler(this.RotateFlip_Click);
//
// ImageSkewing
//
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -