mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 13:17:18 +02:00
TaChart: fixed compilation.
git-svn-id: trunk@41789 -
This commit is contained in:
parent
be2e51e512
commit
e3f6e10c6b
@ -426,12 +426,12 @@ var
|
|||||||
// above approximately one million.
|
// above approximately one million.
|
||||||
// So, split long polylines into segments.
|
// So, split long polylines into segments.
|
||||||
function PolylineIsTooLong: Boolean; inline;
|
function PolylineIsTooLong: Boolean; inline;
|
||||||
const
|
|
||||||
// There is a trade-off between the call overhead for short serment and
|
// There is a trade-off between the call overhead for short serment and
|
||||||
// the above-mentioned inefficiency for long ones.
|
// the above-mentioned inefficiency for long ones.
|
||||||
// First value was selected by some experiments as "optimal enough" for
|
// First value was selected by some experiments as "optimal enough" for
|
||||||
// both affected platforms.
|
// both affected platforms.
|
||||||
{$IF defined(LCLWIN32) or defined(LCLGTK2)}
|
{$IF defined(LCLWIN32) or defined(LCLGTK2)}
|
||||||
|
const
|
||||||
MAX_LENGTH: array [Boolean] of Integer = (50000, 1000000);
|
MAX_LENGTH: array [Boolean] of Integer = (50000, 1000000);
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user