cigraphics / arduino-tvout

Automatically exported from code.google.com/p/arduino-tvout
0 stars 0 forks source link

Misleading comment in TVout.cpp! #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use of the method/call .draw_box. 

What is the expected output? What do you see instead?

- In the comments for the .draw_box method in TVout.cpp, the comments
says as follows:

"draw a box x1,y1 to x2,y2".

One would assume this means a box with top left corner in x1, y1 and a bottom 
right corner in x2, y2. This is how ever not enterily the case, 
as the parameters are x1, y1 (upper left corner) and x2 and y2 being
the width and the height of the box. After some debugging i found that I
interpreted the comment/method wrong.

What version of the product are you using? On what operating system?
- R5.91

Please provide any additional information below.
- Just wanted to inform you, so others don't get stuck with this method.
Otherwise... thanx alot for a solid and super library.

Original issue reported on code.google.com by the.incr...@gmail.com on 2 Aug 2010 at 2:24

GoogleCodeExporter commented 9 years ago
fixed this in the source

Original comment by mdmetzle...@gmail.com on 4 Aug 2010 at 3:00

GoogleCodeExporter commented 9 years ago

Original comment by mdmetzle@gmail.com on 17 Aug 2010 at 2:29

GoogleCodeExporter commented 9 years ago

Original comment by mdmetzle@gmail.com on 17 Sep 2010 at 4:01