Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi Fehler in einem Tutorial über Pfeil zeichnen ? (https://www.delphipraxis.net/118960-fehler-einem-tutorial-ueber-pfeil-zeichnen.html)

thomas2009 18. Aug 2008 16:50


Fehler in einem Tutorial über Pfeil zeichnen ?
 
Liste der Anhänge anzeigen (Anzahl: 1)
Hallo

ich habe das Tutorial getestet. Es ist aber Fehlerhaft und zwar
wenn ich versuche den Pfeil vertikal zu zeichnen
Das Problem liegt an Pfeil-Groesse
beim Vertikal zeichnen wird die Pfeil-Groesse immer etwa 15
d.h. egal wie viel ich eingebe, bleibt immer 15 !!!
Delphi-Quellcode:
    deltaX := 15 * Cos(B); // 15 is the length of the arrow
    deltaY := 15 * Sin(B);
Kann jemand mir helfen um den Fehler in Tutorial zu finden ?
Tutorial bein .swissdelphicenter :


Alle Zeitangaben in WEZ +1. Es ist jetzt 21:23 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz