C# Класс MeshRenderer.Core.GDI.RenderControl

Renders a mesh using GDI.
Наследование: System.Windows.Forms.Control, IMeshRenderer
Показать файл Открыть проект

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

Метод Описание
HandleResize ( ) : void

Update graphics buffer and zoom after a resize.

Initialize ( ) : void

Initialize the graphics buffer (should be called in the forms load event).

RenderControl ( ) : System

Initializes a new instance of the RenderControl class.

SetData ( RenderData data ) : void

Updates the displayed input data.

Zoom ( float x, float y, int delta ) : void

Zoom to the given location.

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

Метод Описание
OnMouseClick ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs pe ) : void
OnPaintBackground ( PaintEventArgs pevent ) : void

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

Метод Описание
InitializeBuffer ( ) : void
Render ( ) : void

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

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

Update graphics buffer and zoom after a resize.
public HandleResize ( ) : void
Результат void

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

Initialize the graphics buffer (should be called in the forms load event).
public Initialize ( ) : void
Результат void

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

protected OnMouseClick ( MouseEventArgs e ) : void
e MouseEventArgs
Результат void

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

protected OnPaint ( PaintEventArgs pe ) : void
pe PaintEventArgs
Результат void

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

protected OnPaintBackground ( PaintEventArgs pevent ) : void
pevent PaintEventArgs
Результат void

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

Initializes a new instance of the RenderControl class.
public RenderControl ( ) : System
Результат System

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

Updates the displayed input data.
public SetData ( RenderData data ) : void
data RenderData
Результат void

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

Zoom to the given location.
public Zoom ( float x, float y, int delta ) : void
x float
y float
delta int Indicates whether to zoom in or out.
Результат void