ColorToleranceSpeed

From SCAR Divi Manual
Jump to: navigation, search

Definition

procedure ColorToleranceSpeed(x: Integer);

Availability

SCAR Divi 3.00 > Current

Description

Changes the currently active tolerance algorithm to one associated with the entered value.

Example

begin
  ColorToleranceSpeed(0);
  WriteLn(GetTolerance(125, 300));
  ColorToleranceSpeed(1);
  WriteLn(GetTolerance(125, 300));
  ColorToleranceSpeed(2);
  WriteLn(GetTolerance(125, 300));
  ColorToleranceSpeed(3);
  WriteLn(GetTolerance(125, 300));
end.

Output:

81
82
16
5

See Also