About GDIPlus output to Bitmap

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
danielchart
Newbie
Newbie
Posts: 2
Joined: Tue Apr 06, 2004 4:00 am

About GDIPlus output to Bitmap

Post by danielchart » Sun Sep 13, 2009 1:53 am

Hi:

I just write a simple program.
It is fine to using GDIPlus to smooth te edge.
But when I add the red line code want to output to bitmap file.
Error happened.

procedure TForm1.Button1Click(Sender: TObject);
var g:TGDIPlusCanvas;
begin
g:=TGDIPlusCanvas.Create;
PieChart.Canvas:=g;
g.AntiAlias:=True;
g.AntiAliasText:=False;
PieChart.SaveToBitmapFile('B.bmp');
end;

procedure TForm1.FormCreate(Sender: TObject);
begin
Series1.FillSampleValues();
end;

danielchart
Newbie
Newbie
Posts: 2
Joined: Tue Apr 06, 2004 4:00 am

Re: About GDIPlus output to Bitmap

Post by danielchart » Sun Sep 13, 2009 1:57 am

Sorry, I forget to tell
I am using Teechart VCL 8.06 trial.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: About GDIPlus output to Bitmap

Post by Narcís » Mon Sep 14, 2009 9:24 am

Hi danielchart,

Thanks for reporting. I could reproduce the issue here and added it (TV52014405) to the defect list to be fixed for next releases.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply