Per queste immagini ho programmato in linguaggio C# / WPF che implementa e usa il logo.
Ho realizzato vari metodi, basati sulla Spirale di Archimede, è possibile assegnare come input parametri diversi: colore, filling ( valore boleano true or false), numero di cicli, angolo usato, punto iniziale sullo schermo ( "Panel" in WPF) centrale o random.
possibili parametri:
/// <summary>
///
/// </summary>
/// <param name="ripeti"></param>
/// <param name="tratto"></param>
/// <param name="scala"></param>
/// <param name="modalità"></param>
/// <param name="numpic"></param>
/// <param name="numpic2"></param>
/// <param name="numpic3"></param>
/// <param name="value_color"></param>
Lo stesso metodo con uso di geometrie vedi esempi.
esempi usando la classe: class System.
System.Windows.Media.CombinedGeometry
System.Windows.Media.EllipseGeometry
System.Windows.Media.GeometryGroup
System.Windows.Media.LineGeometry
System.Windows.Media.PathGeometry
System.Windows.Media.RectangleGeometry
System.Windows.Media.StreamGeometry
Geometry ellisse = new EllipseGeometry(new Rect(0, 0, 50, 50)); Cerchio
Geometry ellisse = new EllipseGeometry(new Rect(0, 0, 10, 50)); Ellisse
Geometry rectangle= new RettangleGeometry(new Rect(0, 0, 50, 50)); Quadrato
Geometry rectangle= new RettangleGeometry(new Rect(0, 0, 10, 50)); Rettangolo
















Nessun commento:
Posta un commento