mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-03 19:20:54 +01:00
TAChart: Implement clipping in BGRA drawing back-end
git-svn-id: trunk@30392 -
This commit is contained in:
parent
7c478b02f8
commit
bdbc5868d3
@ -30,6 +30,7 @@ type
|
||||
FBrushColor: TBGRAPixel;
|
||||
FBrushStyle: TFPBrushStyle;
|
||||
FCanvas: TBGRABitmap;
|
||||
FClipRect: TRect;
|
||||
FFontColor: TBGRAPixel;
|
||||
FFontOrientation: Integer;
|
||||
FPenColor: TBGRAPixel;
|
||||
@ -98,17 +99,18 @@ end;
|
||||
|
||||
procedure TBGRABitmapDrawer.ClippingStart(const AClipRect: TRect);
|
||||
begin
|
||||
Unused(AClipRect);
|
||||
FClipRect := AClipRect;
|
||||
ClippingStart;
|
||||
end;
|
||||
|
||||
procedure TBGRABitmapDrawer.ClippingStart;
|
||||
begin
|
||||
// NA
|
||||
FCanvas.ClipRect := FClipRect;
|
||||
end;
|
||||
|
||||
procedure TBGRABitmapDrawer.ClippingStop;
|
||||
begin
|
||||
// NA
|
||||
FCanvas.NoClip;
|
||||
end;
|
||||
|
||||
constructor TBGRABitmapDrawer.Create(ACanvas: TBGRABitmap);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user