Difference between revisions of "ColorToleranceSpeed"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> procedure ColorToleranceSpeed(x: Integer); </source> ==Availability== SCAR Divi 3.00 > Current ==Description== Changes the cur...")
 
(No difference)

Latest revision as of 16:18, 3 July 2011

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