Skip to content

Misleading comment in TVout.cpp! #2

@GoogleCodeExporter

Description

@GoogleCodeExporter
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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions