OEDepict TK 2.2.0¶
New features¶
OEPrepareDepictionnow generates canonical depiction coordinates, i.e., the same 2D coordinates are generated regardless of the atom and bond ordering in the molecule. See the effect of this change in Table: Example of default element color changes.Example of generating depiction coordinates by the OEPrepareDepiction function¶ OEDepict TK 2.1.0
OEDepict TK 2.2.0
Added the following non-linear color gradient to OESystem:
These classes along with the OELinearColorGradient class now derive from the OEColorGradientBase base class.
OEAddHighlightingfunction overloads added that take both atom and bond predicates.OEAlignmentOptions.SetFixedCoordsmethod added that forces theOEPrepareAlignedDepictionfunction to use the coordinates in the reference molecule instead of depicting them from scratch.OE2DMolDisplayOptions.SetBondLineGapScalemethod added for changing the gap between the lines of double and triple bonds.OE2DMolDisplayOptions.SetBondLineAtomLabelGapScalemethod added for changing the gap between the atom labels and the end of the bond lines.
Minor bug fixes¶
OEStipple_NoLineandOEFill_Onpen fixed on Windows when drawing a pie.Refined the method that is used to calculate the gap between the atom labels and the lines of the bonds when there is a charge or there are more than 3 explicit hydrogen neighbors.
Additional warning messages are thrown when either the
OE3DToBondStereoor theOE3DToAtomStereofunctions fail duringOEPrepareDepiction.
Documentation changes¶
All images in the documentation were automatically regenerated to reflect the changes made since the previous release.
Added several code snippets to the
OERenderMoleculefunction.