C# Класс D2DTestApp.Form1

Наследование: System.Windows.Forms.Form
Показать файл Открыть проект

Открытые методы

Метод Описание
CreateRoundedRectanglePath ( RectangleF rect, int cornerRadius ) : GraphicsPath
Downsample ( IList points, float minDistanceX ) : List
DrawGrid ( Graphics g, Pen pen, RectangleF rect, float step ) : void
DrawMillimeterGridInPixels ( IGraphics g, Rectangle rectPx ) : void
Form1 ( ) : System
ResetMillimeterGrid ( ) : void

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

Приватные методы

Метод Описание
AutomaticTest ( object userState ) : void
CreateMillimiterGridBrush ( Dpi dpi ) : void
DoTestAntialiasing ( bool antialiasing ) : void
Draw ( IGraphics g, DrawingMode mode ) : void
DrawLines ( IGraphics g, List points, DrawingMode mode ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

buttonRunAutomaticTest_Click ( object sender, EventArgs e ) : void
panelD2DHW_PaintCanvas ( object sender, D2DView e ) : void
panelD2DSW_PaintCanvas ( object sender, D2DView e ) : void
panelGL_PaintCanvas ( object sender, GLWrapper e ) : void
panelGdi32_Paint ( object sender, PaintEventArgs e ) : void
panelGdipDrawLines_Paint ( object sender, PaintEventArgs e ) : void
panelGdipForDrawLine_Paint ( object sender, PaintEventArgs e ) : void
timer1_Tick ( object sender, EventArgs e ) : void

Описание методов

CreateRoundedRectanglePath() публичный статический Метод

public static CreateRoundedRectanglePath ( RectangleF rect, int cornerRadius ) : GraphicsPath
rect System.Drawing.RectangleF
cornerRadius int
Результат System.Drawing.Drawing2D.GraphicsPath

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

Downsample() публичный статический Метод

public static Downsample ( IList points, float minDistanceX ) : List
points IList
minDistanceX float
Результат List

DrawGrid() публичный статический Метод

public static DrawGrid ( Graphics g, Pen pen, RectangleF rect, float step ) : void
g System.Drawing.Graphics
pen System.Drawing.Pen
rect System.Drawing.RectangleF
step float
Результат void

DrawMillimeterGridInPixels() публичный статический Метод

public static DrawMillimeterGridInPixels ( IGraphics g, Rectangle rectPx ) : void
g IGraphics
rectPx System.Drawing.Rectangle
Результат void

Form1() публичный Метод

public Form1 ( ) : System
Результат System

ResetMillimeterGrid() публичный статический Метод

public static ResetMillimeterGrid ( ) : void
Результат void