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 883

Summary: XOR for the GDIPlus Canvas.Polyline
Product: VCL TeeChart Reporter: yeray alonso <yeray>
Component: CanvasAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: enhancement    
Priority: ---    
Version: 140220   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
URL: http://www.teechart.net/support/viewtopic.php?f=3&t=15127
Chart Series: --- Delphi / C++ Builder RAD IDE Version:
Attachments: XOR in GDIPlus example

Description yeray alonso 2014-08-12 11:08:48 EDT
Created attachment 261 [details]
XOR in GDIPlus example

Add a Polyline function in GDIPlus that can XOR to remove the polyline previously drawn.

We are using an internal GDI Canvas (IXORCanvas) in GDIPlus to draw both the Zoom rectangle and the DrawLineTool.

There's also a Polygon function in GDIPlus that uses this IXORCanvas, but this function closes the array of points.

If the can't have a Polyline function with GDIPlus and AntiAlias, maybe the only way to go would be to have a Polyline function in GDIPlus calling IXORCanvas.