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