Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 813 - Brush.Style bsClear does not work in GDI
Summary: Brush.Style bsClear does not work in GDI
Status: CONFIRMED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Canvas (show other bugs)
Version: 140512
Hardware: PC Windows
: --- critical
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-25 15:13 EDT by ASkrobek
Modified: 2014-06-26 05:34 EDT (History)
1 user (show)

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ASkrobek 2014-06-25 15:13:58 EDT
The following code draws text with non-transparent background in current version in TChart in GDI mode.

procedure TForm1.Button1Click(Sender: TObject);
begin
   Chart1.Canvas.Font.Brush.Style := bsClear;
   Chart1.Canvas.Font.Color := clRed;
   Chart1.Canvas.TextOut(100, 110, 'Test');
end;

In previous production version of TChart it did work correctly (i.e. the text had transparent background).
Current version of TChart in GDI+ mode seem to render the text with transparent background. We need to use GDI and not GDI+.