[system] / trunk / pg / lib / Fun.pm Repository:
ViewVC logotype

Diff of /trunk/pg/lib/Fun.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1094 Revision 1333
304 $x=&{$self->x_rule}( $t );; 304 $x=&{$self->x_rule}( $t );;
305 $y=&{$self->y_rule}( $t ); 305 $y=&{$self->y_rule}( $t );
306# Points where the function were not defined were not being handled 306# Points where the function were not defined were not being handled
307# gracefully. They would come as blank y values, which would ultimately 307# gracefully. They would come as blank y values, which would ultimately
308# trigger errors downstream unless y was undefined. 308# trigger errors downstream unless y was undefined.
309 if($y eq "") { $y = undef; } 309 if(defined($y) and $y eq "") { $y = undef; }
310 if (defined($x) && defined($x_prev) && defined($y) && defined($y_prev) ) { 310 if (defined($x) && defined($x_prev) && defined($y) && defined($y_prev) ) {
311 $g->lineTo($x, $y, gdBrushed); 311 $g->lineTo($x, $y, gdBrushed);
312 } else { 312 } else {
313 $g->moveTo($x, $y) if defined($x) && defined($y); 313 $g->moveTo($x, $y) if defined($x) && defined($y);
314 } 314 }

Legend:
Removed from v.1094  
changed lines
  Added in v.1333

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9