Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Object-Pascal / Delphi-Language (https://www.delphipraxis.net/32-object-pascal-delphi-language/)
-   -   Delphi Graph zeichnen (https://www.delphipraxis.net/124989-graph-zeichnen.html)

Medium 28. Nov 2008 15:44

Re: Graph zeichnen
 
Weniger Microsoft, als die Hersteller der ersten Röhrenmonitore. Die beginnen nämlich mit der ersten Zeile oben im Bild, und die hat traditionsgemäß den Index 0. Es ist überall in der Computerwelt so Standard, wobei es natürlich ein leichtes ist sich das umzumodeln (maxY-Ywert).

Noedel 28. Nov 2008 15:45

Re: Graph zeichnen
 
nochmal : ich zeichne es dir sogar auf ;)
also das ist dein bild oder canvas oder was auch immer


A______________________B
________________________
________________________
________________________
____________C___________
________________________
________________________
________________________
D______________________E


A = Position ( 0 | 0 )
B = Position ( Form1.Width | 0 )
C = Position ( Form1.Width Div 2 | Form1.Height div 2 )
D = Position ( 0 | Form1.Height )
E = Position ( Form1.Width | Form1.Height )

Medium 28. Nov 2008 15:47

Re: Graph zeichnen
 
Code:
------------------------
IA                   BI
I                     I
I                     I
I                     I
I          C         I
I                     I
I                     I
I                     I
ID                   EI
------------------------

A = Position ( 0 | 0 )
B = Position ( Form1.Width | 0 )
C = Position ( Form1.Width Div 2 | Form1.Height div 2 )
D = Position ( 0 | Form1.Height )
E = Position ( Form1.Width | Form1.Height )[/quote]
fixed :)

Noedel 28. Nov 2008 15:50

Re: Graph zeichnen
 
danke ;) habs editiert


Alle Zeitangaben in WEZ +1. Es ist jetzt 06:32 Uhr.
Seite 2 von 2     12   

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