Re: [Rdkit-devel] Enhancements to the 2D drawing API

2015-01-28 Thread Greg Landrum
Hi Igor, The new functions are: virtual void drawPolygon( const std::vector > &cds ) = 0; virtual void drawEllipse( const std::pair &cds1 ,const std::pair &cds2 ); I've done drawPolygon() already but haven't tested it. The second does not *need* to be implemented (there is code that simulates it

Re: [Rdkit-devel] Enhancements to the 2D drawing API

2015-01-28 Thread Igor Filippov
Greg, Sure, no problem - I have a code for PNG drawer already, I can get it to you. Are there prototypes (declarations) for the new functions already available? If so, I can take a look how easy it is to translate to wxWidgets api. Igor On Wed, Jan 28, 2015 at 12:17 AM, Greg Landrum wrote: > D

[Rdkit-devel] Enhancements to the 2D drawing API

2015-01-27 Thread Greg Landrum
Dear all, I created an issue to track some enhancements I want to make to the C++ 2D drawing API: https://github.com/rdkit/rdkit/issues/417 I'm doing the changes themselves on this branch; https://github.com/rdkit/rdkit/tree/Issue417 Here's the current state: - [x] add drawPolygon() Mandatory i