×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jul 2010
    Posts
    4

    How to draw formula (math + chemistry), using canvas in javaME

    Hi everyone!
    I'm doing an application, to help students, can study Math, Physics, Chemistry, an easily mobile.

    However, now I'm having difficulties when drawing symbols.

    For example:

    H2SO4 + NaOH --> (Na)2SO4 + H2O

    --->Help me !!!!

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,569

    Re: How to draw formula (math + chemistry), using canvas in javaME

    Do you need to draw them, or could you just use bitmap symbols via a "custom font" approach?

    If the latter is enough, then take a look at these articles:

    http://wiki.forum.nokia.com/index.ph...e_custom_fonts

    http://developers.sun.com/mobility/m...termemulator3/

  3. #3
    Registered User
    Join Date
    Jul 2010
    Posts
    4

    Re: How to draw formula (math + chemistry), using canvas in javaME

    Quote Originally Posted by petrib View Post
    Do you need to draw them, or could you just use bitmap symbols via a "custom font" approach?

    If the latter is enough, then take a look at these articles:

    http://wiki.forum.nokia.com/index.ph...e_custom_fonts

    http://developers.sun.com/mobility/m...termemulator3/
    OK. Thank petrib !!!!

    But, i want draw superscript and subscript of a chemical formula.

    EX : http://vb2.upanh.com/thumbpic/21.973...Z0/1.700x0.jpg

    Help ME !!!!

    Thank all !!!

  4. #4
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Re: How to draw formula (math + chemistry), using canvas in javaME

    Quote Originally Posted by huuanh1987 View Post
    OK. Thank petrib !!!!

    But, i want draw superscript and subscript of a chemical formula.

    EX : http://vb2.upanh.com/thumbpic/21.973...Z0/1.700x0.jpg
    What do you mean by that?

    You need to add all the required symbols inside the image and then you need to read the same and draw it. Explain your question in much more details.
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

Similar Threads

  1. Replies: 2
    Last Post: 2009-08-17, 11:51
  2. Canvas: How to draw a Rect around an image?
    By ricardopcunha in forum Mobile Java General
    Replies: 2
    Last Post: 2009-02-10, 17:34
  3. How to draw a list box using draw method
    By Shweta.Hegde in forum Symbian
    Replies: 3
    Last Post: 2009-02-02, 13:15
  4. is it possible to draw a line over videocontrol in a canvas?
    By byronlilu in forum Mobile Java General
    Replies: 13
    Last Post: 2008-11-28, 11:58
  5. How to draw graphics on video Canvas
    By yaziaiwugui in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2007-08-23, 08:03

Posting Permissions

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