mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-23 08:35:07 +03:00
libcamera: geometry: Correct the string representation of Rectangle
Change the string representation of class Rectangle from "(top x left)/width x height" to "(top, left)/width x height". Signed-off-by: Han-Lin Chen <hanlinchen@chromium.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
c730dc7479
commit
dc7fc90573
1 changed files with 1 additions and 1 deletions
|
@ -841,7 +841,7 @@ bool operator==(const Rectangle &lhs, const Rectangle &rhs)
|
|||
*/
|
||||
std::ostream &operator<<(std::ostream &out, const Rectangle &r)
|
||||
{
|
||||
out << "(" << r.x << "x" << r.y << ")/" << r.width << "x" << r.height;
|
||||
out << "(" << r.x << ", " << r.y << ")/" << r.width << "x" << r.height;
|
||||
return out;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue