OEAddWatermarkΒΆ

void OEAddWatermark(OEImageBase &image, const std::string &text,
                    double scale=1.0)
void OEAddWatermark(OE2DMolDisplay &disp, const std::string &text,
                    double scale=1.0)

Adds a watermark to an image or a molecule display.

text

The text of the watermark.

scale

The multiplier that can be used to increase or decrease the font size of the watermark text. This value has to be in the range of [0.5, 2.0].