ColorToleranceSpeed

From SCAR Divi Manual
Revision as of 17:18, 3 July 2011 by Freddy (talk | contribs) (Created page with "==Definition== <source lang="scar" lines="false"> procedure ColorToleranceSpeed(x: Integer); </source> ==Availability== SCAR Divi 3.00 > Current ==Description== Changes the cur...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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