Rectangle Class Reference

#include <Rectangle.hpp>

Inheritance diagram for Rectangle:

Inheritance graph
[legend]
Collaboration diagram for Rectangle:

Collaboration graph
[legend]
List of all members.

Detailed Description

This class defines a simple rectangle.

The rectangle can have a user defined appearance, specified using a StrokeStyle.

Definition at line 43 of file Rectangle.hpp.

Public Member Functions

 Rectangle (double ix1, double iy1, double ix2, double iy2)
 Constructor.
 Rectangle (double ix1, double iy1, double ix2, double iy2, const StrokeStyle &istyle)
 Constructor.
 Rectangle (double ix1, double iy1, double ix2, double iy2, const StrokeStyle &istyle, const Color &ifillcolor)
 Constructor.
 Rectangle (double ix1, double iy1, double ix2, double iy2, const Color &ifillcolor)
 Constructor.

Public Attributes

double x1
 X coordinate of first corner.
double y1
 Y coordinate of first corner.
double x2
 X coordinate of opposite corner.
double y2
 Y coordinate of opposite corner.


Constructor & Destructor Documentation

Rectangle double  ix1,
double  iy1,
double  ix2,
double  iy2
[inline]
 

Constructor.

Defines the rectangle by two opposite points.

Parameters:
ix1 x coordinate of first corner
iy1 y coordinate of first corner
ix2 x coordinate of opposite corner
iy2 y coordinate of opposite corner

Definition at line 66 of file Rectangle.hpp.

References x1, x2, y1, and y2.

Rectangle double  ix1,
double  iy1,
double  ix2,
double  iy2,
const StrokeStyle istyle
[inline]
 

Constructor.

Defines the rectangle by two opposite points and its appearance.

Parameters:
ix1 x coordinate of first corner
iy1 y coordinate of first corner
ix2 x coordinate of opposite corner
iy2 y coordinate of opposite corner
istyle appearance of the stroke

Definition at line 79 of file Rectangle.hpp.

References x1, x2, y1, and y2.

Rectangle double  ix1,
double  iy1,
double  ix2,
double  iy2,
const StrokeStyle istyle,
const Color ifillcolor
[inline]
 

Constructor.

Defines the rectangle by two opposite points and its appearance.

Parameters:
ix1 x coordinate of first corner
iy1 y coordinate of first corner
ix2 x coordinate of opposite corner
iy2 y coordinate of opposite corner
istyle appearance of the stroke
ifillcolor fill color of the rectangle

Definition at line 94 of file Rectangle.hpp.

References x1, x2, y1, and y2.

Rectangle double  ix1,
double  iy1,
double  ix2,
double  iy2,
const Color ifillcolor
[inline]
 

Constructor.

Defines the rectangle by two opposite points and its appearance.

Parameters:
ix1 x coordinate of first corner
iy1 y coordinate of first corner
ix2 x coordinate of opposite corner
iy2 y coordinate of opposite corner
ifillcolor fill color of the rectangle

Definition at line 108 of file Rectangle.hpp.

References x1, x2, y1, and y2.


Member Data Documentation

double x1
 

X coordinate of first corner.

Definition at line 48 of file Rectangle.hpp.

Referenced by SVGImage::rectangle(), Rectangle(), and PSImageBase::rectangle().

double x2
 

X coordinate of opposite corner.

Definition at line 54 of file Rectangle.hpp.

Referenced by SVGImage::rectangle(), Rectangle(), and PSImageBase::rectangle().

double y1
 

Y coordinate of first corner.

Definition at line 51 of file Rectangle.hpp.

Referenced by SVGImage::rectangle(), Rectangle(), and PSImageBase::rectangle().

double y2
 

Y coordinate of opposite corner.

Definition at line 57 of file Rectangle.hpp.

Referenced by SVGImage::rectangle(), Rectangle(), and PSImageBase::rectangle().


The documentation for this class was generated from the following file:
Generated on Sat May 18 03:31:33 2013 for GPS ToolKit Software Library by  doxygen 1.3.9.1