Delphi-PRAXiS
Seite 1 von 2  1 2      

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Win32/Win64 API (native code) (https://www.delphipraxis.net/17-win32-win64-api-native-code/)
-   -   Delphi Analog Clock (https://www.delphipraxis.net/128071-analog-clock.html)

Razor 23. Jan 2009 14:45


Analog Clock
 
Hello!

Well i got another problem and am sure it's been answered before also i searched the forum found nothing special.
My problem is that i'cant find a code to create a custom analog clock.With custom background and custom sticks.

An example how it should look

http://journals.tuxreports.com/lch/a...ghornClock.gif

Bernhard Geyer 23. Jan 2009 14:47

Re: Analog Clock
 
Google give you man links for Bei Google suchenanalog clock Delphi. And the first link also provide you with sourcecode.

Razor 23. Jan 2009 14:49

Re: Analog Clock
 
I've already done that and it didn't find nothing special.Plus i know its possible to make an analog clock via trigonometry but if someone knows how please post.

Sherlock 23. Jan 2009 15:01

Re: Analog Clock
 
I'm not sure what exactly is your problem. But calculating the dial is actually not that much of a mess. Consider the following link:
http://www.digitalcoding.com/program...al/tuteg18.htm

Sherlock

Dunkel 23. Jan 2009 15:01

Re: Analog Clock
 
Zitat:

Zitat von Razor
I've already done that and it didn't find nothing special.Plus i know its possible to make an analog clock via trigonometry but if someone knows how please post.

The second Google link provides a complete analog clock tutorial, inclusive trigometry. :roll:

Razor 23. Jan 2009 15:02

Re: Analog Clock
 
Liste der Anhänge anzeigen (Anzahl: 3)
Yes this is what i need but i need to move the png dial image and not canvas. :-D

Dunkel 23. Jan 2009 15:04

Re: Analog Clock
 
Zitat:

Zitat von Razor
Yes this is what i need but i need to move the png nible and not canvas. :-D

Then use some code for rotating the graphic and draw it.

Razor 23. Jan 2009 15:06

Re: Analog Clock
 
But its png and not bitmap i dont want to lose the transparency? :(

lbccaleb 23. Jan 2009 16:27

Re: Analog Clock
 
Emil Weiss has such a clock in his Hier im Forum suchennonVCL Skin-Engine!

Hope, this helps..

Razor 23. Jan 2009 16:28

Re: Analog Clock
 
It sure did!Thanks


Alle Zeitangaben in WEZ +1. Es ist jetzt 16:13 Uhr.
Seite 1 von 2  1 2      

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