C# Class gInk.FormDisplay

Afficher le fichier Open project: geovens/gInk Class Usage Examples

Méthodes publiques

Свойство Type Description
Root Root
gOneStrokeCanvus Graphics
timer1 System.Windows.Forms.Timer

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnPaint ( PaintEventArgs e ) : void

Private Methods

Méthode Description
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

Method Details

ClearCanvus() public méthode

public ClearCanvus ( ) : void
Résultat void

ClearCanvus() public méthode

public ClearCanvus ( Graphics g ) : void
g Graphics
Résultat void

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Résultat void

DrawButtons() public méthode

public DrawButtons ( Graphics g, bool redrawbuttons, bool exiting = false ) : void
g Graphics
redrawbuttons bool
exiting bool
Résultat void

DrawButtons() public méthode

public DrawButtons ( bool redrawbuttons, bool exiting = false ) : void
redrawbuttons bool
exiting bool
Résultat void

DrawSnapping() public méthode

public DrawSnapping ( Rectangle rect ) : void
rect Rectangle
Résultat void

DrawStrokes() public méthode

public DrawStrokes ( ) : void
Résultat void

DrawStrokes() public méthode

public DrawStrokes ( Graphics g ) : void
g Graphics
Résultat void

FormDisplay() public méthode

public FormDisplay ( Root root ) : System
root Root
Résultat System

L() public méthode

public L ( int i, int j ) : uint
i int
j int
Résultat uint

Lnext() public méthode

public Lnext ( ) : uint
Résultat uint

MoveStrokes() public méthode

public MoveStrokes ( int dy ) : void
dy int
Résultat void

N1() public méthode

public N1 ( int i, int j ) : uint
i int
j int
Résultat uint

N2() public méthode

public N2 ( int i, int j ) : uint
i int
j int
Résultat uint

Nnext1() public méthode

public Nnext1 ( ) : uint
Résultat uint

Nnext2() public méthode

public Nnext2 ( ) : uint
Résultat uint

OnPaint() protected méthode

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
Résultat void

SnapShot() public méthode

public SnapShot ( Rectangle rect ) : void
rect Rectangle
Résultat void

Test() public méthode

public Test ( ) : int
Résultat int

ToTopMostThrough() public méthode

public ToTopMostThrough ( ) : void
Résultat void

UpdateFormDisplay() public méthode

public UpdateFormDisplay ( bool draw ) : void
draw bool
Résultat void

Property Details

Root public_oe property

public Root,gInk Root
Résultat Root

gOneStrokeCanvus public_oe property

public Graphics gOneStrokeCanvus
Résultat Graphics

timer1 public_oe property

public System.Windows.Forms.Timer timer1
Résultat System.Windows.Forms.Timer