Search:

Type: Posts; User: gargamel7

Search: Search took 0.11 seconds.

  1. Replies
    24
    Views
    3,073

    Re: Drawing images with different angles

    As it is now, the hour-pointer is updated 1 degree every 120 s, the minute-pointer is updated 6 degrees every 60 s, and the second-pointer is updated 6 degrees every second.

    It should be able to...
  2. Replies
    24
    Views
    3,073

    Re: Drawing images with different angles

    Ok so hereīs a modified repost to clearify!

    Actually, (I noticed this now when running) the clock is not alright when the order of the calls is "correct", the minute-pointer's angle is not right...
  3. Replies
    24
    Views
    3,073

    Re: Drawing images with different angles

    You mean that I change the pRose to pHour for example? And why do you call them hands in the first place?
  4. Replies
    24
    Views
    3,073

    Re: Drawing images with different angles

    Yes, that sounds true.

    Actually, (I noticed this now when running) the clock is not alright when the order of the calls is "correct", the minute-pointer's angle is not right (the other pointer's...
  5. Replies
    24
    Views
    3,073

    Re: Drawing images with different angles

    Ok, thanks!



    What I see is that all the pointers get their initial angle. After 1 second when the second-pointer's position updates, all of the three pointers are updated just as the...
  6. Replies
    24
    Views
    3,073

    Re: Drawing images with different angles

    Could you please help me with how to code this, Iīm not sure how.
  7. Replies
    24
    Views
    3,073

    Re: Drawing images with different angles

    Thanks for all the help and tips you have given me. Iīve managed to fix it now, but thereīs one thing I really donīt understand.

    Everything works fine as it is coded now, but if I change the order...
  8. Replies
    24
    Views
    3,073

    Re: Drawing images with different angles

    The code I have is also rotating an image just the way I want, the problem is when painting multiple images with different getAngle()...
  9. Replies
    24
    Views
    3,073

    Re: Drawing images with different angles

    I donīt know how to do what you wanted me to try Kevin, but here is a try: (I know it wont compile, and I know itīs all wrong probably, but please tell me how to do it correctly).

    public void...
  10. Replies
    24
    Views
    3,073

    Re: Drawing images with different angles

    Thanks, but thatīs with just one image. Iīve managed to modify one picture myself but Iīm struggling modifying more than one pic in the same paint() method.
  11. Replies
    24
    Views
    3,073

    Re: Drawing images with different angles

    What tutorial? I donīt find it...
  12. Replies
    24
    Views
    3,073

    Drawing images with different angles

    Hello!

    Iīve got a problem when I try to paint my clock which consists of a wheel and three pointers in the shapes of different flowers (pink, weird, rose). The wheel is drawn as I want. And the...
Results 1 to 12 of 12