Page 1 of 2

Problem with GDI+ Redering...

Posted: Tue Nov 19, 2013 8:41 pm
by 16556683
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

Re: Problem with GDI+ Redering...

Posted: Wed Nov 20, 2013 9:58 am
by narcis
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.

Re: Problem with GDI+ Redering...

Posted: Wed Nov 20, 2013 10:41 am
by narcis
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.

Re: Problem with GDI+ Redering...

Posted: Wed Nov 20, 2013 2:39 pm
by 16556683
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

Re: Problem with GDI+ Redering...

Posted: Wed Nov 20, 2013 2:45 pm
by narcis
Hi Steve,

Thanks for your feedback. I can not see the video because it's private.

Re: Problem with GDI+ Redering...

Posted: Wed Nov 20, 2013 2:48 pm
by 16556683
Oops - sorry!

Try again and you should be able to see it,

Steve

Re: Problem with GDI+ Redering...

Posted: Thu Nov 21, 2013 10:18 am
by narcis
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.

Re: Problem with GDI+ Redering...

Posted: Thu Nov 21, 2013 1:55 pm
by 16556683
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.
--------------------------------------------

Re: Problem with GDI+ Redering...

Posted: Fri Nov 22, 2013 9:14 am
by narcis
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.

Re: Problem with GDI+ Redering...

Posted: Fri Nov 22, 2013 11:18 am
by 16556683
Hi Narcis,

I've attached it.

Best regards,

Steve

Re: Problem with GDI+ Redering...

Posted: Fri Nov 22, 2013 12:36 pm
by narcis
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.

Re: Problem with GDI+ Redering...

Posted: Fri Nov 22, 2013 1:13 pm
by 16556683
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

Re: Problem with GDI+ Redering...

Posted: Mon Nov 25, 2013 4:28 pm
by 16556683
Hi Narcis,

Everything works with the latest patch!!

Many thanks,

Steve

Re: Problem with GDI+ Redering...

Posted: Tue Nov 26, 2013 8:33 am
by narcis
Hi Steve,

You're very welcome. We are glad to hear that.

Re: Problem with GDI+ Redering...

Posted: Tue Nov 26, 2013 7:21 pm
by 16567597
We have the same problem. How can we get the latest patch ?