C# Класс gInk.FormDisplay

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Root Root
gOneStrokeCanvus Graphics
timer1 System.Windows.Forms.Timer

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

Метод Описание
ClearCanvus ( ) : void
ClearCanvus ( Graphics g ) : void
DrawButtons ( Graphics g, bool redrawbuttons, bool exiting = false ) : void
DrawButtons ( bool redrawbuttons, bool exiting = false ) : void
DrawSnapping ( Rectangle rect ) : void
DrawStrokes ( ) : void
DrawStrokes ( Graphics g ) : void
FormDisplay ( Root root ) : System
L ( int i, int j ) : uint
Lnext ( ) : uint
MoveStrokes ( int dy ) : void
N1 ( int i, int j ) : uint
N2 ( int i, int j ) : uint
Nnext1 ( ) : uint
Nnext2 ( ) : uint
SnapShot ( Rectangle rect ) : void
Test ( ) : int
ToTopMostThrough ( ) : void
UpdateFormDisplay ( bool draw ) : void

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

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

Clean up any resources being used.

OnPaint ( PaintEventArgs e ) : void

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

Метод Описание
BitBlt ( IntPtr hdcDest, int nXDest, int nYDest, int nWidth, int nHeight, IntPtr hdcSrc, int nXSrc, int nYSrc, uint dwRop ) : bool
CreateCompatibleDC ( [ hdc ) : IntPtr
DeleteDC ( [ hdc ) : bool
DeleteObject ( [ hObject ) : bool
FormDisplay_FormClosed ( object sender, FormClosedEventArgs e ) : void
GetBitmapBits ( IntPtr hbmp, int cbBuffer, [ lpvBits ) : int
GetDC ( IntPtr hWnd ) : IntPtr
GetDeviceCaps ( IntPtr hdc, int nIndex ) : int
GetPixel ( IntPtr hdc, int nXPos, int nYPos ) : uint
GetWindowLong ( IntPtr hWnd, int nIndex ) : UInt32
InitializeComponent ( ) : void

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

ReleaseDC ( IntPtr hWnd, IntPtr hDC ) : bool
SelectObject ( [ hdc, [ hgdiobj ) : IntPtr
SetLayeredWindowAttributes ( IntPtr hwnd, uint crKey, byte bAlpha, uint dwFlags ) : bool
SetWindowLong ( IntPtr hWnd, int nIndex, UInt32 dwNewLong ) : int
SetWindowPos ( IntPtr hWnd, IntPtr hWndInsertAfter, int X, int Y, int cx, int cy, uint uFlags ) : bool
StretchBlt ( IntPtr hdcDest, int nXDest, int nYDest, int nWidth, int nHeight, IntPtr hdcSrc, int nXSrc, int nYSrc, int nWidthSrc, int nHeightSrc, long dwRop ) : bool
UpdateLayeredWindow ( IntPtr hwnd, IntPtr hdcDst, Point &pptDst, Size &psize, IntPtr hdcSrc, Point &pptSrc, uint crKey, [ pblend, uint dwFlags ) : bool
memcpy ( IntPtr dest, IntPtr src, int count ) : IntPtr
timer1_Tick ( object sender, EventArgs e ) : void

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

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

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

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

public ClearCanvus ( Graphics g ) : void
g Graphics
Результат void

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

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

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

public DrawButtons ( Graphics g, bool redrawbuttons, bool exiting = false ) : void
g Graphics
redrawbuttons bool
exiting bool
Результат void

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

public DrawButtons ( bool redrawbuttons, bool exiting = false ) : void
redrawbuttons bool
exiting bool
Результат void

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

public DrawSnapping ( Rectangle rect ) : void
rect Rectangle
Результат void

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

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

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

public DrawStrokes ( Graphics g ) : void
g Graphics
Результат void

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

public FormDisplay ( Root root ) : System
root Root
Результат System

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

public L ( int i, int j ) : uint
i int
j int
Результат uint

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

public Lnext ( ) : uint
Результат uint

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

public MoveStrokes ( int dy ) : void
dy int
Результат void

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

public N1 ( int i, int j ) : uint
i int
j int
Результат uint

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

public N2 ( int i, int j ) : uint
i int
j int
Результат uint

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

public Nnext1 ( ) : uint
Результат uint

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

public Nnext2 ( ) : uint
Результат uint

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

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

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

public SnapShot ( Rectangle rect ) : void
rect Rectangle
Результат void

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

public Test ( ) : int
Результат int

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

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

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

public UpdateFormDisplay ( bool draw ) : void
draw bool
Результат void

Описание свойств

Root публичное свойство

public Root,gInk Root
Результат Root

gOneStrokeCanvus публичное свойство

public Graphics gOneStrokeCanvus
Результат Graphics

timer1 публичное свойство

public System.Windows.Forms.Timer timer1
Результат System.Windows.Forms.Timer