📄 form1.cs
字号:
this.Path_WidenDemo = new System.Windows.Forms.MenuItem();
this.Region_FromPath = new System.Windows.Forms.MenuItem();
this.Region_Calculate = new System.Windows.Forms.MenuItem();
this.Region_GetRects = new System.Windows.Forms.MenuItem();
this.menuItem11 = new System.Windows.Forms.MenuItem();
this.Transform = new System.Windows.Forms.MenuItem();
this.TranslateTransform = new System.Windows.Forms.MenuItem();
this.RotateTransform = new System.Windows.Forms.MenuItem();
this.DrawWatch = new System.Windows.Forms.MenuItem();
this.ScaleTransform = new System.Windows.Forms.MenuItem();
this.RectScale = new System.Windows.Forms.MenuItem();
this.FontRotate = new System.Windows.Forms.MenuItem();
this.Matrix_ListElements = new System.Windows.Forms.MenuItem();
this.MatrixPos = new System.Windows.Forms.MenuItem();
this.Martrix_Invert = new System.Windows.Forms.MenuItem();
this.Matrix_Multiply = new System.Windows.Forms.MenuItem();
this.Matrix_TransformPoints = new System.Windows.Forms.MenuItem();
this.Matrix_TransformPoints2 = new System.Windows.Forms.MenuItem();
this.Matrix_TransformVectors = new System.Windows.Forms.MenuItem();
this.Matrix_RotateAt = new System.Windows.Forms.MenuItem();
this.Matrix_Shear = new System.Windows.Forms.MenuItem();
this.Matrix_TextoutShear = new System.Windows.Forms.MenuItem();
this.Matrix_ChangeFontHeight = new System.Windows.Forms.MenuItem();
this.menuItem12 = new System.Windows.Forms.MenuItem();
this.ColorMatrix_Start = new System.Windows.Forms.MenuItem();
this.TranslateColor = new System.Windows.Forms.MenuItem();
this.ScaleColor = new System.Windows.Forms.MenuItem();
this.RotateColor = new System.Windows.Forms.MenuItem();
this.ColorShear = new System.Windows.Forms.MenuItem();
this.ColorRemap = new System.Windows.Forms.MenuItem();
this.SetRGBOutputChannel = new System.Windows.Forms.MenuItem();
this.menuItem13 = new System.Windows.Forms.MenuItem();
this.Metafile = new System.Windows.Forms.MenuItem();
this.CroppingAndScaling = new System.Windows.Forms.MenuItem();
this.UsingInterpolationMode = new System.Windows.Forms.MenuItem();
this.RotateFlip = new System.Windows.Forms.MenuItem();
this.ImageSkewing = new System.Windows.Forms.MenuItem();
this.Cubeimage = new System.Windows.Forms.MenuItem();
this.ThumbnailImage = new System.Windows.Forms.MenuItem();
this.Clone = new System.Windows.Forms.MenuItem();
this.Picturescale = new System.Windows.Forms.MenuItem();
this.menuItem15 = new System.Windows.Forms.MenuItem();
this.ImageAttributesSetNoOp = new System.Windows.Forms.MenuItem();
this.SetColorMatrices = new System.Windows.Forms.MenuItem();
this.SetOutputChannelColorProfile = new System.Windows.Forms.MenuItem();
this.Gammaadjust = new System.Windows.Forms.MenuItem();
this.SetOutputChannel = new System.Windows.Forms.MenuItem();
this.Colorkey = new System.Windows.Forms.MenuItem();
this.Setthreshold = new System.Windows.Forms.MenuItem();
this.AdjustedPalette = new System.Windows.Forms.MenuItem();
this.SetWrapMode = new System.Windows.Forms.MenuItem();
this.menuItem16 = new System.Windows.Forms.MenuItem();
this.ListAllImageEncoders = new System.Windows.Forms.MenuItem();
this.ListImageEncoder_Detail = new System.Windows.Forms.MenuItem();
this.ListImageDecoder = new System.Windows.Forms.MenuItem();
this.GetEncoderParameter = new System.Windows.Forms.MenuItem();
this.GetAllEncoderParameter = new System.Windows.Forms.MenuItem();
this.menuItem17 = new System.Windows.Forms.MenuItem();
this.SaveBmp2tif = new System.Windows.Forms.MenuItem();
this.SaveBMP2JPG = new System.Windows.Forms.MenuItem();
this.TransformingJPEG = new System.Windows.Forms.MenuItem();
this.MultipleFrameImage = new System.Windows.Forms.MenuItem();
this.GetImageFromMultyFrame = new System.Windows.Forms.MenuItem();
this.QueryImage = new System.Windows.Forms.MenuItem();
this.SetProp = new System.Windows.Forms.MenuItem();
this.menuItem18 = new System.Windows.Forms.MenuItem();
this.FadeInOut = new System.Windows.Forms.MenuItem();
this.GrayScale = new System.Windows.Forms.MenuItem();
this.Inverse = new System.Windows.Forms.MenuItem();
this.Emboss = new System.Windows.Forms.MenuItem();
this.OnCanvas = new System.Windows.Forms.MenuItem();
this.OnWood = new System.Windows.Forms.MenuItem();
this.Flashligt = new System.Windows.Forms.MenuItem();
this.BlurAndSharpen = new System.Windows.Forms.MenuItem();
//
// mainMenu1
//
this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
this.menuItem1});
//
// menuItem1
//
this.menuItem1.Index = 0;
this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
this.menuItem2,
this.menuItem3,
this.menuItem8,
this.menuItem9,
this.menuItem11,
this.menuItem12,
this.menuItem13,
this.menuItem15,
this.menuItem16,
this.menuItem18});
this.menuItem1.Text = "GDI+编程";
//
// menuItem2
//
this.menuItem2.Index = 0;
this.menuItem2.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
this.CreatePenFromBrush,
this.DashStyle_Custom,
this.Pen_Align,
this.Pen_Tranform,
this.Pen_LineCap,
this.Pen_TransColor});
this.menuItem2.Text = "画笔";
//
// CreatePenFromBrush
//
this.CreatePenFromBrush.Index = 0;
this.CreatePenFromBrush.Text = "从画刷中构造画笔";
this.CreatePenFromBrush.Click += new System.EventHandler(this.CreatePenFromBrush_Click);
//
// DashStyle_Custom
//
this.DashStyle_Custom.Index = 1;
this.DashStyle_Custom.Text = "自定义线型";
this.DashStyle_Custom.Click += new System.EventHandler(this.DashStyle_Custom_Click);
//
// Pen_Align
//
this.Pen_Align.Index = 2;
this.Pen_Align.Text = "画笔的对齐方式";
this.Pen_Align.Click += new System.EventHandler(this.Pen_Align_Click);
//
// Pen_Tranform
//
this.Pen_Tranform.Index = 3;
this.Pen_Tranform.Text = "画笔的缩放与旋转";
this.Pen_Tranform.Click += new System.EventHandler(this.Pen_Tranform_Click);
//
// Pen_LineCap
//
this.Pen_LineCap.Index = 4;
this.Pen_LineCap.Text = "画笔的线帽属性";
this.Pen_LineCap.Click += new System.EventHandler(this.Pen_LineCap_Click);
//
// Pen_TransColor
//
this.Pen_TransColor.Index = 5;
this.Pen_TransColor.Text = "画笔的透明度支持";
this.Pen_TransColor.Click += new System.EventHandler(this.Pen_TransColor_Click);
//
// menuItem3
//
this.menuItem3.Index = 1;
this.menuItem3.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
this.menuItem5,
this.menuItem10,
this.menuItem7,
this.menuItem6,
this.menuItem4});
this.menuItem3.Text = "画刷";
//
// menuItem5
//
this.menuItem5.Index = 0;
this.menuItem5.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
this.Brush_SolidBrush,
this.Brush_FillVurve});
this.menuItem5.Text = "单色画刷的使用";
//
// Brush_SolidBrush
//
this.Brush_SolidBrush.Index = 0;
this.Brush_SolidBrush.Text = "简单的单色画刷";
this.Brush_SolidBrush.Click += new System.EventHandler(this.Brush_SolidBrush_Click);
//
// Brush_FillVurve
//
this.Brush_FillVurve.Index = 1;
this.Brush_FillVurve.Text = "填充正叶曲线";
this.Brush_FillVurve.Click += new System.EventHandler(this.Brush_FillVurve_Click);
//
// menuItem10
//
this.menuItem10.Index = 1;
this.menuItem10.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
this.Brush_HatchBrush,
this.Brush_EnumAllStyle,
this.Brush_SetRenderingOrigin});
this.menuItem10.Text = "影线画刷的使用";
//
// Brush_HatchBrush
//
this.Brush_HatchBrush.Index = 0;
this.Brush_HatchBrush.Text = "影线画刷";
this.Brush_HatchBrush.Click += new System.EventHandler(this.Brush_HatchBrush_Click);
//
// Brush_EnumAllStyle
//
this.Brush_EnumAllStyle.Index = 1;
this.Brush_EnumAllStyle.Text = "枚举所有影线画刷风格";
this.Brush_EnumAllStyle.Click += new System.EventHandler(this.Brush_EnumAllStyle_Click);
//
// Brush_SetRenderingOrigin
//
this.Brush_SetRenderingOrigin.Index = 2;
this.Brush_SetRenderingOrigin.Text = "设置绘制原点";
this.Brush_SetRenderingOrigin.Click += new System.EventHandler(this.Brush_SetRenderingOrigin_Click);
//
// menuItem7
//
this.menuItem7.Index = 2;
this.menuItem7.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
this.Brush_Texture,
this.Brush_Texture_WrapMode,
this.Brush_TextureTransform,
this.Brush_GetTextureMatrix});
this.menuItem7.Text = "纹理画刷";
//
// Brush_Texture
//
this.Brush_Texture.Index = 0;
this.Brush_Texture.Text = "纹理画刷的基本使用";
this.Brush_Texture.Click += new System.EventHandler(this.Brush_Texture_Click);
//
// Brush_Texture_WrapMode
//
this.Brush_Texture_WrapMode.Index = 1;
this.Brush_Texture_WrapMode.Text = "纹理画刷的排列方式";
this.Brush_Texture_WrapMode.Click += new System.EventHandler(this.Brush_Texture_WrapMode_Click);
//
// Brush_TextureTransform
//
this.Brush_TextureTransform.Index = 2;
this.Brush_TextureTransform.Text = "纹理画刷的变换";
this.Brush_TextureTransform.Click += new System.EventHandler(this.Brush_TextureTransform_Click);
//
// Brush_GetTextureMatrix
//
this.Brush_GetTextureMatrix.Index = 3;
this.Brush_GetTextureMatrix.Text = "查询画刷的变换信息";
this.Brush_GetTextureMatrix.Click += new System.EventHandler(this.Brush_GetTextureMatrix_Click);
//
// menuItem6
//
this.menuItem6.Index = 3;
this.menuItem6.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
this.Brush_LinearGradientBrush,
this.Brush_LinearArrange,
this.Brush_LinearInterpolation,
this.Brush_LinearGradientMode,
this.Brush_LinearAngle,
this.Brush_LinearCustomize,
this.Brush_LinearGradientBrush_BellShape,
this.Brsuh_LinearGradientBrush_UsingGamma});
this.menuItem6.Text = "线性渐变画刷的使用";
//
// Brush_LinearGradientBrush
//
this.Brush_LinearGradientBrush.Index = 0;
this.Brush_LinearGradientBrush.Text = "线性渐变画刷";
this.Brush_LinearGradientBrush.Click += new System.EventHandler(this.Brush_LinearGradientBrush_Click);
//
// Brush_LinearArrange
//
this.Brush_LinearArrange.Index = 1;
this.Brush_LinearArrange.Text = "渐变画刷的不同填充方式";
this.Brush_LinearArrange.Click += new System.EventHandler(this.Brush_LinearArrange_Click);
//
// Brush_LinearInterpolation
//
this.Brush_LinearInterpolation.Index = 2;
this.Brush_LinearInterpolation.Text = "多色渐变画刷";
this.Brush_LinearInterpolation.Click += new System.EventHandler(this.Brush_LinearInterpolation_Click);
//
// Brush_LinearGradientMode
//
this.Brush_LinearGradientMode.Index = 3;
this.Brush_LinearGradientMode.Text = "使用渐变画刷的渐变模式";
this.Brush_LinearGradientMode.Click += new System.EventHandler(this.Brush_LinearGradientMode_Click);
//
// Brush_LinearAngle
//
this.Brush_LinearAngle.Index = 4;
this.Brush_LinearAngle.Text = "调整渐变线偏转角度";
this.Brush_LinearAngle.Click += new System.EventHandler(this.Brush_LinearAngle_Click);
//
// Brush_LinearCustomize
//
this.Brush_LinearCustomize.Index = 5;
this.Brush_LinearCustomize.Text = "自定义线性渐变画刷的渐变过程";
this.Brush_LinearCustomize.Click += new System.EventHandler(this.Brush_LinearCustomize_Click);
//
// Brush_LinearGradientBrush_BellShape
//
this.Brush_LinearGradientBrush_BellShape.Index = 6;
this.Brush_LinearGradientBrush_BellShape.Text = "钟形曲线渐变";
this.Brush_LinearGradientBrush_BellShape.Click += new System.EventHandler(this.Brush_LinearGradientBrush_BellShape_Click);
//
// Brsuh_LinearGradientBrush_UsingGamma
//
this.Brsuh_LinearGradientBrush_UsingGamma.Index = 7;
this.Brsuh_LinearGradientBrush_UsingGamma.Text = "启用Gamma校正";
this.Brsuh_LinearGradientBrush_UsingGamma.Click += new System.EventHandler(this.Brsuh_LinearGradientBrush_UsingGamma_Click);
//
// menuItem4
//
this.menuItem4.Index = 4;
this.menuItem4.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
this.Brush_PathGradientBrush_Star,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -