C# Class AddMaterials.View.Controls.FillPatternViewerControlWpf

Interaction logic for FillPatternViewerControlWpf.xaml
Inheritance: INotifyPropertyChanged
Datei anzeigen Open project: jeremytammik/AddMaterials

Public Properties

Property Type Description
FillPatternProperty System.Windows.DependencyProperty

Public Methods

Method Description
FillPatternViewerControlWpf ( ) : System
GetFillPattern ( DependencyObject obj ) : FillPattern
LineIntersectsRect ( System p1, System p2, Rectangle r ) : bool
LineIntersectsRect ( System.Drawing.Drawing2D.Matrix rayMatrix, Rectangle r ) : bool
Regenerate ( ) : void
SetFillPattern ( DependencyObject obj, FillPattern value ) : void

Protected Methods

Method Description
OnPropertyChanged ( string propertyName ) : void

Private Methods

Method Description
CreateFillPatternImage ( ) : void
DrawFillPattern ( Graphics g ) : void
GetDistance ( PointF point1, PointF point2 ) : double
LineIntersectsLine ( System l1p1, System l1p2, System l2p1, System l2p2 ) : bool
OnFillPatternChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
RadianToGradus ( double radian ) : double

Method Details

FillPatternViewerControlWpf() public method

public FillPatternViewerControlWpf ( ) : System
return System

GetFillPattern() public method

public GetFillPattern ( DependencyObject obj ) : FillPattern
obj System.Windows.DependencyObject
return FillPattern

LineIntersectsRect() public method

public LineIntersectsRect ( System p1, System p2, Rectangle r ) : bool
p1 System
p2 System
r System.Drawing.Rectangle
return bool

LineIntersectsRect() public method

public LineIntersectsRect ( System.Drawing.Drawing2D.Matrix rayMatrix, Rectangle r ) : bool
rayMatrix System.Drawing.Drawing2D.Matrix
r System.Drawing.Rectangle
return bool

OnPropertyChanged() protected method

protected OnPropertyChanged ( string propertyName ) : void
propertyName string
return void

Regenerate() public method

public Regenerate ( ) : void
return void

SetFillPattern() public method

public SetFillPattern ( DependencyObject obj, FillPattern value ) : void
obj System.Windows.DependencyObject
value FillPattern
return void

Property Details

FillPatternProperty public_oe static_oe property

public static DependencyProperty,System.Windows FillPatternProperty
return System.Windows.DependencyProperty