资讯

展开

paintdotnet,急需 php验证码源代码 要运行良好的

作者:本站作者

1,急需 php验证码源代码 要运行良好的

随机生成字母,用gdi+模糊处理,只有思路。

paintdotnet,急需 php验证码源代码 要运行良好的

2,mac pro能免费装paintdotnet

paintdotnet 要是后缀.dmg的就能够在苹果上使用安装,要是是.exe后缀的就只能在Windows系统使用,是不能兼容的。

paintdotnet,急需 php验证码源代码 要运行良好的

3,c怎么在一张图片上的指定位置画圆

仿照下面的代码:http://stackoverflow.com/questions/11402862/how-to-draw-a-line-on-a-image
private void form_paint(object sender, painteventargs e)pen p = new pen(color.black);p.dashstyle = system.drawing.drawing2d.dashstyle.dashdot;e.graphics.drawellipse(p, 3, 3, 20, 20);}

paintdotnet,急需 php验证码源代码 要运行良好的

4,paintdotnet有哪些功能

1、简单,直观,创新的用户界面每个功能和用户界面元素被设计为立即直观,快速学习而无需帮助。为了轻松处理多个图像,Paint.NET使用选项卡式文档界面。选项卡显示图像的实时缩略图,而不是文本描述。这使得导航非常简单和快速。2、图层通常只有在昂贵或复杂的专业软件中才能发现,层次构成丰富的图像构成体验的基础。你可以将它们看作是一叠透明度幻灯片,当同时一起观看时,形成一个图像。3、性能好广泛的工作已经使Paint.NET成为最快的图像编辑器。无论您是具有强大功能的Atom CPU的上网本,还是具有16个以上快速处理核心的双Intel Xeon工作站,您都可以期待Paint.NET快速启动并对每次鼠标点击进行响应。4、支持自动更新更新是免费的,包含新功能,性能改进和错误修复。升级到最新版本是非常简单的,只需要两次鼠标点击。5、拥有活跃在线社区Paint.NET有一个在线论坛,友好,热情和不断扩大的社区。一定要查看不断增长的教程和插件列表!6、支持多种特效包括许多特效用于增强和完善您的图像。包括模糊,锐化,红眼消除,变形,噪音和压花的一切。还包括我们独特的3D旋转/缩放效果,使其非常容易添加透视和倾斜。还包括调整,帮助您调整图像的亮度,对比度,色相,饱和度,曲线和水平。您还可以将图像转换为黑白或深褐色。7、支持历史记录功能每个人都犯错,每个人都改变主意。为了适应这一点,您对图像执行的每个动作都将记录在“历史记录”窗口中,可能会被撤消。撤消操作后,您也可以重做。历史的长度仅受可用磁盘空间的限制。8、提供很多强大的工具Paint.NET包括用于绘制形状的简单工具,包括用于绘制样条曲线或贝塞尔曲线的易于使用的曲线工具。渐变工具(3.0)的新功能被引用为对其他软件提供的类似工具的创新改进。创造和使用选择的设施是强大的,但仍然很简单,可以快速拾起。其他强大的工具包括用于选择相似颜色区域的魔术棒,以及用于复制或删除图像部分的克隆印章。还有一个简单的文本编辑器,一个缩放工具和一个重新打印工具。9、免费最后,也是最关键的一点,那就是永久免费

5,C中的flash控件透明问题

