Diploma Thesis Percolation Simulation
C++ Sourcecode Documentation

www.AndreasKrueger.de/thesis/code

Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

graphics::circle Class Reference

#include <svg.h>

Inheritance diagram for graphics::circle:

Inheritance graph
[legend]
Collaboration diagram for graphics::circle:

Collaboration graph
[legend]
List of all members.

Public Methods

 circle ()
 circle (COORDFLOAT cx_, COORDFLOAT cy_, REAL r_)
 circle (COORDFLOAT cx_, COORDFLOAT cy_, REAL r_, RGBcolor fillcolor_, RGBcolor strokecolor_, REAL opacity_)
string svg (bool fill, bool stroke, bool opac)

Private Attributes

COORDFLOAT cx
COORDFLOAT cy
REAL r

Constructor & Destructor Documentation

graphics::circle::circle   [inline]
 

Definition at line 77 of file svg.h.

00077 {};

graphics::circle::circle COORDFLOAT    cx_,
COORDFLOAT    cy_,
REAL    r_
[inline]
 

Definition at line 78 of file svg.h.

References COORDFLOAT, cx, cy, r, and REAL.

00078 : cx(cx_), cy(cy_), r(r_) {};

graphics::circle::circle COORDFLOAT    cx_,
COORDFLOAT    cy_,
REAL    r_,
RGBcolor    fillcolor_,
RGBcolor    strokecolor_,
REAL    opacity_
 

Definition at line 83 of file svg.h.

References COORDFLOAT, and REAL.

00084                 : cx(cx_), cy(cy_), r(r_), shape(fillcolor_, strokecolor_, opacity_) {};


Member Function Documentation

string graphics::circle::svg bool    fill,
bool    stroke,
bool    opac
[virtual]
 

Reimplemented from graphics::shape.

Definition at line 86 of file svg.h.

References cx, cy, r, and graphics::shape::svgstyle().

00086                                                    {
00087         ostrstream temp;
00088         temp<<"<circle cx=\""<<cx<<"\" cy=\""<<cy<<"\" r=\""<<r<<"\" ";
00089         temp<<svgstyle(fill, stroke, opac);
00090         temp<<" />";
00091         temp <<'\0';
00092         return temp.str();
00093 }


Member Data Documentation

COORDFLOAT graphics::circle::cx [private]
 

Definition at line 73 of file svg.h.

Referenced by circle(), and svg().

COORDFLOAT graphics::circle::cy [private]
 

Definition at line 74 of file svg.h.

Referenced by circle(), and svg().

REAL graphics::circle::r [private]
 

Definition at line 75 of file svg.h.

Referenced by circle(), and svg().


The documentation for this class was generated from the following file:




Diploma Thesis Sourcecode Documentation
check out the text and the executable binaries

www.AndreasKrueger.de/thesis/code