Board  0.9.2
Classes | Functions
Rect.h File Reference

@copyright This source code is part of the Board project, a C++ library whose purpose is to allow simple drawings in EPS, FIG or SVG files. Copyright (C) 2007 Sebastien Fourey http://foureys.users.greyc.fr/ More...

#include <iostream>
#include "board/Point.h"

Go to the source code of this file.

Classes

struct  LibBoard::Rect
 Struct representing a rectangle on the plane. More...
 

Functions

Rect LibBoard::operator|| (const Rect &rectA, const Rect &rectB)
 
Rect LibBoard::operator&& (const Rect &rectA, const Rect &rectB)
 
std::ostream & operator<< (std::ostream &out, const LibBoard::Rect &rect)
 

Detailed Description

@copyright This source code is part of the Board project, a C++ library whose purpose is to allow simple drawings in EPS, FIG or SVG files. Copyright (C) 2007 Sebastien Fourey http://foureys.users.greyc.fr/

Author
Sebastien Fourey (GREYC)
Date
Sat Aug 18 2007

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const LibBoard::Rect rect 
)

Stream output operator for Rect structure.

Parameters
outAn output stream.
rectA Rect struct.
Returns
The output stream.

References LibBoard::Rect::height, LibBoard::Rect::left, LibBoard::Rect::top, and LibBoard::Rect::width.