Lines Matching refs:Scale
631 $this->calculateScales($Scale, $Divisions);
636 if($Scale == 1 && $Divisions % 2 == 1)
1366 * Linearly Scale a given value
3206 public function calculateScales(& $Scale, & $Divisions) {
3220 $Scale = 1;
3230 $Scale = 1;
3235 $Scale = 2;
3247 if(floor($this->VMax / $Scale / $Factor) != $this->VMax / $Scale / $Factor) {
3248 $GridID = floor($this->VMax / $Scale / $Factor) + 1;
3249 $this->VMax = $GridID * $Scale * $Factor;
3253 if(floor($this->VMin / $Scale / $Factor) != $this->VMin / $Scale / $Factor) {
3254 $GridID = floor($this->VMin / $Scale / $Factor);
3255 $this->VMin = $GridID * $Scale * $Factor;
3259 $Scale = 1;
3272 $Scale = 1;
3301 $Scale = 1;
3306 $Scale = 2;
3318 if(floor($maxVal / $Scale / $Factor) != $maxVal / $Scale / $Factor) {
3319 $GridID = floor($maxVal / $Scale / $Factor) + 1;
3320 $maxVal = $GridID * $Scale * $Factor;
3324 if(floor($minVal / $Scale / $Factor) != $minVal / $Scale / $Factor) {
3325 $GridID = floor($minVal / $Scale / $Factor);
3326 $minVal = $GridID * $Scale * $Factor;