BoardLib::Group Struct Reference

A group of shapes. A group is basically a ShapeList except that when rendered in eithe an SVG of a FIG file is a true compound element. More...

#include <ShapeList.h>

Inheritance diagram for BoardLib::Group:

BoardLib::ShapeList BoardLib::Shape

List of all members.

Public Member Functions

 Group (int depth=-1)
 Group (const Group &other)
void flushPostscript (std::ostream &stream, const TransformEPS &transform) const
void flushFIG (std::ostream &stream, const TransformFIG &transform, std::map< Color, int > &colormap) const
void flushSVG (std::ostream &stream, const TransformSVG &transform) const
Groupoperator= (const Group &other)
Groupoperator<< (const Shape &shape)
Shapeclone () const


Detailed Description

A group of shapes. A group is basically a ShapeList except that when rendered in eithe an SVG of a FIG file is a true compound element.

The Group structure.


Member Function Documentation

void BoardLib::Group::flushPostscript ( std::ostream &  stream,
const TransformEPS transform 
) const [virtual]

Writes the EPS code of the shape in a stream according to a transform.

Parameters:
stream The output stream.
transform A 2D transform to be applied.

Reimplemented from BoardLib::ShapeList.

void BoardLib::Group::flushFIG ( std::ostream &  stream,
const TransformFIG transform,
std::map< Color, int > &  colormap 
) const [virtual]

Writes the FIG code of the shape in a stream according to a transform.

Parameters:
stream The output stream.
transform A 2D transform to be applied.

Reimplemented from BoardLib::ShapeList.

void BoardLib::Group::flushSVG ( std::ostream &  stream,
const TransformSVG transform 
) const [virtual]

Writes the SVG code of the shape in a stream according to a transform.

Parameters:
stream The output stream.
transform A 2D transform to be applied.

Reimplemented from BoardLib::ShapeList.

Shape * BoardLib::Group::clone (  )  const [virtual]

Return a copy of the shape.

Returns:

Reimplemented from BoardLib::ShapeList.


The documentation for this struct was generated from the following files:
Generated on Mon Dec 17 11:15:52 2007 for Board by  doxygen 1.5.3-20071008