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 1

Summary: GDI+, speed penalty due to transparent Bitmap folder icons.
Product: VCL TeeChart Reporter: david berneda <david>
Component: TTreeAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: enhancement    
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description david berneda 2013-09-20 13:48:59 EDT
Default TTree icons are *.bmp resources that have to be adapted, applying transparency so the Tree background is visible under the icon.

VCL GDI does this automatically (Bitmap.Transparent:=True), but when using GDI+, this process must be done each time the icon is painted, instead of doing this once the icon is loaded from the resource.

The speed difference is quite high.

One solution will be maintaining two sets of icons, one for GDI and another for GDI+ in PNG format with Alpha transparency.

Alpha PNG pictures would not need this conversion and should paint equally fast in GDI+