C# 클래스 ComponentFactory.Krypton.Toolkit.RenderContext

Encapsulates context for view render operations.
상속: ViewContext
파일 보기 프로젝트 열기: ComponentFactory/Krypton 1 사용 예제들

공개 메소드들

메소드 설명
GetAlignedRectangle ( PaletteRectangleAlign align, Rectangle local ) : Rectangle

Calculate a rectangle in control coodinates that is aligned for gradient drawing.

RenderContext ( Control control, Control alignControl, Graphics graphics, Rectangle clipRect, IRenderer renderer ) : System

Initialize a new instance of the ViewContext class.

RenderContext ( Control control, Graphics graphics, Rectangle clipRect, IRenderer renderer ) : System

Initialize a new instance of the ViewContext class.

RenderContext ( ViewManager manager, Control control, Control alignControl, Graphics graphics, Rectangle clipRect, IRenderer renderer ) : System

Initialize a new instance of the ViewContext class.

메소드 상세

GetAlignedRectangle() 공개 메소드

Calculate a rectangle in control coodinates that is aligned for gradient drawing.
public GetAlignedRectangle ( PaletteRectangleAlign align, Rectangle local ) : Rectangle
align PaletteRectangleAlign How to align the gradient.
local System.Drawing.Rectangle Rectangle of the local element.
리턴 System.Drawing.Rectangle

RenderContext() 공개 메소드

Initialize a new instance of the ViewContext class.
public RenderContext ( Control control, Control alignControl, Graphics graphics, Rectangle clipRect, IRenderer renderer ) : System
control System.Windows.Forms.Control Control associated with rendering.
alignControl System.Windows.Forms.Control Control used to align elements.
graphics System.Drawing.Graphics Graphics instance for drawing.
clipRect System.Drawing.Rectangle Rectangle that needs rendering.
renderer IRenderer Rendering provider.
리턴 System

RenderContext() 공개 메소드

Initialize a new instance of the ViewContext class.
public RenderContext ( Control control, Graphics graphics, Rectangle clipRect, IRenderer renderer ) : System
control System.Windows.Forms.Control Control associated with rendering.
graphics System.Drawing.Graphics Graphics instance for drawing.
clipRect System.Drawing.Rectangle Rectangle that needs rendering.
renderer IRenderer Rendering provider.
리턴 System

RenderContext() 공개 메소드

Initialize a new instance of the ViewContext class.
public RenderContext ( ViewManager manager, Control control, Control alignControl, Graphics graphics, Rectangle clipRect, IRenderer renderer ) : System
manager ViewManager Reference to the view manager.
control System.Windows.Forms.Control Control associated with rendering.
alignControl System.Windows.Forms.Control Control used to align elements.
graphics System.Drawing.Graphics Graphics instance for drawing.
clipRect System.Drawing.Rectangle Rectangle that needs rendering.
renderer IRenderer Rendering provider.
리턴 System