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 - XOR for the GDIPlus Canvas.Polyline
Summary: XOR for the GDIPlus Canvas.Polyline
Status: CONFIRMED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Canvas (show other bugs)
Version: 140220
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL: http://www.teechart.net/support/viewt...
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-12 11:08 EDT by yeray alonso
Modified: 2014-08-12 11:08 EDT (History)
0 users

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


Attachments
XOR in GDIPlus example (2.02 KB, application/octet-stream)
2014-08-12 11:08 EDT, yeray alonso
Details

Note You need to log in before you can comment on or make changes to this bug.
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.