Autor Beitrag
Ritzeratze
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 101



BeitragVerfasst: So 06.07.14 11:12 
Moin,

wenn ich einen Kreis von 100 Durchmesser und den Mittelpunkt an die Pos 200,200 zeichnen möchte,
dann lautet die Anweisung doch
ausblenden C#-Quelltext
1:
zeichenflaeche.DrawEllipse(stift, 200200100100);					

Gruss


Moderiert von user profile iconChristian S.: Topic aus Basistechnologien verschoben am So 06.07.2014 um 11:59
Moderiert von user profile iconTh69: C#-Tags hinzugefügt
Ralf Jansen
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 4708
Erhaltene Danke: 991


VS2010 Pro, VS2012 Pro, VS2013 Pro, VS2015 Pro, Delphi 7 Pro
BeitragVerfasst: So 06.07.14 11:17 
200,200 ist die linke obere Ecke eines gedachten umschließenden Rechtecks des Kreises nicht der Mittelpunkt.
Wenn du den Mittelpunkt bei 200,200 haben willst mußt du also x,y auf 150, 150 setzen (wenn ich nicht zu blöd zum umrechnen bin).
Ritzeratze Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 101



BeitragVerfasst: So 06.07.14 12:48 
Danke :-))