TcolorGridSeries: GDI & GDI+ difference

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
anauta2014
Newbie
Newbie
Posts: 48
Joined: Tue Apr 09, 2013 12:00 am

TcolorGridSeries: GDI & GDI+ difference

Post by anauta2014 » Mon Oct 21, 2013 7:56 am

Why TColorGridSeries has has great difference for GDI and GDI+ render?
This can be seen in attachments.
Attachments
GDI+Render.png
GDI+Render.png (76.82 KiB) Viewed 19245 times
GDI_Render.png
GDI_Render.png (4.15 KiB) Viewed 19227 times
With best regards
Vladimir

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TcolorGridSeries: GDI & GDI+ difference

Post by Yeray » Tue Oct 22, 2013 1:40 pm

Hello Vladimir,

Could you please arrange a simple example project we can run as-is to reproduce the problem here?
Thanks in advance.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

anauta2014
Newbie
Newbie
Posts: 48
Joined: Tue Apr 09, 2013 12:00 am

Re: TcolorGridSeries: GDI & GDI+ difference

Post by anauta2014 » Wed Oct 23, 2013 7:06 am

This the test
Attachments
testchart.zip
(48.45 KiB) Downloaded 775 times
With best regards
Vladimir

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TcolorGridSeries: GDI & GDI+ difference

Post by Yeray » Thu Oct 24, 2013 2:32 pm

Hi Vladimir,

I've tested this with XE5 and the latest beta version (130911) publicly available here and the actual internal sources we have here. I could reproduce the problem with your application and the beta; however I can't test it with the internal version so I made a Delphi version of the same application. This delphi version seems to reproduce the problem with the beta and not with the actual sources, so I'd expect this to be fixed with the next maintenance release.
beta.png
beta.png (49.63 KiB) Viewed 19127 times
actual_sources.png
actual_sources.png (19.19 KiB) Viewed 19126 times
testchartDelphi.zip
(2.15 KiB) Downloaded 747 times
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

anauta2014
Newbie
Newbie
Posts: 48
Joined: Tue Apr 09, 2013 12:00 am

Re: TcolorGridSeries: GDI & GDI+ difference

Post by anauta2014 » Fri Oct 25, 2013 6:09 am

Thank you, Yuray, it is actual for me, as I can't use in my application GDI+ with this bug.
With best regards
Vladimir

anauta2014
Newbie
Newbie
Posts: 48
Joined: Tue Apr 09, 2013 12:00 am

Re: TcolorGridSeries: GDI & GDI+ difference

Post by anauta2014 » Fri Oct 25, 2013 12:00 pm

Hi, Yeray
There is new bug with the latest TeeChart2013, also exists in beta.
Will try using this example (for GDI & GDI+) to print chart image:
On my HP printer the the printout is not the same as preview, bad annotation tool and very big size of axis fonts,
will check GDI and GDI+ modes, they have different printouts!
With best regards
Vladimir

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TcolorGridSeries: GDI & GDI+ difference

Post by Yeray » Wed Oct 30, 2013 9:00 am

Hi Vladimir,
anauta2014 wrote:it is actual for me, as I can't use in my application GDI+ with this bug.
I apologize. We are doing our best to get an stable version for all the supported IDEs and publish it asap. This is taking some time, and that's why we publish quite regularly.
anauta2014 wrote:There is new bug with the latest TeeChart2013, also exists in beta.
Will try using this example (for GDI & GDI+) to print chart image:
On my HP printer the the printout is not the same as preview, bad annotation tool and very big size of axis fonts,
will check GDI and GDI+ modes, they have different printouts!
We'll be glad to check it if you can tell us a simple way to reproduce it. And even better if you can check it also with that example I posted above compiled with the sources at 24/10, of course.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

anauta2014
Newbie
Newbie
Posts: 48
Joined: Tue Apr 09, 2013 12:00 am

Re: TcolorGridSeries: GDI & GDI+ difference

Post by anauta2014 » Wed Oct 30, 2013 11:51 am

Hi Yeray
I can reproduce this printout bug with my previous example for CBuilderXE5, (I have not DelphiXE5).
Simply you can press print button on TeeCommander in GDI+ mode, GDI mode has not this bug.
Print Preview is normal, but on paper there is a bug.
I've checked both examples(your and my) using RadStudioXE4, but with TeeChart2013forRadStudioXE4.exe,
its work fine for printout.
With best regards
Vladimir

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TcolorGridSeries: GDI & GDI+ difference

Post by Yeray » Thu Oct 31, 2013 4:07 pm

Hi Vladimir,

Can you check if with a virtual printer (ie CutePDF) the problem is still reproducible?
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

anauta2014
Newbie
Newbie
Posts: 48
Joined: Tue Apr 09, 2013 12:00 am

Re: TcolorGridSeries: GDI & GDI+ difference

Post by anauta2014 » Fri Nov 01, 2013 5:57 am

Hi, Yeray
Yes, sure, CutePDF has this wrong picture
Attachments
Chart1.zip
(10.7 KiB) Downloaded 699 times
With best regards
Vladimir

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

Re: TcolorGridSeries: GDI & GDI+ difference

Post by Narcís » Tue Nov 05, 2013 10:32 am

Hi Vladimir,

Thanks for your feedback. I could reproduce the issue here with our current sources and added it to the bug-list to be fixed for future 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

anauta2014
Newbie
Newbie
Posts: 48
Joined: Tue Apr 09, 2013 12:00 am

Re: TcolorGridSeries: GDI & GDI+ difference

Post by anauta2014 » Wed Nov 20, 2013 6:14 am

Hi Narcís
I've tested new maintence release for Builder XE5
Both bugs were fixed, thank you. (difference between GDI & GDI+ rendering and printout problem).

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

Re: TcolorGridSeries: GDI & GDI+ difference

Post by Narcís » Wed Nov 20, 2013 8:10 am

Hi Vladimir,

Excellent, you're welcome. Thanks for your feedback!
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