I am trying to display a Trig function.does anyone know what would be the 
API call to draw lets say the Sine wave.I am fairly new to this, this is 
what I thought of so far..

RectangleType r;
    FormPtr frm;
    double       x = 4.0;
    CharPtr    y;


y = sin(x);
        FrmGetObjectBounds(frm, FrmGetObjectIndex(frm, WaveSineGadget),&r);
        WinEraseRectangle(&r, 0);
        WinDrawRectangleFrame(simpleFrame, &r);
         WinDrawLine(y);

_________________________________________________________________
Join the world�s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to