C# Class gInk.FormDisplay

Mostra file Open project: geovens/gInk Class Usage Examples

Public Properties

Property Type Description
Root Root
gOneStrokeCanvus Graphics
timer1 System.Windows.Forms.Timer

Public Methods

Method 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

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnPaint ( PaintEventArgs e ) : void

Private Methods

Method 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 method

public ClearCanvus ( ) : void
return void

ClearCanvus() public method

public ClearCanvus ( Graphics g ) : void
g Graphics
return void

Dispose() protected method

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

DrawButtons() public method

public DrawButtons ( Graphics g, bool redrawbuttons, bool exiting = false ) : void
g Graphics
redrawbuttons bool
exiting bool
return void

DrawButtons() public method

public DrawButtons ( bool redrawbuttons, bool exiting = false ) : void
redrawbuttons bool
exiting bool
return void

DrawSnapping() public method

public DrawSnapping ( Rectangle rect ) : void
rect Rectangle
return void

DrawStrokes() public method

public DrawStrokes ( ) : void
return void

DrawStrokes() public method

public DrawStrokes ( Graphics g ) : void
g Graphics
return void

FormDisplay() public method

public FormDisplay ( Root root ) : System
root Root
return System

L() public method

public L ( int i, int j ) : uint
i int
j int
return uint

Lnext() public method

public Lnext ( ) : uint
return uint

MoveStrokes() public method

public MoveStrokes ( int dy ) : void
dy int
return void

N1() public method

public N1 ( int i, int j ) : uint
i int
j int
return uint

N2() public method

public N2 ( int i, int j ) : uint
i int
j int
return uint

Nnext1() public method

public Nnext1 ( ) : uint
return uint

Nnext2() public method

public Nnext2 ( ) : uint
return uint

OnPaint() protected method

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
return void

SnapShot() public method

public SnapShot ( Rectangle rect ) : void
rect Rectangle
return void

Test() public method

public Test ( ) : int
return int

ToTopMostThrough() public method

public ToTopMostThrough ( ) : void
return void

UpdateFormDisplay() public method

public UpdateFormDisplay ( bool draw ) : void
draw bool
return void

Property Details

Root public_oe property

public Root,gInk Root
return Root

gOneStrokeCanvus public_oe property

public Graphics gOneStrokeCanvus
return Graphics

timer1 public_oe property

public System.Windows.Forms.Timer timer1
return System.Windows.Forms.Timer