Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: algorithm help -- how to label a clock

by wind (Priest)
on Jun 17, 2011 at 05:02 UTC ( #910074=note: print w/replies, xml ) Need Help??


in reply to algorithm help -- how to label a clock

Just use sin and cos to determine the Y and X centers of your labels respectively.

Then depending on the size of your labels, determine their position with respect to those points.

  • Comment on Re: algorithm help -- how to label a clock

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://910074]
help
Chatterbox?
[dazz]: Hi I have grabbed an image from an IP camera with Image::Grab. I then want to pass that image object to a subroutine where I do a read-only test on the image with Image:Magick.
[dazz]: How do I pass an image object to a subroutine and then apply a Image::Magick a read-only method to the image object???

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2017-03-27 07:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (317 votes). Check out past polls.