×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Jul 2008
    Posts
    72

    getting the current x and y axis of the image

    hello friends

    I have a image drawn in canvas, its of size 600* 400, i have to view the whole image by scrolling. I have written a code to scroll the image, but while doing so i have to track the center coordinates of the image, where I am at currently. Is there a way to track that, I saw there is a function called getClipX() and getClipY(). But that doesn't work.

    Looking for some help.

    Thanks

  2. #2
    Nokia Developer Champion
    Join Date
    Sep 2007
    Posts
    915

    Re: getting the current x and y axis of the image

    If you have image's height and width and the beginning and end coordinate then you can do it. In you scrool code there should be some mechanism using which you are doing scrolling try to track that change and calculate it. You will get surely.

  3. #3
    Regular Contributor
    Join Date
    Jul 2008
    Posts
    72

    Re: getting the current x and y axis of the image

    hello

    I am asking is there any functions to do so?? Yes of course I can calculate that manually, but my concern was if there is any built in functions to do or not?

    Thanks

  4. #4
    Nokia Developer Champion
    Join Date
    Sep 2007
    Posts
    915

    Re: getting the current x and y axis of the image

    I read the API document and i could not find any method so i do not think it is possible through any function.

Similar Threads

  1. Cannot create sis package?
    By gomcoite in forum Themes/Carbide.ui
    Replies: 4
    Last Post: 2008-09-27, 17:54
  2. Error in packaging process :(
    By a-eqla3 in forum Themes/Carbide.ui
    Replies: 2
    Last Post: 2008-07-30, 22:03
  3. Error in packaging process :(
    By a-eqla3 in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2008-07-24, 20:33
  4. ERROR IN CREATING THEME
    By ssmantri in forum Themes/Carbide.ui
    Replies: 5
    Last Post: 2008-05-29, 20:58
  5. how to cut some part of Image
    By mshouab in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2006-08-04, 09:05

Posting Permissions

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