OEDepict TK 2.3.6¶
New features¶
The following API has been added to increase the reporting capabilities of OEDepict TK:
OEImageTable class
OEImageTableOptions class
OEImageTableStyle
namespace
The following API has been added to render labels associated with certain parts of the depicted molecule:
OEHighlightLabel class
OEAddLabel
function
A new function,
OEDrawText
, has been added.The constructor of the
OEHighlightByLasso
class now takes a parameter that determines the width of the “lasso” used for highlighting. The correspondingGetLineWidthScale
andSetLineWidthScale
methods have been added.A new constructor has been added to the
OEImageFrame
class that generates a new image with equal padding around it.A new function,
OEWriteReportPageByPage
, has been added.A new constructor has been added to the
OE2DPath
class that copies and rotates an already existing path.
Preliminary API - New Functionalities¶
A new overload of the function
OEAddSVGClickEvent
has been added that allows associating any OESVGGroup object with an SVG click event.A new Preliminary API has been added to generate and access built-in visibility SVG classes (OESVGClass):
A new Preliminary API has been added to mark up the atoms in SVG images generated by the
OERenderMolecule
function:A new constant,
OELayerPosition::SVG
, has been added to theOELayerPosition
namespace.The following virtual methods have been added to the OEImageFileBase class:
A new method,
OESVGGroup::IsVisible
, has been added.
Preliminary API - API Changes¶
The atom and bond display parameters of the following functions are no longer
const
:
Major bug fixes¶
Objects that have been drawn in hidden SVG groups are no longer visible in other image file formats. For example, when adding hover text to atoms (using the
OEDrawSVGHoverText
function), the text will only be visible in SVG images when the mouse is moved over a displayed atom. If the image is written into any other image file format, the hover text is no longer visible.2017.Jun
2017.Oct
When generating interactive SVG images, hover text (
OEDrawSVGToggleText
) and click events (OEAddSVGClickEvent
) can both be added to atoms and bonds.
Minor bug fixes¶
The Ogham API, deprecated since 2014, is no longer available.
Documentation changes¶
A new section, Depicting Molecules in a Table, has been added.