OEDrawMonomer

Attention

This is a preliminary API and may be improved based on user feedback. It is currently available in C++ and Python.

bool OEDrawMonomer(OEDepict::OEImageBase& image,
                   const OEChem::OEMonomer& monomer)

Draws a monomer highlighting its attachment points.

image

The image on which the monomer is drawn (OEImage).

monomer

The monomer being draw (OEMonomer).

Example:

../../_images/DrawMonomer.svg

Example of using OEDrawMonomer function

Code Example