AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Multimedia Delphi Windows GDI ArcTo: Tutorial
Thema durchsuchen
Ansicht
Themen-Optionen

Windows GDI ArcTo: Tutorial

Ein Thema von worker · begonnen am 17. Feb 2009 · letzter Beitrag vom 5. Feb 2013
 
worker
(Gast)

n/a Beiträge
 
#1

Windows GDI ArcTo: Tutorial

  Alt 17. Feb 2009, 14:57
Ja, genau: ich suche gleich ein ganzes Tutorial zu o.g. Funktion aus der GDI
Naja, eine ausführliche Erläuterung würde es auch tun.

Ziel: Ich möchte eine Kurve zeichnen (und kein AngleArc benutzen).
Ich breche mir hier gerade die Finger, da ich die Parameter nicht verstehe.

Zitat:
BOOL ArcTo(
HDC hdc, // handle to device context
int nLeftRect, // x-coord of rectangle's upper-left corner
int nTopRect, // y-coord of rectangle's upper-left corner
int nRightRect, // x-coord of rectangle's lower-right corner
int nBottomRect, // y-coord of rectangle's lower-right corner
int nXRadial1, // x-coord of first radial ending point
int nYRadial1, // y-coord of first radial ending point
int nXRadial2, // x-coord of second radial ending point
int nYRadial2 // y-coord of second radial ending point
);
hdc, nLeftRect, nTopRect, nRightRect und nBottomRect leuchten mir ein.
Bei nXRadial1, nYRadial1, nXRadial2 und nYRadial2 fehlt es mir irgendwie an geometrischem Vorstellungsvermögen, oder an was auch immer; ich blicke es jedenfalls nicht.

Kennt jemand eine Seite, die das Ganze veranschaulicht, möglichst grafisch?

Danke.
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 01:46 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz