<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
		<id>http://nfex.ru/index.php?action=history&amp;feed=atom&amp;title=Csharp%2FC_Sharp%2F2D_Graphics%2FSmooth_Paint</id>
		<title>Csharp/C Sharp/2D Graphics/Smooth Paint - История изменений</title>
		<link rel="self" type="application/atom+xml" href="http://nfex.ru/index.php?action=history&amp;feed=atom&amp;title=Csharp%2FC_Sharp%2F2D_Graphics%2FSmooth_Paint"/>
		<link rel="alternate" type="text/html" href="http://nfex.ru/index.php?title=Csharp/C_Sharp/2D_Graphics/Smooth_Paint&amp;action=history"/>
		<updated>2026-04-29T16:42:16Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://nfex.ru/index.php?title=Csharp/C_Sharp/2D_Graphics/Smooth_Paint&amp;diff=853&amp;oldid=prev</id>
		<title> в 15:31, 26 мая 2010</title>
		<link rel="alternate" type="text/html" href="http://nfex.ru/index.php?title=Csharp/C_Sharp/2D_Graphics/Smooth_Paint&amp;diff=853&amp;oldid=prev"/>
				<updated>2010-05-26T15:31:19Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Предыдущая&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Версия 15:31, 26 мая 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;text-align: center;&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
			</entry>

	<entry>
		<id>http://nfex.ru/index.php?title=Csharp/C_Sharp/2D_Graphics/Smooth_Paint&amp;diff=854&amp;oldid=prev</id>
		<title>Admin: 1 версия</title>
		<link rel="alternate" type="text/html" href="http://nfex.ru/index.php?title=Csharp/C_Sharp/2D_Graphics/Smooth_Paint&amp;diff=854&amp;oldid=prev"/>
				<updated>2010-05-26T11:41:57Z</updated>
		
		<summary type="html">&lt;p&gt;1 версия&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==HatchBrush Demo ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
GDI+ Programming in C# and VB .NET&lt;br /&gt;
by Nick Symmonds&lt;br /&gt;
Publisher: Apress&lt;br /&gt;
ISBN: 159059035X&lt;br /&gt;
*/&lt;br /&gt;
using System;&lt;br /&gt;
using System.Drawing;&lt;br /&gt;
using System.Drawing.Drawing2D;&lt;br /&gt;
using System.Collections;&lt;br /&gt;
using System.ruponentModel;&lt;br /&gt;
using System.Windows.Forms;&lt;br /&gt;
using System.Data;&lt;br /&gt;
namespace hatch_c&lt;br /&gt;
{&lt;br /&gt;
    /// &amp;lt;summary&amp;gt;&lt;br /&gt;
    /// Summary description for hatch.&lt;br /&gt;
    /// &amp;lt;/summary&amp;gt;&lt;br /&gt;
    public class hatch : System.Windows.Forms.Form&lt;br /&gt;
    {&lt;br /&gt;
        /// &amp;lt;summary&amp;gt;&lt;br /&gt;
        /// Required designer variable.&lt;br /&gt;
        /// &amp;lt;/summary&amp;gt;&lt;br /&gt;
        private System.ruponentModel.Container components = null;&lt;br /&gt;
        public hatch()&lt;br /&gt;
        {&lt;br /&gt;
            //&lt;br /&gt;
            // Required for Windows Form Designer support&lt;br /&gt;
            //&lt;br /&gt;
            InitializeComponent();&lt;br /&gt;
            //&lt;br /&gt;
            // TODO: Add any constructor code after InitializeComponent call&lt;br /&gt;
            //&lt;br /&gt;
        }&lt;br /&gt;
        /// &amp;lt;summary&amp;gt;&lt;br /&gt;
        /// Clean up any resources being used.&lt;br /&gt;
        /// &amp;lt;/summary&amp;gt;&lt;br /&gt;
        protected override void Dispose( bool disposing )&lt;br /&gt;
        {&lt;br /&gt;
            if( disposing )&lt;br /&gt;
            {&lt;br /&gt;
                if (components != null) &lt;br /&gt;
                {&lt;br /&gt;
                    components.Dispose();&lt;br /&gt;
                }&lt;br /&gt;
            }&lt;br /&gt;
            base.Dispose( disposing );&lt;br /&gt;
        }&lt;br /&gt;
        #region Windows Form Designer generated code&lt;br /&gt;
        /// &amp;lt;summary&amp;gt;&lt;br /&gt;
        /// Required method for Designer support - do not modify&lt;br /&gt;
        /// the contents of this method with the code editor.&lt;br /&gt;
        /// &amp;lt;/summary&amp;gt;&lt;br /&gt;
        private void InitializeComponent()&lt;br /&gt;
        {&lt;br /&gt;
      // &lt;br /&gt;
      // hatch&lt;br /&gt;
      // &lt;br /&gt;
      this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);&lt;br /&gt;
      this.ClientSize = new System.Drawing.Size(292, 273);&lt;br /&gt;
      this.Name = &amp;quot;hatch&amp;quot;;&lt;br /&gt;
      this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;&lt;br /&gt;
      this.Text = &amp;quot;hatch&amp;quot;;&lt;br /&gt;
      this.Load += new System.EventHandler(this.hatch_Load);&lt;br /&gt;
    }&lt;br /&gt;
        #endregion&lt;br /&gt;
        /// &amp;lt;summary&amp;gt;&lt;br /&gt;
        /// The main entry point for the application.&lt;br /&gt;
        /// &amp;lt;/summary&amp;gt;&lt;br /&gt;
        [STAThread]&lt;br /&gt;
        static void Main() &lt;br /&gt;
        {&lt;br /&gt;
            Application.Run(new hatch());&lt;br /&gt;
        }&lt;br /&gt;
    private void hatch_Load(object sender, System.EventArgs e)&lt;br /&gt;
    {&lt;br /&gt;
    &lt;br /&gt;
    }&lt;br /&gt;
    protected override void OnPaint ( PaintEventArgs e )&lt;br /&gt;
    {&lt;br /&gt;
      HatchBrush h = new HatchBrush(HatchStyle.BackwardDiagonal,&lt;br /&gt;
                                    Color.Black, &lt;br /&gt;
                                    Color.Cyan);&lt;br /&gt;
      Pen P = new Pen(h, 20);&lt;br /&gt;
      e.Graphics.Clear(Color.AliceBlue);&lt;br /&gt;
      e.Graphics.SmoothingMode = SmoothingMode.AntiAlias;&lt;br /&gt;
      e.Graphics.DrawLine(P, 80, 90, 80, 200 );&lt;br /&gt;
      e.Graphics.FillEllipse(h, 50, 50, 50, 30 );&lt;br /&gt;
    }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
           &lt;br /&gt;
       &amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Smoothing Paint==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
User Interfaces in C#: Windows Forms and Custom Controls&lt;br /&gt;
by Matthew MacDonald&lt;br /&gt;
Publisher: Apress&lt;br /&gt;
ISBN: 1590590457&lt;br /&gt;
*/&lt;br /&gt;
using System;&lt;br /&gt;
using System.Drawing;&lt;br /&gt;
using System.Collections;&lt;br /&gt;
using System.ruponentModel;&lt;br /&gt;
using System.Windows.Forms;&lt;br /&gt;
using System.Drawing.Drawing2D;&lt;br /&gt;
namespace GDI_Basics&lt;br /&gt;
{&lt;br /&gt;
    /// &amp;lt;summary&amp;gt;&lt;br /&gt;
    /// Summary description for Smoothing.&lt;br /&gt;
    /// &amp;lt;/summary&amp;gt;&lt;br /&gt;
    public class Smoothing : System.Windows.Forms.Form&lt;br /&gt;
    {&lt;br /&gt;
        internal System.Windows.Forms.GroupBox grpHighQuality;&lt;br /&gt;
        internal System.Windows.Forms.PictureBox picHighQuality;&lt;br /&gt;
        internal System.Windows.Forms.GroupBox grpAntiAlias;&lt;br /&gt;
        internal System.Windows.Forms.PictureBox picAntialias;&lt;br /&gt;
        internal System.Windows.Forms.GroupBox grpHighSpeed;&lt;br /&gt;
        internal System.Windows.Forms.PictureBox picHighSpeed;&lt;br /&gt;
        internal System.Windows.Forms.GroupBox grpNone;&lt;br /&gt;
        internal System.Windows.Forms.PictureBox picNone;&lt;br /&gt;
        /// &amp;lt;summary&amp;gt;&lt;br /&gt;
        /// Required designer variable.&lt;br /&gt;
        /// &amp;lt;/summary&amp;gt;&lt;br /&gt;
        private System.ruponentModel.Container components = null;&lt;br /&gt;
        public Smoothing()&lt;br /&gt;
        {&lt;br /&gt;
            //&lt;br /&gt;
            // Required for Windows Form Designer support&lt;br /&gt;
            //&lt;br /&gt;
            InitializeComponent();&lt;br /&gt;
            //&lt;br /&gt;
            // TODO: Add any constructor code after InitializeComponent call&lt;br /&gt;
            //&lt;br /&gt;
        }&lt;br /&gt;
        /// &amp;lt;summary&amp;gt;&lt;br /&gt;
        /// Clean up any resources being used.&lt;br /&gt;
        /// &amp;lt;/summary&amp;gt;&lt;br /&gt;
        protected override void Dispose( bool disposing )&lt;br /&gt;
        {&lt;br /&gt;
            if( disposing )&lt;br /&gt;
            {&lt;br /&gt;
                if(components != null)&lt;br /&gt;
                {&lt;br /&gt;
                    components.Dispose();&lt;br /&gt;
                }&lt;br /&gt;
            }&lt;br /&gt;
            base.Dispose( disposing );&lt;br /&gt;
        }&lt;br /&gt;
        #region Windows Form Designer generated code&lt;br /&gt;
        /// &amp;lt;summary&amp;gt;&lt;br /&gt;
        /// Required method for Designer support - do not modify&lt;br /&gt;
        /// the contents of this method with the code editor.&lt;br /&gt;
        /// &amp;lt;/summary&amp;gt;&lt;br /&gt;
        private void InitializeComponent()&lt;br /&gt;
        {&lt;br /&gt;
            this.grpHighQuality = new System.Windows.Forms.GroupBox();&lt;br /&gt;
            this.picHighQuality = new System.Windows.Forms.PictureBox();&lt;br /&gt;
            this.grpAntiAlias = new System.Windows.Forms.GroupBox();&lt;br /&gt;
            this.picAntialias = new System.Windows.Forms.PictureBox();&lt;br /&gt;
            this.grpHighSpeed = new System.Windows.Forms.GroupBox();&lt;br /&gt;
            this.picHighSpeed = new System.Windows.Forms.PictureBox();&lt;br /&gt;
            this.grpNone = new System.Windows.Forms.GroupBox();&lt;br /&gt;
            this.picNone = new System.Windows.Forms.PictureBox();&lt;br /&gt;
            this.grpHighQuality.SuspendLayout();&lt;br /&gt;
            this.grpAntiAlias.SuspendLayout();&lt;br /&gt;
            this.grpHighSpeed.SuspendLayout();&lt;br /&gt;
            this.grpNone.SuspendLayout();&lt;br /&gt;
            this.SuspendLayout();&lt;br /&gt;
            // &lt;br /&gt;
            // grpHighQuality&lt;br /&gt;
            // &lt;br /&gt;
            this.grpHighQuality.Controls.AddRange(new System.Windows.Forms.Control[] {&lt;br /&gt;
                                                                                         this.picHighQuality});&lt;br /&gt;
            this.grpHighQuality.FlatStyle = System.Windows.Forms.FlatStyle.System;&lt;br /&gt;
            this.grpHighQuality.Location = new System.Drawing.Point(12, 276);&lt;br /&gt;
            this.grpHighQuality.Name = &amp;quot;grpHighQuality&amp;quot;;&lt;br /&gt;
            this.grpHighQuality.Size = new System.Drawing.Size(344, 85);&lt;br /&gt;
            this.grpHighQuality.TabIndex = 8;&lt;br /&gt;
            this.grpHighQuality.TabStop = false;&lt;br /&gt;
            this.grpHighQuality.Text = &amp;quot;HighQuality&amp;quot;;&lt;br /&gt;
            // &lt;br /&gt;
            // picHighQuality&lt;br /&gt;
            // &lt;br /&gt;
            this.picHighQuality.Location = new System.Drawing.Point(8, 16);&lt;br /&gt;
            this.picHighQuality.Name = &amp;quot;picHighQuality&amp;quot;;&lt;br /&gt;
            this.picHighQuality.Size = new System.Drawing.Size(328, 64);&lt;br /&gt;
            this.picHighQuality.TabIndex = 0;&lt;br /&gt;
            this.picHighQuality.TabStop = false;&lt;br /&gt;
            this.picHighQuality.Paint += new System.Windows.Forms.PaintEventHandler(this.picHighQuality_Paint);&lt;br /&gt;
            // &lt;br /&gt;
            // grpAntiAlias&lt;br /&gt;
            // &lt;br /&gt;
            this.grpAntiAlias.Controls.AddRange(new System.Windows.Forms.Control[] {&lt;br /&gt;
                                                                                       this.picAntialias});&lt;br /&gt;
            this.grpAntiAlias.FlatStyle = System.Windows.Forms.FlatStyle.System;&lt;br /&gt;
            this.grpAntiAlias.Location = new System.Drawing.Point(12, 188);&lt;br /&gt;
            this.grpAntiAlias.Name = &amp;quot;grpAntiAlias&amp;quot;;&lt;br /&gt;
            this.grpAntiAlias.Size = new System.Drawing.Size(344, 85);&lt;br /&gt;
            this.grpAntiAlias.TabIndex = 7;&lt;br /&gt;
            this.grpAntiAlias.TabStop = false;&lt;br /&gt;
            this.grpAntiAlias.Text = &amp;quot;AntiAlias&amp;quot;;&lt;br /&gt;
            // &lt;br /&gt;
            // picAntialias&lt;br /&gt;
            // &lt;br /&gt;
            this.picAntialias.Location = new System.Drawing.Point(8, 16);&lt;br /&gt;
            this.picAntialias.Name = &amp;quot;picAntialias&amp;quot;;&lt;br /&gt;
            this.picAntialias.Size = new System.Drawing.Size(328, 64);&lt;br /&gt;
            this.picAntialias.TabIndex = 0;&lt;br /&gt;
            this.picAntialias.TabStop = false;&lt;br /&gt;
            this.picAntialias.Paint += new System.Windows.Forms.PaintEventHandler(this.picAntialias_Paint);&lt;br /&gt;
            // &lt;br /&gt;
            // grpHighSpeed&lt;br /&gt;
            // &lt;br /&gt;
            this.grpHighSpeed.Controls.AddRange(new System.Windows.Forms.Control[] {&lt;br /&gt;
                                                                                       this.picHighSpeed});&lt;br /&gt;
            this.grpHighSpeed.FlatStyle = System.Windows.Forms.FlatStyle.System;&lt;br /&gt;
            this.grpHighSpeed.Location = new System.Drawing.Point(12, 100);&lt;br /&gt;
            this.grpHighSpeed.Name = &amp;quot;grpHighSpeed&amp;quot;;&lt;br /&gt;
            this.grpHighSpeed.Size = new System.Drawing.Size(344, 85);&lt;br /&gt;
            this.grpHighSpeed.TabIndex = 6;&lt;br /&gt;
            this.grpHighSpeed.TabStop = false;&lt;br /&gt;
            this.grpHighSpeed.Text = &amp;quot;HighSpeed&amp;quot;;&lt;br /&gt;
            // &lt;br /&gt;
            // picHighSpeed&lt;br /&gt;
            // &lt;br /&gt;
            this.picHighSpeed.Location = new System.Drawing.Point(8, 16);&lt;br /&gt;
            this.picHighSpeed.Name = &amp;quot;picHighSpeed&amp;quot;;&lt;br /&gt;
            this.picHighSpeed.Size = new System.Drawing.Size(328, 64);&lt;br /&gt;
            this.picHighSpeed.TabIndex = 0;&lt;br /&gt;
            this.picHighSpeed.TabStop = false;&lt;br /&gt;
            this.picHighSpeed.Paint += new System.Windows.Forms.PaintEventHandler(this.picHighSpeed_Paint);&lt;br /&gt;
            // &lt;br /&gt;
            // grpNone&lt;br /&gt;
            // &lt;br /&gt;
            this.grpNone.Controls.AddRange(new System.Windows.Forms.Control[] {&lt;br /&gt;
                                                                                  this.picNone});&lt;br /&gt;
            this.grpNone.FlatStyle = System.Windows.Forms.FlatStyle.System;&lt;br /&gt;
            this.grpNone.Location = new System.Drawing.Point(12, 12);&lt;br /&gt;
            this.grpNone.Name = &amp;quot;grpNone&amp;quot;;&lt;br /&gt;
            this.grpNone.Size = new System.Drawing.Size(344, 85);&lt;br /&gt;
            this.grpNone.TabIndex = 5;&lt;br /&gt;
            this.grpNone.TabStop = false;&lt;br /&gt;
            this.grpNone.Text = &amp;quot;None&amp;quot;;&lt;br /&gt;
            // &lt;br /&gt;
            // picNone&lt;br /&gt;
            // &lt;br /&gt;
            this.picNone.Location = new System.Drawing.Point(8, 16);&lt;br /&gt;
            this.picNone.Name = &amp;quot;picNone&amp;quot;;&lt;br /&gt;
            this.picNone.Size = new System.Drawing.Size(328, 64);&lt;br /&gt;
            this.picNone.TabIndex = 0;&lt;br /&gt;
            this.picNone.TabStop = false;&lt;br /&gt;
            this.picNone.Paint += new System.Windows.Forms.PaintEventHandler(this.picNone_Paint);&lt;br /&gt;
            // &lt;br /&gt;
            // Smoothing&lt;br /&gt;
            // &lt;br /&gt;
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);&lt;br /&gt;
            this.ClientSize = new System.Drawing.Size(372, 374);&lt;br /&gt;
            this.Controls.AddRange(new System.Windows.Forms.Control[] {&lt;br /&gt;
                                                                          this.grpHighQuality,&lt;br /&gt;
                                                                          this.grpAntiAlias,&lt;br /&gt;
                                                                          this.grpHighSpeed,&lt;br /&gt;
                                                                          this.grpNone});&lt;br /&gt;
            this.Font = new System.Drawing.Font(&amp;quot;Tahoma&amp;quot;, 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));&lt;br /&gt;
            this.Name = &amp;quot;Smoothing&amp;quot;;&lt;br /&gt;
            this.Text = &amp;quot;Smoothing&amp;quot;;&lt;br /&gt;
            this.grpHighQuality.ResumeLayout(false);&lt;br /&gt;
            this.grpAntiAlias.ResumeLayout(false);&lt;br /&gt;
            this.grpHighSpeed.ResumeLayout(false);&lt;br /&gt;
            this.grpNone.ResumeLayout(false);&lt;br /&gt;
            this.ResumeLayout(false);&lt;br /&gt;
        }&lt;br /&gt;
        #endregion&lt;br /&gt;
        private void picNone_Paint(object sender, System.Windows.Forms.PaintEventArgs e)&lt;br /&gt;
        {&lt;br /&gt;
            DrawEllipse(e.Graphics);&lt;br /&gt;
        }&lt;br /&gt;
        private void picHighSpeed_Paint(object sender, System.Windows.Forms.PaintEventArgs e)&lt;br /&gt;
        {&lt;br /&gt;
            e.Graphics.SmoothingMode = SmoothingMode.HighSpeed;&lt;br /&gt;
            DrawEllipse(e.Graphics);&lt;br /&gt;
        }&lt;br /&gt;
        private void picAntialias_Paint(object sender, System.Windows.Forms.PaintEventArgs e)&lt;br /&gt;
        {&lt;br /&gt;
            e.Graphics.SmoothingMode = SmoothingMode.AntiAlias;&lt;br /&gt;
            DrawEllipse(e.Graphics);&lt;br /&gt;
        }&lt;br /&gt;
        private void picHighQuality_Paint(object sender, System.Windows.Forms.PaintEventArgs e)&lt;br /&gt;
        {&lt;br /&gt;
            e.Graphics.SmoothingMode = SmoothingMode.HighQuality;&lt;br /&gt;
            DrawEllipse(e.Graphics);&lt;br /&gt;
        }&lt;br /&gt;
        private void DrawEllipse(Graphics g)&lt;br /&gt;
        {&lt;br /&gt;
            Pen drawingPen = new Pen(Color.Red, 5);&lt;br /&gt;
            g.DrawEllipse(drawingPen, 10, 10, 300, 40);&lt;br /&gt;
        }&lt;br /&gt;
        [STAThread]&lt;br /&gt;
        static void Main() &lt;br /&gt;
        {&lt;br /&gt;
            Application.Run(new Smoothing());&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
           &lt;br /&gt;
       &amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>