Lines Matching refs:Factor

457        $ScaleOk = FALSE; $Factor = 1;
466 $Scale1 = ( $this->VMax - $this->VMin ) / $Factor;
467 $Scale2 = ( $this->VMax - $this->VMin ) / $Factor / 2;
468 $Scale4 = ( $this->VMax - $this->VMin ) / $Factor / 4;
474 if ( $Scale2 > 1 ) { $Factor = $Factor * 10; }
475 if ( $Scale2 < 1 ) { $Factor = $Factor / 10; }
479 if ( floor($this->VMax / $Scale / $Factor) != $this->VMax / $Scale / $Factor)
481 $GridID = floor ( $this->VMax / $Scale / $Factor) + 1;
482 $this->VMax = $GridID * $Scale * $Factor;
486 if ( floor($this->VMin / $Scale / $Factor) != $this->VMin / $Scale / $Factor)
488 $GridID = floor( $this->VMin / $Scale / $Factor);
489 $this->VMin = $GridID * $Scale * $Factor;
674 $ScaleOk = FALSE; $Factor = 1;
683 $Scale1 = ( $this->VMax - $this->VMin ) / $Factor;
684 $Scale2 = ( $this->VMax - $this->VMin ) / $Factor / 2;
685 $Scale4 = ( $this->VMax - $this->VMin ) / $Factor / 4;
691 if ( $Scale2 > 1 ) { $Factor = $Factor * 10; }
692 if ( $Scale2 < 1 ) { $Factor = $Factor / 10; }
696 if ( floor($this->VMax / $Scale / $Factor) != $this->VMax / $Scale / $Factor)
698 $GridID = floor ( $this->VMax / $Scale / $Factor) + 1;
699 $this->VMax = $GridID * $Scale * $Factor;
703 if ( floor($this->VMin / $Scale / $Factor) != $this->VMin / $Scale / $Factor)
705 $GridID = floor( $this->VMin / $Scale / $Factor);
706 $this->VMin = $GridID * $Scale * $Factor;
781 $ScaleOk = FALSE; $Factor = 1;
790 $Scale1 = ( $this->VXMax - $this->VXMin ) / $Factor;
791 $Scale2 = ( $this->VXMax - $this->VXMin ) / $Factor / 2;
792 $Scale4 = ( $this->VXMax - $this->VXMin ) / $Factor / 4;
798 if ( $Scale2 > 1 ) { $Factor = $Factor * 10; }
799 if ( $Scale2 < 1 ) { $Factor = $Factor / 10; }
803 if ( floor($this->VXMax / $Scale / $Factor) != $this->VXMax / $Scale / $Factor)
805 $GridID = floor ( $this->VXMax / $Scale / $Factor) + 1;
806 $this->VXMax = $GridID * $Scale * $Factor;
810 if ( floor($this->VXMin / $Scale / $Factor) != $this->VXMin / $Scale / $Factor)
812 $GridID = floor( $this->VXMin / $Scale / $Factor);
813 $this->VXMin = $GridID * $Scale * $Factor;
3162 function AllocateColor($Picture,$R,$G,$B,$Factor=0) argument
3164 $R = $R + $Factor;
3165 $G = $G + $Factor;
3166 $B = $B + $Factor;