# OEDrawHighlighting¶

void OEDrawHighlighting(OEImageBase &image, const OE2DMolDisplay &disp,
const OEHighlightBase &highlight,
const OEChem::OEAtomBondSet &abset)


Draws atom and bond highlighting into the image.

image
The image in which the highlighing is drawn.
disp
The OE2DMolDisplay object of which atoms add/or bonds being highlighted.
highlight
The OEHighlightBase object that specifies the style of the highlighting.
abset
Stores the atoms and bonds being highlighted.

Note

This function renders the highlighting into an image rather than into the molecule display as does the OEAddHighlighting function. Since this function does not change the molecule display it is not available for the OEHighlightByColor highlighting style.