C# Class LayoutFarm.UI.GdiPlus.GdiPlusCanvasViewport

Inheritance: CanvasViewport
显示文件 Open project: prepare/HTML-Renderer Class Usage Examples

Public Methods

Method Description
CanvasInvlidateArea ( Rectangle r ) : void
GdiPlusCanvasViewport ( RootGraphic rootgfx, Size viewportSize, int cachedPageNum ) : System
PaintMe ( IntPtr hdc ) : void
PaintMe ( MyGdiPlusCanvas mycanvas ) : void

Protected Methods

Method Description
CalculateCanvasPages ( ) : void
OnClosing ( ) : void
ResetQuadPages ( int viewportWidth, int viewportHeight ) : void

Method Details

CalculateCanvasPages() protected method

protected CalculateCanvasPages ( ) : void
return void

CanvasInvlidateArea() public method

public CanvasInvlidateArea ( Rectangle r ) : void
r PixelFarm.Drawing.Rectangle
return void

GdiPlusCanvasViewport() public method

public GdiPlusCanvasViewport ( RootGraphic rootgfx, Size viewportSize, int cachedPageNum ) : System
rootgfx RootGraphic
viewportSize PixelFarm.Drawing.Size
cachedPageNum int
return System

OnClosing() protected method

protected OnClosing ( ) : void
return void

PaintMe() public method

public PaintMe ( IntPtr hdc ) : void
hdc System.IntPtr
return void

PaintMe() public method

public PaintMe ( MyGdiPlusCanvas mycanvas ) : void
mycanvas PixelFarm.Drawing.WinGdi.MyGdiPlusCanvas
return void

ResetQuadPages() protected method

protected ResetQuadPages ( int viewportWidth, int viewportHeight ) : void
viewportWidth int
viewportHeight int
return void