Problem with GDI+ Redering...

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Steve Maughan
Newbie
Newbie
Posts: 48
Joined: Tue Aug 03, 2010 12:00 am

Problem with GDI+ Redering...

Post by Steve Maughan » Tue Nov 19, 2013 8:41 pm

Hi,

I've just upgraded to the latest version (Nov 19th) and I'm having some problems with the GDI+ rendering. Take a look here:

http://screencast.com/t/PwgsPpAoAj

Where am I going wrong?

My graphics card is an NVIDIA GeoForce GT 740M running on a HP Envy Laptop with Windows 8.1 64 bit.

I hope it's a quick fix!

Thanks,

Steve

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

Re: Problem with GDI+ Redering...

Post by Narcís » Wed Nov 20, 2013 9:58 am

Hi Steve,

This is a pretty serious issue. We couldn't reproduce it here though. Is your chart color set to clNone (Chart1.Color :=clNone)? Also, we are going to make some changes to TeeGDIPlus.pas and send it to you to check if it makes any difference.
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

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

Re: Problem with GDI+ Redering...

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

Hi Steve,
Narcís wrote:Is your chart color set to clNone (Chart1.Color :=clNone)?
Or are you using Chart1.ParentColor:=True?
Narcís wrote:Also, we are going to make some changes to TeeGDIPlus.pas and send it to you to check if it makes any difference.
We have also added the line below at the GDI+ canvas. This is a global variable set to False by default. Now it will force the background being erased in GDI+. I'll send you an email with TeeGDIPlus.pas with the mentioned modification. Can you please test if it solve the problem at your end? If it persists, it would be helpful if you could debug it to find the cause.

Code: Select all

TeeEraseBack:=True;
Thanks in advance.
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

Steve Maughan
Newbie
Newbie
Posts: 48
Joined: Tue Aug 03, 2010 12:00 am

Re: Problem with GDI+ Redering...

Post by Steve Maughan » Wed Nov 20, 2013 2:39 pm

Hi Narcis,

The problem still persists after the patch. ParentColor was initially set to "true" and Color was "clWindow".

Here's a video which take you through the problem:

http://www.youtube.com/watch?v=zJ5Opq1M5gM

I hope it can be fixed.

Thanks,

Steve

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

Re: Problem with GDI+ Redering...

Post by Narcís » Wed Nov 20, 2013 2:45 pm

Hi Steve,

Thanks for your feedback. I can not see the video because it's private.
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

Steve Maughan
Newbie
Newbie
Posts: 48
Joined: Tue Aug 03, 2010 12:00 am

Re: Problem with GDI+ Redering...

Post by Steve Maughan » Wed Nov 20, 2013 2:48 pm

Oops - sorry!

Try again and you should be able to see it,

Steve

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

Re: Problem with GDI+ Redering...

Post by Narcís » Thu Nov 21, 2013 10:18 am

Hi Steve,

Excellent, thanks. We could see your video and just sent you a fix proposal at TeeProcs. pas. Can you please check if it solves the issue for you?

Thanks in advance.
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

Steve Maughan
Newbie
Newbie
Posts: 48
Joined: Tue Aug 03, 2010 12:00 am

Re: Problem with GDI+ Redering...

Post by Steve Maughan » Thu Nov 21, 2013 1:55 pm

Thanks Narcis,

Unfortunately after copying the new file you sent, it won't compile.

Here's the log (also attached).

Steve

Code: Select all

===============================================
TeeChart Pro
Compilation started: 11/21/2013 8:34:37 AM
 
Win32 v18 (Delphi XE4 and C++Builder XE4 Update 1) ERROR
Tee918
Embarcadero Delphi for Win32 compiler version 25.0
Copyright (c) 1983,2013 Embarcadero Technologies, Inc.
85192 lines, 0.44 seconds, 938748 bytes code, 4520 bytes data.
--------------------------------------------------------------------------------
TeeUI918
Embarcadero Delphi for Win32 compiler version 25.0
Copyright (c) 1983,2013 Embarcadero Technologies, Inc.
78411 lines, 0.47 seconds, 609568 bytes code, 1364 bytes data.
--------------------------------------------------------------------------------
TeeDB918
Embarcadero Delphi for Win32 compiler version 25.0
Copyright (c) 1983,2013 Embarcadero Technologies, Inc.
8405 lines, 0.16 seconds, 88064 bytes code, 288 bytes data.
--------------------------------------------------------------------------------
TeePro918

Cannot recompile Delphi package: TeePro918.dpk
Embarcadero Delphi for Win32 compiler version 25.0
Copyright (c) 1983,2013 Embarcadero Technologies, Inc.
Error: E2161 Error: RLINK32: Unsupported 16bit resource in file "C:\Delphi XE4\Steema\TeeChart Pro 2013 Full Source Code\Sources\VCL\VCLTee.TeeDoubleHorizBarEditor.dfm"
EXCEPTION:
Compilation aborted.
--------------------------------------------

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

Re: Problem with GDI+ Redering...

Post by Narcís » Fri Nov 22, 2013 9:14 am

Hi Steve,

It might be that the error causing .dfm got corrupted for some unknown reason. Maybe an uncomplete TeeRecompile process. Could you please send us the C:\Delphi XE4\Steema\TeeChart Pro 2013 Full Source Code\Sources\VCL\VCLTee.TeeDoubleHorizBarEditor.dfm file so that we can investigate what went wrong?

Thanks in advance.
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

Steve Maughan
Newbie
Newbie
Posts: 48
Joined: Tue Aug 03, 2010 12:00 am

Re: Problem with GDI+ Redering...

Post by Steve Maughan » Fri Nov 22, 2013 11:18 am

Hi Narcis,

I've attached it.

Best regards,

Steve
Attachments
VCLTee.TeeDoubleHorizBarEditor.zip
(633 Bytes) Downloaded 823 times

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

Re: Problem with GDI+ Redering...

Post by Narcís » Fri Nov 22, 2013 12:36 pm

Hi Steve,

Thanks, that looks like a XML file that has nothing to do with the editor we would have expected. This might have been corrupted. You could try installing sources again and replacing relevant units with the files I sent.
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

Steve Maughan
Newbie
Newbie
Posts: 48
Joined: Tue Aug 03, 2010 12:00 am

Re: Problem with GDI+ Redering...

Post by Steve Maughan » Fri Nov 22, 2013 1:13 pm

Hi Narcvis,

That makes sense as I'm facing some hard disk and corrupt "cryptnet.dll" issues. I thought they were unrelated to this issue, and they may well be. I'm going to restore to factory setting today and over the weekend. I'll keep you posted.

Best regards,

Steve

Steve Maughan
Newbie
Newbie
Posts: 48
Joined: Tue Aug 03, 2010 12:00 am

Re: Problem with GDI+ Redering...

Post by Steve Maughan » Mon Nov 25, 2013 4:28 pm

Hi Narcis,

Everything works with the latest patch!!

Many thanks,

Steve

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

Re: Problem with GDI+ Redering...

Post by Narcís » Tue Nov 26, 2013 8:33 am

Hi Steve,

You're very welcome. We are glad to hear that.
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

zyma
Newbie
Newbie
Posts: 8
Joined: Thu Oct 17, 2013 12:00 am

Re: Problem with GDI+ Redering...

Post by zyma » Tue Nov 26, 2013 7:21 pm

We have the same problem. How can we get the latest patch ?

Post Reply