Jump to content
MattyD

Big Analogue Clock

Recommended Posts

Digital clocks are ok and compact but there is nothing like and analog clock to let me know I'm late. :)

Nice job!

Share this post


Link to post
Share on other sites

Nice job, I've tried using the trig functions to offset text in GDI but it didn't quite work out. This looks perfect.

Share this post


Link to post
Share on other sites

Thanks Sidley :)

To be fair I did cheat a little bit with the text offset - changing the font size/type face may slightly throw the alignment.

By rights I probably should've used _GDIPlus_GraphicsMeasureString to find the measurements of the bounding box, then calculate an offset off that.

Matt

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...