×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Apr 2005
    Posts
    162

    draw a mathematical function

    Hi Symbies,
    I want to draw some vector-graphics on the display. My ambition is to draw a wave by using a sinus-function (or cosinus, anyway). So what do you think could be the easiest way?

    Best regards
    Christian

  2. #2
    Regular Contributor
    Join Date
    Oct 2004
    Location
    india
    Posts
    306

    Re: draw a mathematical function

    hello,

    u can draw using this function,

    1.) get all the x,y points in this array dynamically---result of ur mathematicall funtion (sin/cosine).

    DrawPolygon(const CArrayFix<TPoint>* aPointList,TFillRule aFillRule=EAlternate);

  3. #3
    Regular Contributor
    Join Date
    Apr 2005
    Posts
    162

    Re: draw a mathematical function

    hello giridharn,
    thanks for your reply. sounds that it seems to be easy. i will try it.
    what do you think: could be possible to draw a lot of vectors (a constantly changing graphic) with a acceptable refresh rate?
    in fact i want to animate some waves and a ship as a real simple vectorgraphic. my targethandy is sx1 of siemens (cpu: 130 MHz, OMAp 310 of Texas Instruments).
    tell me your opinion.

    bless chris
    Last edited by chrishawaii; 2005-10-13 at 10:50.

Similar Threads

  1. error LNK2019: unresolved external symbol ???
    By wgarnett in forum Symbian
    Replies: 3
    Last Post: 2009-09-28, 06:53
  2. ShortMsgReceived - Delphi
    By qb_soft in forum PC Suite API and PC Connectivity SDK
    Replies: 9
    Last Post: 2008-06-22, 10:30
  3. Display a bitmap outside of a Draw function
    By mngassa in forum Symbian
    Replies: 5
    Last Post: 2003-09-26, 08:47
  4. Cannot compile SDK's examples for 7650 platform...
    By midletsoft in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2003-08-12, 19:11
  5. Problem with Nokia D211 Linux Drivers
    By fiveam in forum Multimodecards
    Replies: 1
    Last Post: 1970-01-01, 02: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
  •