C# Class Frost.DirectX.Painting.Painter

Inheritance: Frost.Painting.Painter, IDisposable
Show file Open project: fealty/Frost Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
Painter ( Factory factory2D, Device2D device2D, SharpDX.Direct2D1.Device device3D ) : System

Protected Methods

Method Description
OnBegin ( Canvas target, Retention retention ) : void
OnClear ( ) : void
OnClear ( Rectangle &region ) : void
OnEnd ( ) : void
OnFill ( Shape shape ) : void
OnFillRectangle ( Rectangle &rectangleRegion ) : void
OnFillRectangle ( Rectangle &rectangleRegion, Size &roundedRadius ) : void
OnResetState ( ) : void
OnRestoreState ( ) : void
OnSaveState ( ) : void
OnSetBrush ( Canvas source, Repetition extension ) : void
OnSetBrush ( Color color ) : void
OnSetBrush ( System.Point &linearGradientStart, System.Point &linearGradientEnd, Gradient gradient ) : void
OnSetBrush ( System.Point &radialGradientCenter, Size &radialGradientOffset, Size &radialGradientRadius, Gradient gradient ) : void
OnStroke ( Shape shape ) : void
OnStrokeLine ( System.Point &lineStart, System.Point &lineEnd ) : void
OnStrokeRectangle ( Rectangle &rectangleRegion ) : void
OnStrokeRectangle ( Rectangle &rectangleRegion, Size &roundedRadius ) : void

Private Methods

Method Description
Dispose ( bool disposing ) : void
Reconfigure ( ) : void
ReconfigureAntialiasing ( ) : void
ReconfigureBrush ( ) : void
ReconfigureStrokeStyle ( ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

OnBegin() protected method

protected OnBegin ( Canvas target, Retention retention ) : void
target Canvas
retention Retention
return void

OnClear() protected method

protected OnClear ( ) : void
return void

OnClear() protected method

protected OnClear ( Rectangle &region ) : void
region Rectangle
return void

OnEnd() protected method

protected OnEnd ( ) : void
return void

OnFill() protected method

protected OnFill ( Shape shape ) : void
shape Shape
return void

OnFillRectangle() protected method

protected OnFillRectangle ( Rectangle &rectangleRegion ) : void
rectangleRegion Rectangle
return void

OnFillRectangle() protected method

protected OnFillRectangle ( Rectangle &rectangleRegion, Size &roundedRadius ) : void
rectangleRegion Rectangle
roundedRadius Size
return void

OnResetState() protected method

protected OnResetState ( ) : void
return void

OnRestoreState() protected method

protected OnRestoreState ( ) : void
return void

OnSaveState() protected method

protected OnSaveState ( ) : void
return void

OnSetBrush() protected method

protected OnSetBrush ( Canvas source, Repetition extension ) : void
source Canvas
extension Repetition
return void

OnSetBrush() protected method

protected OnSetBrush ( Color color ) : void
color Color
return void

OnSetBrush() protected method

protected OnSetBrush ( System.Point &linearGradientStart, System.Point &linearGradientEnd, Gradient gradient ) : void
linearGradientStart System.Point
linearGradientEnd System.Point
gradient Gradient
return void

OnSetBrush() protected method

protected OnSetBrush ( System.Point &radialGradientCenter, Size &radialGradientOffset, Size &radialGradientRadius, Gradient gradient ) : void
radialGradientCenter System.Point
radialGradientOffset Size
radialGradientRadius Size
gradient Gradient
return void

OnStroke() protected method

protected OnStroke ( Shape shape ) : void
shape Shape
return void

OnStrokeLine() protected method

protected OnStrokeLine ( System.Point &lineStart, System.Point &lineEnd ) : void
lineStart System.Point
lineEnd System.Point
return void

OnStrokeRectangle() protected method

protected OnStrokeRectangle ( Rectangle &rectangleRegion ) : void
rectangleRegion Rectangle
return void

OnStrokeRectangle() protected method

protected OnStrokeRectangle ( Rectangle &rectangleRegion, Size &roundedRadius ) : void
rectangleRegion Rectangle
roundedRadius Size
return void

Painter() public method

public Painter ( Factory factory2D, Device2D device2D, SharpDX.Direct2D1.Device device3D ) : System
factory2D Factory
device2D Device2D
device3D SharpDX.Direct2D1.Device
return System