mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-03 06:18:20 +02:00
TAChart: Less hints
git-svn-id: trunk@54096 -
This commit is contained in:
parent
a8d39ca0bf
commit
d358020cf0
@ -331,10 +331,7 @@ begin
|
||||
end;
|
||||
|
||||
procedure TFPVectorialDrawer.SetFont(AFont: TFPCustomFont);
|
||||
var
|
||||
angle: Integer;
|
||||
begin
|
||||
angle := AFont.Orientation;
|
||||
FFont.Name := AFont.Name;
|
||||
FFont.Size := IfThen(AFont.Size = 0, 10, AFont.Size);
|
||||
FFont.Color := AFont.FPColor;
|
||||
|
@ -346,7 +346,6 @@ procedure TMetafile.CopyToClipboard;
|
||||
// http://www.olivierlanglois.net/metafile-clipboard.html
|
||||
var
|
||||
Format: Word;
|
||||
Data: THandle;
|
||||
begin
|
||||
if FImageHandle = 0 then exit;
|
||||
|
||||
@ -354,7 +353,7 @@ begin
|
||||
try
|
||||
EmptyClipboard;
|
||||
Format := CF_ENHMETAFILE;
|
||||
SetClipboardData(Format, FImageHandle); //Data);
|
||||
SetClipboardData(Format, FImageHandle);
|
||||
finally
|
||||
CloseClipboard;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user