mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-07-10 01:05:55 +02:00
LCL/Graphics: Fix compilation issue of AggPas, BGRABitmap, ... after introduction of GradientFill in FPCanvas of FPC 3.3.1. Issue #41642.
This commit is contained in:
parent
2adbf891cc
commit
f9cc0dca29
@ -959,12 +959,21 @@ type
|
||||
EInvalidGraphic = class(EGraphicException);
|
||||
EInvalidGraphicOperation = class(EGraphicException);
|
||||
|
||||
{$IF FPC_FullVersion >= 30301}
|
||||
type
|
||||
TGradientDirection = FPCanvas.TFPGradientDirection;
|
||||
const
|
||||
gdVertical = FPCanvas.gdVertical;
|
||||
gdHorizontal = FPCanvas.gdHorizontal;
|
||||
{$ELSE}
|
||||
type
|
||||
TGradientDirection = (
|
||||
gdVertical, // Fill vertical
|
||||
gdHorizontal // Fill Horizontal
|
||||
);
|
||||
{$IFEND}
|
||||
|
||||
type
|
||||
TAntialiasingMode = (
|
||||
amDontCare, // default antialiasing
|
||||
amOn, // enabled
|
||||
|
Loading…
Reference in New Issue
Block a user