15#ifndef RDKIT_STRINGRECT_H
16#define RDKIT_STRINGRECT_H
21namespace MolDraw2D_detail {
56 double padding)
const {
bool rdvalue_is(const RDValue_cast_t)
StringRect(const Point2D &offset, const Point2D &g_centre, double w, double h)
bool doesItIntersect(const StringRect &other, double padding=0.0) const
bool isPointInside(const Point2D &pt, double padding=0.0) const
void calcCorners(Point2D &tl, Point2D &tr, Point2D &br, Point2D &bl, double padding) const
void calcCentre(Point2D &c) const