Autor Beitrag
Sebastian R.
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 72
Erhaltene Danke: 1



BeitragVerfasst: So 12.03.06 17:16 
Hi Leute,
ich will mit Delphi eine analoge Uhr auf ein Canvas zeichnen. Das klappt auch relativ gut, aber ich mache das mit Canvas.LineTo. Nun möchte ich aber eigene Zeiger verwenden, die ich in Photoshop erstellt habe. Wie geht das?

MfG, Sebastian R.
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: So 12.03.06 17:18 
Theoretisch: Für jede Zeigerstellung ein anderes Image und dann immer das benötigte Image aus einer ImageList laden. Allerdings glaube ich, dass das rechenintensiver ist als Canvas.

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
Sebastian R. Threadstarter
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 72
Erhaltene Danke: 1



BeitragVerfasst: So 12.03.06 17:21 
Das ist ein bisschen umständlich oder?
Kann man nicht irgendwie ein Bild drehen?
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: So 12.03.06 17:27 
user profile iconSebastian R. hat folgendes geschrieben:
Das ist ein bisschen umständlich oder?

Allerdings :wink:

user profile iconSebastian R. hat folgendes geschrieben:
Kann man nicht irgendwie ein Bild drehen?

Guck mal hier:
www.delphi-forum.de/...rch.php?mode=results

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
Sebastian R. Threadstarter
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 72
Erhaltene Danke: 1



BeitragVerfasst: So 12.03.06 19:34 
Jap, werd ich machen!
Danniolo
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 693



BeitragVerfasst: So 12.03.06 19:44 
Hör nich auf Marco.. Keine Ahnung, aber ma auf die Suchfunktion verweisen.
Am besten benutzt du Grafics 32 dafür.
Ich glaub, damit kann man Bilder ganz gut darstellen und auch rotieren.
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5285
Erhaltene Danke: 29

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: So 12.03.06 20:08 
ich würde aber das orginal bild im speicher behalten und immer nur gedreht ausgeben, sonst kommt es zu rundungsfehlern und irgendwann sieht dein zeiger nichtmehr so aus wie vorher :P
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: So 12.03.06 21:32 
user profile iconDanniolo hat folgendes geschrieben:
Hör nich auf Marco.. Keine Ahnung, aber ma auf die Suchfunktion verweisen.
Am besten benutzt du Grafics 32 dafür.
Ich glaub, damit kann man Bilder ganz gut darstellen und auch rotieren.

Den Unterschied zwischen ph und f kennst du oder? :tongue:

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
Danniolo
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 693



BeitragVerfasst: So 12.03.06 22:42 
:P geh doch weg, du Streber :mrgreen: