Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 11 Feb 2004 02:16 PM by  mikee@logicpd.com
drawing lines
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages
michal.barmeir@mobileye.com
New Member
New Member
Posts:


--
08 Feb 2004 02:38 AM
    hi,
    I'm having problems drawing positive slope diagonal lines.
    I wrote:
    SWIM_WINDOW_T* pwin = (SWIM_WINDOW_T*)&window[0];
    swim_put_line (pwin, 10,10, 200, 300);//negative slope diagonal line
    swim_put_line (pwin, 10,10, 10, 300); //vertical line
    swim_put_line (pwin, 10,300, 200,10);//positive slope diagonal line
    swim_put_line (pwin, 10,300, 200,300);//horizontal line

    I get all lines but the positive slope one is drawn on the negative one i.e

    swim_put_line (pwin, 10,10, 200, 300);//negative slope diagonal line
    swim_put_line (pwin, 10,300, 200,10);//positive slope diagonal line
    are drawn as the same line.
    Any tips?
    Michal
    mikee@logicpd.com
    New Member
    New Member
    Posts:


    --
    11 Feb 2004 02:16 PM
    michalb,

    I'm not immeadiately recognizing the code you are using. Is it part of the Sharp Bluestreak library? If it is, you may have better luck hearing directly from one of their developers if you post on the Sharp forum located at: http://forums.sharpsma.com.

    If not, please post back here.

    Regards,
    --mikee
    You are not authorized to post a reply.