| 107 | } |
| 108 | |
| 109 | void StatisticsType::setInitialState() |
| 110 | { |
| 111 | this->init.render = this->render; |
| 112 | this->init.alphaFactor = this->alphaFactor; |
| 113 | |
| 114 | this->init.renderValueData = this->renderValueData; |
| 115 | this->init.scaleValueToBlockSize = this->scaleValueToBlockSize; |
| 116 | this->init.colorMapper = this->colorMapper; |
| 117 | |
| 118 | this->init.renderVectorData = this->renderVectorData; |
| 119 | this->init.scaleVectorToZoom = this->scaleVectorToZoom; |
| 120 | this->init.vectorStyle = this->vectorStyle; |
| 121 | this->init.vectorScale = this->vectorScale; |
| 122 | this->init.mapVectorToColor = this->mapVectorToColor; |
| 123 | this->init.arrowHead = this->arrowHead; |
| 124 | |
| 125 | this->init.renderGrid = this->renderGrid; |
| 126 | this->init.gridStyle = this->gridStyle; |
| 127 | this->init.scaleGridToZoom = this->scaleGridToZoom; |
| 128 | } |
| 129 | |
| 130 | /* Save all the settings of the statistics type that have changed from the initial state |
| 131 | */ |
no outgoing calls
no test coverage detected