| ... | ... |
@@ -678,27 +678,27 @@ |
| 678 | 678 |
|
| 679 | 679 |
{
|
| 680 | 680 |
os << "%%CreationDate: "; |
| 681 | 681 |
#ifndef WIN32 |
| 682 | 682 |
timeval tv; |
| 683 | 683 |
gettimeofday(&tv, 0); |
| 684 | 684 |
|
| 685 | 685 |
char cbuf[26]; |
| 686 | 686 |
ctime_r(&tv.tv_sec,cbuf); |
| 687 | 687 |
os << cbuf; |
| 688 | 688 |
#else |
| 689 | 689 |
os << bits::getWinFormattedDate(); |
| 690 |
os << std::endl; |
|
| 690 | 691 |
#endif |
| 691 | 692 |
} |
| 692 |
os << std::endl; |
|
| 693 | 693 |
|
| 694 | 694 |
if (_autoArcWidthScale) {
|
| 695 | 695 |
double max_w=0; |
| 696 | 696 |
for(ArcIt e(g);e!=INVALID;++e) |
| 697 | 697 |
max_w=std::max(double(_arcWidths[e]),max_w); |
| 698 | 698 |
if(max_w>EPSILON) {
|
| 699 | 699 |
_arcWidthScale/=max_w; |
| 700 | 700 |
} |
| 701 | 701 |
} |
| 702 | 702 |
|
| 703 | 703 |
if (_autoNodeScale) {
|
| 704 | 704 |
double max_s=0; |
0 comments (0 inline)