C# 클래스 D2DTestApp.Form1

상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: filipkunc/GLGraphics

공개 메소드들

메소드 설명
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