访问f_in_box官网 http://www.f-in-box.com/dotnet/(f_in_box的.net版本)下载控件 f_in_box_lib.dll分两步: 1. WMode = Transparent (在属性列表中设置) 2. 响应f_in_box_lib的OnPaintStage事件,并添加代码 if (f_in_box__lib.PaintStage.PrePaint == stage) f_in_box__lib.f_in_box__control f_in_box__control = (f_in_box__lib.f_in_box__control)sender; using (Bitmap b = new Bitmap(Width, Height)) using (Graphics g = Graphics.FromImage(b)) PaintEventArgs pea = new PaintEventArgs(g, new Rectangle(f_in_box__control.Location, f_in_box__control.Size)); this.OnPaintBackground(pea); this.OnPaint(pea); g.DrawImage( pictureBox1.Image, new Rectangle(pictureBox1.Location, pictureBox1.Size), new Rectangle(new Point(0, 0), pictureBox1.Image.Size), GraphicsUnit.Pixel); Canvas.DrawImage( b, new Rectangle(new Point(0, 0), f_in_box__control.Size), new Rectangle(f_in_box__control.Location, f_in_box__control.Size), GraphicsUnit.Pixel); } } } 这样就实现了flash的背景透明

6,C里面的paint事件如何自己调用

不能直接调用paint 如果需要的话. 最简单的似乎可以用Control.Refresh()方法.强制重绘控件
代码: ================================= using System; using System.Collections; using System.ComponentModel; using System.Drawing; using System.Data; using System.Windows.Forms; namespace ch13_paint { /// <summary> /// Summary description for ScribbleComponent. /// </summary> public class ScribbleComponent : System.Windows.Forms.UserControl { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.Container components = null; private System.Drawing.Point fStartPoint; private System.Drawing.Point fEndPoint; public ScribbleComponent() { // This call is required by the Windows.Forms Form Designer. InitializeComponent(); fStartPoint = new System.Drawing.Point(); fEndPoint = new System.Drawing.Point(); } /// <summary> /// Clean up any resources being used. /// </summary> protected override void Dispose( bool disposing ) { if( disposing ) { if(components != null) { components.Dispose(); } } base.Dispose( disposing ); } #region Component Designer generated code /// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { // // ScribbleComponent // this.Name = "ScribbleComponent"; this.Paint += new System.Windows.Forms.PaintEventHandler(this.OnPaint); this.MouseMove += new System.Windows.Forms.MouseEventHandler(this.OnMouseMove); this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.OnMouseDown); } #endregion private void onm ouseMove(object sender, System.Windows.Forms.MouseEventArgs e) { fEndPoint.X = e.X; fEndPoint.Y = e.Y; Refresh(); } private void onm ouseDown(object sender, System.Windows.Forms.MouseEventArgs e) { fStartPoint.X = e.X; fStartPoint.Y = e.Y; } private void OnPaint(object sender, System.Windows.Forms.PaintEventArgs e) { Pen p = new Pen( System.Drawing.Brushes.Blue, 1 ); e.Graphics.DrawLine( p, fStartPoint, fEndPoint ); } } } =============================================================== ******** this.Paint += new System.Windows.Forms.PaintEventHandler(this.OnPaint); 也就是问,该代码的this.Paint事件是如何被调用的?谁调用的呢?好象dotNET掩盖了一切. ================ 附Form1.cs代码,可在vs.net中运行鼠标划线. using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; namespace ch13_paint { /// <summary> /// Summary description for Form1. /// </summary> public class Form1 : System.Windows.Forms.Form { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.Container components = null; private ch13_paint.ScribbleComponent comp; public Form1() { // // Required for Windows Form Designer support // InitializeComponent(); // // TODO: Add any constructor code after InitializeComponent call // } /// <summary> /// Clean up any resources being used. /// </summary> protected override void Dispose( bool disposing ) { if( disposing ) { if (components != null) { components.Dispose(); } } base.Dispose( disposing ); } #region Windows Form Designer generated code /// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.comp = new ch13_paint.ScribbleComponent(); this.comp.Location = new System.Drawing.Point(0,0); this.comp.Name = "component1"; this.comp.Size = new System.Drawing.Size(300,300); this.comp.TabIndex = 1; this.components = new System.ComponentModel.Container(); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.comp }); this.Size = new System.Drawing.Size(300,300); this.Text = "Form1"; } #endregion /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { Application.Run(new Form1()); } } }
文章TAG:PaintDotNet  急需  php验证码源代码  要运行良好的  php  验证  
相关教程
猜你喜欢