mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 18:39:52 +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;
|
end;
|
||||||
|
|
||||||
procedure TFPVectorialDrawer.SetFont(AFont: TFPCustomFont);
|
procedure TFPVectorialDrawer.SetFont(AFont: TFPCustomFont);
|
||||||
var
|
|
||||||
angle: Integer;
|
|
||||||
begin
|
begin
|
||||||
angle := AFont.Orientation;
|
|
||||||
FFont.Name := AFont.Name;
|
FFont.Name := AFont.Name;
|
||||||
FFont.Size := IfThen(AFont.Size = 0, 10, AFont.Size);
|
FFont.Size := IfThen(AFont.Size = 0, 10, AFont.Size);
|
||||||
FFont.Color := AFont.FPColor;
|
FFont.Color := AFont.FPColor;
|
||||||
|
@ -346,7 +346,6 @@ procedure TMetafile.CopyToClipboard;
|
|||||||
// http://www.olivierlanglois.net/metafile-clipboard.html
|
// http://www.olivierlanglois.net/metafile-clipboard.html
|
||||||
var
|
var
|
||||||
Format: Word;
|
Format: Word;
|
||||||
Data: THandle;
|
|
||||||
begin
|
begin
|
||||||
if FImageHandle = 0 then exit;
|
if FImageHandle = 0 then exit;
|
||||||
|
|
||||||
@ -354,7 +353,7 @@ begin
|
|||||||
try
|
try
|
||||||
EmptyClipboard;
|
EmptyClipboard;
|
||||||
Format := CF_ENHMETAFILE;
|
Format := CF_ENHMETAFILE;
|
||||||
SetClipboardData(Format, FImageHandle); //Data);
|
SetClipboardData(Format, FImageHandle);
|
||||||
finally
|
finally
|
||||||
CloseClipboard;
|
CloseClipboard;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user