| Diploma Thesis Percolation Simulation C++ Sourcecode Documentation |
#include <svg.h>
Collaboration diagram for graphics::svg:

Public Methods | |
| svg () | |
| void | setBody (string svgBody_) |
| void | append2Body (string element) |
| void | append2Body (shape element, bool fill, bool stroke, bool opac) |
| void | append2Body (std::list< shape * > &listofelements, bool fill, bool stroke, bool opac) |
| void | choose_header (int number) |
| void | choose_parameters (int number) |
| void | svg::write2file (string filename_) |
Private Attributes | |
| string | filename |
| string | xmlHeader |
| string | svgParameter |
| string | svgBody |
|
|
Definition at line 138 of file svg.h. References svgBody.
00138 {svgBody="";};
|
|
||||||||||||||||||||
|
Definition at line 154 of file svg.h. References svgBody.
|
|
||||||||||||||||||||
|
Definition at line 149 of file svg.h. References graphics::shape::svg(), and svgBody.
|
|
|
Definition at line 144 of file svg.h. References svgBody. Referenced by graphics::svg_circles(), and graphics::svg_test().
|
|
|
Definition at line 172 of file svg.h. References graphics::XML_HEADER_1, and xmlHeader. Referenced by graphics::svg_circles(), and graphics::svg_test().
00172 {
00173 switch(number){
00174 case 1:
00175 xmlHeader=XML_HEADER_1;
00176 break;
00177 }
00178 }
|
|
|
Definition at line 184 of file svg.h. References graphics::SVG_PARAMETER_0, graphics::SVG_PARAMETER_1, graphics::SVG_PARAMETER_2, and svgParameter. Referenced by graphics::svg_circles(), and graphics::svg_test().
00184 {
00185 switch(number){
00186 case 0:
00187 svgParameter=SVG_PARAMETER_0;
00188 break;
00189 case 1:
00190 svgParameter=SVG_PARAMETER_1;
00191 break;
00192 case 2:
00193 svgParameter=SVG_PARAMETER_2;
00194 break;
00195 }
00196 }
|
|
|
Definition at line 140 of file svg.h. References svgBody. Referenced by graphics::svg_circles(), and graphics::svg_test().
00140 {
00141 svgBody=svgBody_;
00142 }
|
|
|
|
|
|
|
|
|
Definition at line 126 of file svg.h. Referenced by append2Body(), setBody(), and svg(). |
|
|
Definition at line 125 of file svg.h. Referenced by choose_parameters(). |
|
|
Definition at line 124 of file svg.h. Referenced by choose_header(). |
| Diploma Thesis Sourcecode
Documentation check out the text and the executable binaries |