Deke Posted January 23, 2011 Report Share Posted January 23, 2011 Hi, In my app I use Draw Line to display a Profile of 101 points, I draw a line from one point to next, and this can vary from point 1 to point 2 or all the way from point 0 to point 100. Attached is draw line function example showing that a single diagonal line will not draw from one corner to the other. Is this something that could be fixed in the firmware? Thanks, Deke Link to comment Share on other sites More sharing options...
Stein Yair Posted January 24, 2011 Report Share Posted January 24, 2011 We are checking into it. Link to comment Share on other sites More sharing options...
Stein Yair Posted February 13, 2011 Report Share Posted February 13, 2011 Hi, Unfortunately, at the moment the DrawLine utility is defined to draw a maximum length of 256 POINTS, while the line is diagonal. Link to comment Share on other sites More sharing options...
Deke Posted February 15, 2011 Author Report Share Posted February 15, 2011 Hi, Unfortunately, at the moment the DrawLine utility is defined to draw a maximum length of 256 POINTS, while the line is diagonal. Hi Stein Yair, Actually the number of pixels that it decides to draw must have to do with some screwed up math function, attached you will see another example of how the drawline function performs on diagonal lines. Now in my last example it showed that you could draw as many horizontal or vertical lines as you wanted all within a single scan, if I was to try to do that on diagonal lines it would only draw about 5 lines and then it would stop drawing, if you need a an example of this I could make one. In the attached program I draw lines starting form the upper left corner points 0,0 (x,y) and try to draw all the way over the the end of the display 799 (800 pixels wide), for some strange reason it does not want to draw lines into the "monolith" area? Thanks, Deke Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now