×

Discussion Board

Results 1 to 4 of 4

Thread: Curve Lines

  1. #1
    Registered User
    Join Date
    Oct 2004
    Posts
    17

    Question Curve Lines

    Hello,

    Is there a way to draw a curve line in MIDP?

    Of course there are a lot of algorithms to draw a curve but they involve floating point computation. Floating point is only supported in CLDC1.1, I am only using CLDC1.0. Is there a way to get around this?

    Thanks!

  2. #2
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,429

    Re: Curve Lines

    Will drawPolygon() be of some use to you ?

    Regards
    Gopal

  3. #3
    Registered User
    Join Date
    Mar 2006
    Posts
    1

    Re: Curve Lines

    You could also implement or adapt a curve drawing algorithm using fixed-point math instead of floating point. Any custom drawing code is not going to be particularly fast in Java/J2ME however so it may not be suitable for real-time.

  4. #4
    Registered User
    Join Date
    Oct 2004
    Posts
    17

    Re: Curve Lines

    Hi jamesk4321,

    Thanks. I am trying to use bezier curve.

Similar Threads

  1. Replies: 10
    Last Post: 2012-01-05, 05:15
  2. List box - Series 80 - icon + text + double lines
    By k e k s in forum Symbian User Interface
    Replies: 1
    Last Post: 2007-01-02, 10:49
  3. Draw lines into EDWIN like in SMS app
    By stenlik in forum Symbian User Interface
    Replies: 6
    Last Post: 2006-11-30, 09:04
  4. How to implement Bezier Curve ?
    By gauravgandhi80 in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2004-06-22, 07:08
  5. Nokia 3650 (series 60) question about lines and calls..
    By royashok in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2003-06-16, 18:16

Posting Permissions

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