×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Sep 2006
    Posts
    37

    Display vector image(jsr226) on top of canvas

    In jsr226, svg image rotates on its anchor point which is given by ScalableGraphics.render(). How to rotate image on its center, or customize any point as the center of the rotation? thus we can create something like clock cursor.

    Thank you in advance
    Last edited by SYTDeath; 2008-10-01 at 22:22.

  2. #2
    Registered User
    Join Date
    Sep 2006
    Posts
    37

    Re: Display vector image(jsr226) on top of canvas

    Solved, using SVGMatrix.mTranslate and SVGMatrix.mRotate!

Similar Threads

  1. Nokia N-Series Complete Model Line-Up
    By Dopod in forum General Development Questions
    Replies: 6
    Last Post: 2008-07-22, 20:16
  2. Changing Canvas on a Display?
    By cjohnstone in forum Mobile Java General
    Replies: 1
    Last Post: 2008-03-04, 00:26
  3. Faster way to display a Canvas ?
    By ziyaaf in forum Mobile Java General
    Replies: 1
    Last Post: 2008-02-18, 22:40
  4. How to create a partly transparent Canvas to lay on top of another Canvas?
    By mkleijer in forum Mobile Java Media (Graphics & Sounds)
    Replies: 4
    Last Post: 2007-05-22, 07:00

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •