×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jan 2010
    Posts
    24

    Draw Text on Canvas at angle 90

    Is it possible to draw text on the canvas at 90 degrees. I have a canvas which i am displaying in fullscreen and want it to be used in landscape so i need to be able to draw text at 90 degree angle

  2. #2
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: Draw Text on Canvas at angle 90

    The easiest way to do this is to draw everything to an Image. For example, if your screen is 240x320, and you want to use it in landscape, then you create an Image of 320x240, and draw to that. Then you draw that image to the screen using drawRegion() with the appropriate transformation.

    Graham.

  3. #3
    Registered User
    Join Date
    Jan 2010
    Posts
    24

    Re: Draw Text on Canvas at angle 90

    thanks for the tip

Similar Threads

  1. Can we call text box from canvas
    By maneeshv6 in forum Mobile Java General
    Replies: 1
    Last Post: 2008-03-21, 04:45
  2. Display text on Canvas other than drawString
    By sengaste in forum Mobile Java General
    Replies: 1
    Last Post: 2003-04-15, 11:00
  3. Intercepting text draw events
    By spaceart in forum Symbian
    Replies: 0
    Last Post: 2003-02-11, 17:56
  4. Read Chinese Text file and Display Chinese on Canvas Problem?
    By goeast in forum Mobile Java General
    Replies: 4
    Last Post: 2002-09-18, 03:28
  5. How to draw a long text into multiline text??
    By titoliu in forum Symbian
    Replies: 1
    Last Post: 2002-08-09, 11:15

Posting Permissions

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